Template:Navbox/core: Difference between revisions
From FSDeveloper Wiki
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{{!}} class="navbox {{#ifeq:{{{state|}}}|plain||collapsible {{{state|autocollapse}}}}} nowraplinks" style="margin:auto; {{#ifeq:{{{nogroups|}}}|true|{{#if:{{{l1|}}}|{{#if:{{{l2|}}}|background:white;}}}}|background:white;}} {{{bodystyle|}}}"<!-- | |||
---Titlebar--- | ---Titlebar--- | ||
--> | -->{{!}}--{{!}} colspan="{{{span|1}}}" style="text-align:center;width:100%;{{{titlestyle|}}}"<!-- | ||
-->{{#ifeq:{{{navbar|}}}|plain||<div style="float:left; width:6em; text-align:left;">{{Tnavbar| {{{name<noinclude>|Navbox</noinclude>}}}|fontstyle={{{titlestyle|}}};border:none;|mini=1}}</div>}}<span style="font-size:110%;">{{{title}}}</span><!-- | -->{{#ifeq:{{{navbar|}}}|plain||<div style="float:left; width:6em; text-align:left;">{{Tnavbar| {{{name<noinclude>|Navbox</noinclude>}}}|fontstyle={{{titlestyle|}}};border:none;|mini=1}}</div>}}<span style="font-size:110%;">{{{title}}}</span><!-- | ||
---Above (optional)--- | ---Above (optional)--- | ||
-->{{#if:{{{above|}}}| | -->{{#if:{{{above|}}}|{{!}}-{{!}} style="text-align:center;{{{abovestyle|}}}" colspan="{{{span|1}}}" {{{above|}}}}}<!-- | ||
---First group and image(s)--- | ---First group and image(s)--- | ||
-->{{#if:{{{l1|}}}| | -->{{#if:{{{l1|}}}|{{!}}-<!-- | ||
-->{{#if:{{{imageleft|}}}|{{#ifeq:{{{nogroups|}}}|true| | -->{{#if:{{{imageleft|}}}|{{#ifeq:{{{nogroups|}}}|true|{{!}} rowspan="{{{imagespan|}}}" style="vertical-align:middle; padding-right:7px; width:0%;" {{!}} {{{imageleft}}}}}}}<!-- | ||
-->{{#if:{{{g1|}}}| | -->{{#if:{{{g1|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g1|}}}}}{{!}} colspan="{{#if:{{{g1|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g1|}}}|left|center}};{{{os|}}}" {{!}} {{{l1|}}}<!-- | ||
-->{{#if:{{{image|}}}| | -->{{#if:{{{image|}}}|{{!}} rowspan="{{{imagespan|}}}" style="vertical-align:middle; padding-left:7px; width:0%;" {{!}} {{{image}}}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
---Remaining groups--- | ---Remaining groups--- | ||
-->{{#if:{{{l2|}}}| | -->{{#if:{{{l2|}}}|{{!}}-{{#if:{{{g2|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g2|}}}}}{{!}} colspan="{{#if:{{{g2|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g2|}}}|left|center}};{{{es|}}}" {{!}} {{{l2|}}}}}<!-- | ||
-->{{#if:{{{l3|}}}| | -->{{#if:{{{l3|}}}|{{!}}-{{#if:{{{g3|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g3|}}}}}{{!}} colspan="{{#if:{{{g3|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g3|}}}|left|center}};{{{os|}}}" {{!}} {{{l3|}}}}}<!-- | ||
-->{{#if:{{{l4|}}}| | -->{{#if:{{{l4|}}}|{{!}}-{{#if:{{{g4|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g4|}}}}}{{!}} colspan="{{#if:{{{g4|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g4|}}}|left|center}};{{{es|}}}" {{!}} {{{l4|}}}}}<!-- | ||
-->{{#if:{{{l5|}}}| | -->{{#if:{{{l5|}}}|{{!}}-{{#if:{{{g5|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g5|}}}}}{{!}} colspan="{{#if:{{{g5|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g5|}}}|left|center}};{{{os|}}}" {{!}} {{{l5|}}}}}<!-- | ||
-->{{#if:{{{l6|}}}| | -->{{#if:{{{l6|}}}|{{!}}-{{#if:{{{g6|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g6|}}}}}{{!}} colspan="{{#if:{{{g6|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g6|}}}|left|center}};{{{es|}}}" {{!}} {{{l6|}}}}}<!-- | ||
-->{{#if:{{{l7|}}}| | -->{{#if:{{{l7|}}}|{{!}}-{{#if:{{{g7|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g7|}}}}}{{!}} colspan="{{#if:{{{g7|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g7|}}}|left|center}};{{{os|}}}" {{!}} {{{l7|}}}}}<!-- | ||
-->{{#if:{{{l8|}}}| | -->{{#if:{{{l8|}}}|{{!}}-{{#if:{{{g8|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g8|}}}}}{{!}} colspan="{{#if:{{{g8|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g8|}}}|left|center}};{{{es|}}}" {{!}} {{{l8|}}}}}<!-- | ||
-->{{#if:{{{l9|}}}| | -->{{#if:{{{l9|}}}|{{!}}-{{#if:{{{g9|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g9|}}}}}{{!}} colspan="{{#if:{{{g9|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g9|}}}|left|center}};{{{os|}}}" {{!}} {{{l9|}}}}}<!-- | ||
-->{{#if:{{{l10|}}}| | -->{{#if:{{{l10|}}}|{{!}}-{{#if:{{{g10|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g10|}}}}}{{!}} colspan="{{#if:{{{g10|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g10|}}}|left|center}};{{{es|}}}" {{!}} {{{l10|}}}}}<!-- | ||
-->{{#if:{{{l11|}}}| | -->{{#if:{{{l11|}}}|{{!}}-{{#if:{{{g11|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g11|}}}}}{{!}} colspan="{{#if:{{{g11|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g11|}}}|left|center}};{{{os|}}}" {{!}} {{{l11|}}}}}<!-- | ||
-->{{#if:{{{l12|}}}| | -->{{#if:{{{l12|}}}|{{!}}-{{#if:{{{g12|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g12|}}}}}{{!}} colspan="{{#if:{{{g12|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g12|}}}|left|center}};{{{es|}}}" {{!}} {{{l12|}}}}}<!-- | ||
-->{{#if:{{{l13|}}}| | -->{{#if:{{{l13|}}}|{{!}}-{{#if:{{{g13|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g13|}}}}}{{!}} colspan="{{#if:{{{g13|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g13|}}}|left|center}};{{{os|}}}" {{!}} {{{l13|}}}}}<!-- | ||
-->{{#if:{{{l14|}}}| | -->{{#if:{{{l14|}}}|{{!}}-{{#if:{{{g14|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g14|}}}}}{{!}} colspan="{{#if:{{{g14|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g14|}}}|left|center}};{{{es|}}}" {{!}} {{{l14|}}}}}<!-- | ||
-->{{#if:{{{l15|}}}| | -->{{#if:{{{l15|}}}|{{!}}-{{#if:{{{g15|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g15|}}}}}{{!}} colspan="{{#if:{{{g15|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g15|}}}|left|center}};{{{os|}}}" {{!}} {{{l15|}}}}}<!-- | ||
-->{{#if:{{{l16|}}}| | -->{{#if:{{{l16|}}}|{{!}}-{{#if:{{{g16|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g16|}}}}}{{!}} colspan="{{#if:{{{g16|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g16|}}}|left|center}};{{{es|}}}" {{!}} {{{l16|}}}}}<!-- | ||
-->{{#if:{{{l17|}}}| | -->{{#if:{{{l17|}}}|{{!}}-{{#if:{{{g17|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g17|}}}}}{{!}} colspan="{{#if:{{{g17|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g17|}}}|left|center}};{{{os|}}}" {{!}} {{{l17|}}}}}<!-- | ||
-->{{#if:{{{l18|}}}| | -->{{#if:{{{l18|}}}|{{!}}-{{#if:{{{g18|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g18|}}}}}{{!}} colspan="{{#if:{{{g18|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g18|}}}|left|center}};{{{es|}}}" {{!}} {{{l18|}}}}}<!-- | ||
-->{{#if:{{{l19|}}}| | -->{{#if:{{{l19|}}}|{{!}}-{{#if:{{{g19|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g19|}}}}}{{!}} colspan="{{#if:{{{g19|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g19|}}}|left|center}};{{{os|}}}" {{!}} {{{l19|}}}}}<!-- | ||
-->{{#if:{{{l20|}}}| | -->{{#if:{{{l20|}}}|{{!}}-{{#if:{{{g20|}}}|{{!}} style="{{{gs|}}}" {{!}} {{{g20|}}}}}{{!}} colspan="{{#if:{{{g20|}}}|1|{{#ifeq:{{{nogroups|}}}|true|1|2}}}}" style="text-align:{{#if:{{{g20|}}}|left|center}};{{{es|}}}" {{!}} {{{l20|}}}}}<!-- | ||
---Below (optional)--- | ---Below (optional)--- | ||
-->{{#if:{{{below|}}}| | -->{{#if:{{{below|}}}|{{!}}-{{!}} style="text-align:center;{{{belowstyle|}}}" colspan="{{{span|1}}}" {{!}} {{{below|}}}}}<!-- | ||
--> | -->{{!}}}<noinclude></noinclude> | ||