Template:Navbox/box doc: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
(create)
 
mNo edit summary
 
Line 9: Line 9:
{{{params}}}
{{{params}}}
}}
}}
{{#ifeq:{{SUBPAGENAME}}|doc||[[Category:Navbox templates]]}}</includeonly><noinclude>
{{#ifeq:{{SUBPAGENAME}}|doc||[[Category:Navbox templates]]}}</includeonly><noinclude>{{documentation}}</noinclude>
{{documentation}}</noinclude>

Latest revision as of 14:25, 16 July 2025

Documentation [edit]

This template is used to automatically generate documentation for navbox templates using Template:Navbox. It will also add the template page to Category:Navbox templates. The documentation page still needs to use {{documentation subpage}} manually.

Parameters

  • params - (optional) any additional parameters specific to this template, other than "state".
  • state - the default state of the navbox (affects the documentation, not the template). Defaults to "expanded".
  • nostate - define this parameter if the template does not pass through the "state" parameter (i.e. pages using the template cannot change the default state).
  • notes - (optional) any additional notes on usage of the template.

The above documentation is transcluded from Template:Navbox/box doc/doc.