Template:Navbox: Difference between revisions
From Wikizilla, the kaiju encyclopedia
Jump to navigationJump to search
Titanollante (talk | contribs) No edit summary |
(show/hide) |
||
Line 3: | Line 3: | ||
{{!}}- | {{!}}- | ||
{{!}} style="padding:0px;" {{!}} }} | {{!}} style="padding:0px;" {{!}} }} | ||
{{{!}} cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|#default=mw-collapsible {{#if:{{{state|}}}|{{{state|}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=navbox-subgroup" style="width:100%;{{{bodystyle|}}};{{{style|}}}|#default=" style="width:100%;background:transparent;}};{{{innerstyle|}}};" <!-- | {{{!}} cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|#default=mw-collapsible {{#if:{{{state|}}}|{{{state|}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=navbox-subgroup" style="width:100%;{{{bodystyle|}}};{{{style|}}}|#default=" style="width:100%;background:transparent;}};{{{innerstyle|}}};" data-collapsetext="hide" data-expandtext="show" <!-- | ||
Revision as of 02:11, 20 May 2019
|
Usage
Template:Navbox is a general purpose navigation template. Colours are fully customisable.
{{Navbox |navbar =off |title = |style =background: transparent; |titlestyle =background: # |groupstyle =background: # |group1 = |list1 = |group2 = |list2 = |group3 = |list3 = ... |group20 = |list20 = }}
If you wish to include subgroups, use the following code
{{Navbox |navbar =off |title = |style =background: transparent; |titlestyle =background: # |groupstyle =background: # {{Navbox subgroup |group1 = |list1 = |group2 = |list2 = }} ... |group20 = |list20 = }}