Template:Navbox: Difference between revisions
From Destinypedia, the Destiny wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{{!}} class="navbox" cellspacing="0" style="{{{bodystyle|}}};{{{style|}}}" | {{{!}} class="navbox" cellspacing="0" style="{{{bodystyle|}}};{{{style|}}}" | ||
{{!}}- | {{!}}- | ||
{{!}} style="padding:2px | {{!}} style="padding:2px" {{!}} }} | ||
{{{!}} cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|open|show=mw-collapsible|auto|autocollapse=mw-collapsible autocollapse|#default=mw-collapsible mw-collapsed}}}} {{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=navbox-subgroup" style="width:100%;{{{bodystyle|}}};{{{style|}}}|#default=" style="width:100%;background:transparent;color:inherit}};{{{innerstyle|}}} | {{{!}} cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|open|show=mw-collapsible|auto|autocollapse=mw-collapsible autocollapse|#default=mw-collapsible mw-collapsed}}}} {{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=navbox-subgroup" style="width:100%;{{{bodystyle|}}};{{{style|}}}|#default=" style="width:100%;background:transparent;color:inherit}};{{{innerstyle|}}}" <!-- | ||
--- Title and navbar --- | --- Title and navbar --- | ||
-->{{#if:{{{title|}}}|<nowiki/> | -->{{#if:{{{title|}}}|<nowiki/> | ||
Line 12: | Line 12: | ||
--- Above --- | --- Above --- | ||
-->{{#if:{{{above|}}}| {{#if:{{{title|}}}|<nowiki/> | -->{{#if:{{{above|}}}| {{#if:{{{title|}}}|<nowiki/> | ||
{{!}}- style="height:2px | {{!}}- style="height:2px" | ||
{{!}} }} | {{!}} }} | ||
{{!}}- | {{!}}- | ||
Line 18: | Line 18: | ||
--- First group/list and images --- | --- First group/list and images --- | ||
-->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|<nowiki/> | -->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|<nowiki/> | ||
{{!}}- style="height:2px | {{!}}- style="height:2px" | ||
{{!}} }} | {{!}} }} | ||
{{!}}-<!-- | {{!}}-<!-- | ||
Line 40: | Line 40: | ||
-->{{#if:{{{below|}}}|<!-- | -->{{#if:{{{below|}}}|<!-- | ||
-->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<nowiki/> | -->{{#if:{{{title|}}}{{{above|}}}{{{list1|}}}{{{list2|}}}{{{list3|}}}|<nowiki/> | ||
{{!}}- style="height:2px | {{!}}- style="height:2px" | ||
{{!}} }} | {{!}} }} | ||
{{!}}- | {{!}}- |
Revision as of 18:25, February 12, 2021
|
State usage
These are guidelines for the state
parameter:
|state=collapsed
- The table is collapsible and collapsed (default).|state=open
- The table is collapsible and not collapsed.|state=auto
- The table is collapsible and will collapse if multiple boxes are present.|state=plain
- The table is not collapsible.