Home  

Random  

Nearby  



Log in  



Settings  



Donate  



About Wikipedia  

Disclaimers  



Wikipedia





Template:Navbox documentation: Difference between revisions





Template  

Talk  



Language  

Watch  

View history  

View source  






Browse history interactively
 Previous editNext edit 
Content deleted Content added
VisualWikitext
Sdkb (talk | contribs)
79,473 edits
Further clarification notice
add parameter "nobase" to pass through to Template:Collapsible option
(18 intermediate revisions by 9 users not shown)
Line 1:
<div style="border: 2px dashed #666666;"><div style="margin: 3em;"><onlyinclude>{{documentation
| 1 = Template:Navbox documentation | content =
{{{2hatnotes|}}}
<noinclude>{{notice|'''This documentation block is what this template displays''' (sans this notice). For the documentation of this template itself, see the second block below.}}</noinclude>{{Template display|nomobile}}
{{Template display|nomobile}}
{{{2|}}}
{{{intro|{{{2|}}}}}}
This is a [[Wikipedia:Navigation template|navigational template]] created using {{tl|navbox}}. It can be [[Help:Transclusion|transcluded]] on pages by placing <code><nowiki>{{</nowiki>{{{template|{{PAGENAME}}}}}<nowiki>}}</nowiki></code> below the [[Wikipedia:Manual of Style/Layout#Standard appendices and footers|standard article appendices]].
{{#if:{{{stateless|}}}||==Initial visibility==
==Initial visibility==
{{Collapsible option|parameter_name={{{parameter_name|state}}}|default={{{1|{{{state|autocollapse}}}}}}|nobase={{{nobase|}}}}}
 
{{Navbox visibility}}
{{#if:{{{stateless|}}}||==Initial visibility==
{{Collapsible option|parameter_name={{{parameter_name|state}}}|default={{{1|{{{state|autocollapse}}}}}}}}
 
==TemplateData==
Line 20 ⟶ 23:
"autocollapse"
],
"suggested": true,
"type": "string",
}
},
Line 27 ⟶ 31:
</templatedata>
}}
==Template transclusions==
{{Check completeness of transclusions}}
 
{{{3|}}}
}}</onlyinclude></div></div><noinclude>
{{Documentation}}
{{documentation|content=
<!-- Add categories to the /doc subpage -->
{{notice|The stuff in the box above is the documentation that this template produces. '''This is the documentation for {{t|Navbox documentation}}''', i.e. the documentation for the documentation.}}
== Explanation ==
This is a wrapper for {{tl|Collapsible option}} to provide a semblance of documentation for navbox templates. The <nowiki>{{Collapsible option}}</nowiki> template can be suppressed with {{para|stateless|yes}}.
__NOTOC__
{{Collapsible option/doc}}
== TemplateData ==
<templatedata>
{
"params": {
"2": {
"label": "Top content",
"description": "Hatnotes, Usage, etc. (above {{collapsible option}} but below {{Template display|nomobile}})",
"type": "content"
},
"3": {
"label": "Content",
"description": "TemplateData, See also, etc. (below {{collapsible option}})",
"type": "content"
},
"state": {
"aliases": [
"1"
],
"label": "State",
"description": "Set to either: (1) expand, (2) collapse, or (3) autocollapse",
"example": "collapse",
"type": "boolean",
"default": "autocollapse",
"suggested": true
},
"template": {
"label": "Template",
"description": "To call the template anything other than {{PAGENAME}} within the documentation",
"type": "string",
"autovalue": "{{PAGENAME}}"
},
"stateless": {
"label": "Stateless",
"description": "Hides the {{Collapsible option}} transclusion for when the navbox doesn't support a state.",
"example": "yes",
"autovalue": "yes"
}
},
"description": "This is a wrapper for {{Collapsible option}} to provide a semblance of documentation for navbox templates."
}
</templatedata>
}}
{{Sandbox other||
[[Category:Navbox meta-templates|Δ]]
[[Category:Documentation shared content templates]]
}}
</noinclude>

Retrieved from "https://en.wikipedia.org/wiki/Template:Navbox_documentation"
 




Languages

 



This page is not available in other languages.
 

Wikipedia




Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Terms of Use

Desktop