Template:Passenger Infobox style: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1|}}} | <includeonly>{{#switch:{{{1|}}} | ||
|main_box= class="infobox {{#if:{{{ | |main_box= class="infobox{{#if:{{{3|}}}| {{{3}}}}}" style="float: right; clear: right; width: 300px; border-spacing: 2px; text-align: left; font-size: 90%;" | ||
<!-- | |||
|main_box_raw= width: 300px; border-spacing: 2px; font-size: 90%; | |main_box_raw= width: 300px; border-spacing: 2px; font-size: 90%; | ||
|main_box_raw_auto_width= border-spacing: 2px; font-size: 90%; | |main_box_raw_auto_width= border-spacing: 2px; font-size: 90%; | ||
|header_bar= style="background-color: | |header_bar= style="background-color: {{Roleclass colour|{{{2}}}|1}}; text-align: center; vertical-align: middle; font-size: 110%;" | ||
|header_raw= background-color: | |header_raw= background-color: {{Roleclass colour|{{{2}}}|1}}; font-size: 110%; | ||
|sub_header_bar= style="background-color: | |sub_header_bar= style="background-color: {{Roleclass colour|{{{2}}}|2}}; text-align: center; vertical-align: middle;" | ||
|sub_header_raw= background-color: | |sub_header_raw= background-color: {{Roleclass colour|{{{2}}}|2}}; text-align: center; vertical-align: middle; | ||
|header_color= background-color: | |header_color= background-color: {{Roleclass colour|{{{2}}}|1}}; | ||
|nav_box= margin: 0; float: right; clear: right; width: 300px; margin-bottom: 0.5em; margin-left: 1em; | |nav_box= margin: 0; float: right; clear: right; width: 300px; margin-bottom: 0.5em; margin-left: 1em; | ||
|nav_box_child= margin: 0; float: right; clear: right; width: 290px; margin-bottom: 0.5em; | |nav_box_child= margin: 0; float: right; clear: right; width: 290px; margin-bottom: 0.5em; | ||
|nav_box_wide= | |nav_box_wide= | ||
|nav_box_header= background-color: | |nav_box_header= background-color: {{Roleclass colour|{{{2}}}|3}}; | ||
|nav_box_wide_header= background-color: | |nav_box_wide_header= background-color: {{Roleclass colour|{{{2}}}|3}}; | ||
|nav_box_label= background-color: #B0BC8F; | |nav_box_label= background-color: #B0BC8F; | ||
|image_box= style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa; line-height: 1.5em;" | |image_box= style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa; line-height: 1.5em;" | ||
Line 19: | Line 20: | ||
|image_box_plain_raw= text-align: center; font-size: 90%; line-height: 1.5em; | |image_box_plain_raw= text-align: center; font-size: 90%; line-height: 1.5em; | ||
|internal_border= 1px dotted #aaa; | |internal_border= 1px dotted #aaa; | ||
|section_border= 1px solid #aaa; | |section_border= 1px solid #aaa; --> | ||
|#default= | |#default= | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}}[[Category:Style templates]] | {{documentation}}[[Category:Style templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 10:09, 28 September 2014
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}