Template:Development nav: Difference between revisions
From VNDev Wiki
created 'visual novel features' section as discussed in the discord |
m "category" is confusing bc it doesn't actually put the page in the category. changed to "section" |
||
(2 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
|list1= {{Navbox|child | |list1= {{Navbox|child | ||
|name= Asset subnav | |name= Asset subnav | ||
|title= [[Narrative|Narrative assets]] | |title= | ||
* [[Narrative|Narrative assets]] | |||
* [[Art]] | |||
* [[Audio]] | |||
* [[Programming]] | |||
* [[User Experience]] | |||
* [[Marketing]] | |||
|navbar= off | |navbar= off | ||
|state={{#switch: {{{section|}}} | |||
| asset | |||
| assets | |||
| Asset | |||
| Assets =mw-uncollapsed | |||
| default mw-collapsed}} | |||
|bodystyle= width:100% | |bodystyle= width:100% | ||
|titlestyle= text-align:left; font-weight:normal; padding-left: 0.25em; font-size: 88% | |titlestyle= text-align:left; font-weight:normal; padding-left: 0.25em; font-size: 88% | ||
Line 74: | Line 88: | ||
|list2= {{Navbox|child | |list2= {{Navbox|child | ||
|name= Features subnav | |name= Features subnav | ||
|title= [[Narrative features]] | |title= | ||
* [[Narrative features]] | |||
* [[Gameplay]] | |||
* [[Accessibility]] | |||
|navbar= off | |navbar= off | ||
|state={{#switch: {{{section|}}} | |||
| feature | |||
| features | |||
| Feature | |||
| Features =mw-uncollapsed | |||
| default mw-collapsed}} | |||
|bodystyle= width:100% | |bodystyle= width:100% | ||
|titlestyle= text-align:left; font-weight:normal; padding-left: 0.25em; font-size: 88% | |titlestyle= text-align:left; font-weight:normal; padding-left: 0.25em; font-size: 88% |
Latest revision as of 13:53, 18 December 2024
|
Usage
For most pages, simply transclude the template with no parameters: {{development nav}}
If a page is located in one of the collapsible sections (currently Assets and Features), add a "section" parameter to ensure that the appropriate section is made uncollapsed by default: {{development nav|section=assets}}
.
For editor convenience, accepted values for section
are:
asset
assets
Asset
Assets
feature
features
Feature
Features
The above documentation is transcluded from Template:Development nav/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |