Template:Navbox: Difference between revisions
From Destinypedia, the Destiny wiki
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group1style|}}}" {{!}} <div style="padding:{{{group1padding|{{{grouppadding|0.1em 0.25em 0}}}}}}">{{{group1}}}</div> | {{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group1style|}}}" {{!}} <div style="padding:{{{group1padding|{{{grouppadding|0.1em 0.25em 0}}}}}}">{{{group1}}}</div> | ||
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/> | {{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/> | ||
{{!}} colspan=2 style="}} width:100%;padding:0;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}" {{!}} <div style="padding:{{{list1padding|{{{listpadding|0.1em 0.25em 0}}}}}}">{{{list1|}}}</div><!-- | {{!}} colspan=2 style="}} width:100%;padding:0 !important;{{{liststyle|}}};{{{oddstyle|}}};{{{list1style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|even|{{{evenodd|odd}}}}}" {{!}} <div style="padding:{{{list1padding|{{{listpadding|0.1em 0.25em 0}}}}}}"> | ||
{{{list1|}}}</div><!-- | |||
-->{{#if:{{{image|}}}|<nowiki/> | -->{{#if:{{{image|}}}|<nowiki/> | ||
{{!}} style="width:0%;padding:0 0 0 2px;{{{imagestyle|}}}" rowspan={{#expr:1{{#forargs:list|key|value|{{#ifeq:{{#expr:{{#len:{{#var:key}}}}<5}}|1|{{#ifeq:{{#var:key}}|1||{{#if:{{{list{{#var:key}}|}}}|+2}}}}}}}}}} {{!}} {{{image|}}} }} }}<!-- | {{!}} style="width:0%;padding:0 0 0 2px;{{{imagestyle|}}}" rowspan={{#expr:1{{#forargs:list|key|value|{{#ifeq:{{#expr:{{#len:{{#var:key}}}}<5}}|1|{{#ifeq:{{#var:key}}|1||{{#if:{{{list{{#var:key}}|}}}|+2}}}}}}}}}} {{!}} {{{image|}}} }} }}<!-- | ||
Line 36: | Line 37: | ||
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group{{#var:key}}style|}}}" {{!}} <div style="padding:{{{grouppadding|0.1em 0.25em 0}}}">{{{group{{#var:key}}}}}</div> | {{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group{{#var:key}}style|}}}" {{!}} <div style="padding:{{{grouppadding|0.1em 0.25em 0}}}">{{{group{{#var:key}}}}}</div> | ||
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/> | {{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/> | ||
{{!}} colspan=2 style="}} width:100%;padding:0;{{{liststyle|}}};{{{evenstyle|}}};{{{list{{#var:key}}style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0.1em 0.25em 0}}}">{{#var:value}}}}</div>}}}}}}<!-- | {{!}} colspan=2 style="}} width:100%;padding:0 !important;{{{liststyle|}}};{{{evenstyle|}}};{{{list{{#var:key}}style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0.1em 0.25em 0}}}"> | ||
{{#var:value}}}}</div>}}}}}}<!-- | |||
--- Below --- | --- Below --- | ||
-->{{#if:{{{below|}}}|<!-- | -->{{#if:{{{below|}}}|<!-- |
Revision as of 17:56, May 16, 2022
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.