Template:Development nav: Difference between revisions
From VNDev Wiki
got semi-auto-uncollapsing sections working - i think? |
m "category" is confusing bc it doesn't actually put the page in the category. changed to "section" |
||
Line 21: | Line 21: | ||
|navbar= off | |navbar= off | ||
|state={{#switch: {{{ | |state={{#switch: {{{section|}}} | ||
| asset | | asset | ||
| assets | | assets | ||
Line 94: | Line 94: | ||
|navbar= off | |navbar= off | ||
|state={{#switch: {{{ | |state={{#switch: {{{section|}}} | ||
| feature | | feature | ||
| features | | features |
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. |