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: {{{category|}}}
|state={{#switch: {{{section|}}}
| asset
| asset
| assets
| assets
Line 94: Line 94:
|navbar= off
|navbar= off


|state={{#switch: {{{category|}}}
|state={{#switch: {{{section|}}}
| feature
| feature
| features
| features

Latest revision as of 13:53, 18 December 2024

Documentation icon Template documentation [view] [edit] [purge]

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