Template:Navbox: Difference between revisions
DansFriend (talk | contribs) mNo edit summary Tag: Manual revert |
DansFriend (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
-->class="navbox" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!-- | -->class="navbox" style="border-spacing:0;{{{bodystyle|}}};{{{style|}}}"><tr><td style="padding:2px;">}}<!-- | ||
--><table cellspacing="0" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!-- | --><table cellspacing="0" width="100%" class="nowraplinks {{{bodyclass|}}} {{#if:{{{title|}}}|{{#switch:{{{state|}}}|<!-- | ||
-->plain|off=|#default=mw-collapsible {{#if:{{{state|}}}|{{{state}}}|mw-collapsed}}}}}} {{#switch:{{{border|{{{1|}}}}}}|<!-- | -->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|}}}|<!-- |
Revision as of 18:32, 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?)