Template:Navbox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - ":0px" to ":0") |
m (Text replacement - "{{{list1padding|{{{listpadding|0em 0.25em" to "{{{list1padding|{{{listpadding|0.1em 0.25em") |
||
Line 26: | Line 26: | ||
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group1style|}}}" {{!}} {{{group1}}} | {{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group1style|}}}" {{!}} {{{group1}}} | ||
{{!}} 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| | {{!}} 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}}}}}}">{{{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|}}} }} }}<!-- |
Revision as of 17:36, August 30, 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.