Difference between revisions of "Template:Navbox"
From Machina Main Cluster Official Wiki
m (Reverted edits by CorruptedX (talk) to last revision by [[User:test>Porplemontage|test>Porplemontage]]) Tag: Rollback |
|||
| Line 10: | Line 10: | ||
! style="border-left:2px solid #fdfdfd;width:100%;|<nowiki/> | ! style="border-left:2px solid #fdfdfd;width:100%;|<nowiki/> | ||
! style="}}{{{basestyle|}}};{{{titlestyle|}}}" colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}} class="navbox-title {{#if:{{{titleclass|}}}|{{{titleclass}}}}}" {{!}} {{#if:{{#switch:{{{navbar|}}}|plain|off=1}} {{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}| {{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<div class="nomobile navspace-big" style="float:right;width:6em"> </div>}}| {{#ifeq:{{{state|}}}|plain||<div class="nomobile navspace-big" style="float:left;width:6em;text-align:left"> </div>}}}}| <div class="nomobile navspace-big" style="float:left;width:6em;text-align:left"> {{Tnavbar|{{{name}}}|fontstyle={{{basestyle|}}};{{{titlestyle|}}};border:none;|mini=1}} </div>{{#ifeq:{{{state|}}}|plain|<div class="nomobile navspace-big" style="float:right;width:6em"> </div>|<div class="nomobile navspace-small" style="float:right;width:2.35em"> </div>}}}} <span style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%"> {{{title}}}</span> }}<!-- | ! style="}}{{{basestyle|}}};{{{titlestyle|}}}" colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}} class="navbox-title {{#if:{{{titleclass|}}}|{{{titleclass}}}}}" {{!}} {{#if:{{#switch:{{{navbar|}}}|plain|off=1}} {{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}| {{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<div class="nomobile navspace-big" style="float:right;width:6em"> </div>}}| {{#ifeq:{{{state|}}}|plain||<div class="nomobile navspace-big" style="float:left;width:6em;text-align:left"> </div>}}}}| <div class="nomobile navspace-big" style="float:left;width:6em;text-align:left"> {{Tnavbar|{{{name}}}|fontstyle={{{basestyle|}}};{{{titlestyle|}}};border:none;|mini=1}} </div>{{#ifeq:{{{state|}}}|plain|<div class="nomobile navspace-big" style="float:right;width:6em"> </div>|<div class="nomobile navspace-small" style="float:right;width:2.35em"> </div>}}}} <span style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%"> {{{title}}}</span> }}<!-- | ||
| − | + | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{!}}} }}</includeonly><noinclude> | {{!}}} }}</includeonly><noinclude> | ||
== State usage == | == State usage == | ||
Revision as of 23:58, 25 August 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.