Template:Navbox: Difference between revisions
DansFriend (talk | contribs) mNo edit summary Tags: Manual revert Reverted |
DansFriend (talk | contribs) mNo edit summary Tag: Manual revert |
||
Line 7: | Line 7: | ||
--><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!-- | --><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!-- | ||
-->plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state}}}| | -->plain|off=|#default=mw-collapsible {{#if:{{{state|}}}|{{{state}}}|mw-collapsed}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!-- | ||
-->subgroup|child|none=navbox-subgroup" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}|<!-- | -->subgroup|child|none=navbox-subgroup" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}|<!-- | ||
-->#default=navbox-inner" style="border-spacing:0;background:transparent;color:inherit}};{{{innerstyle|}}};"><!-- | -->#default=navbox-inner" style="border-spacing:0;background:transparent;color:inherit}};{{{innerstyle|}}};"><!-- |
Revision as of 17:37, 27 October 2022
About this template
This template can be used to create navigational boxes to be placed at the end of articles.
Usage
Please remove unused (blank) parameters.
{{Navbox | name = | state = | title = | bodyclass = hlist | group1 = | list1 = | group2 = | list2 = | group3 = | list3 = }}
Example
The following code:
{{Navbox | name = | state = | title = Example | bodyclass = hlist | group1 = Example | list1 = * Example * Example | group2 = Example | list2 = * Example * Example * Example }}
Produces the following result:
|
Visit Template:Navbox/doc to edit this text! (How does this work?)