Difference between revisions of "Template:Infobox ROSProject"

From Railway Operation Simulator Wiki
Jump to navigation Jump to search
m (fix validation)
(Added style)
Line 1: Line 1:
 
<includeonly>{{Infobox
 
<includeonly>{{Infobox
 +
| child      = {{{embed|}}}
 +
| autoheaders = y
 +
| bodystyle  = width:{{{box_width|25em}}};
 +
| above      = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}
 +
| abovestyle  = {{#if:{{{color|}}}|border-top: 4px solid #{{{color}}}; border-bottom: 4px solid #{{#if:{{{color2|}}}|{{{color2}}}|{{{color}}}}};}}
 
| bodyclass  = vevent
 
| bodyclass  = vevent
 
| bodystyle  = {{{bodystyle|}}}
 
| bodystyle  = {{{bodystyle|}}}
Line 31: Line 36:
 
| label9    = {{#if:{{{mapcolor|}}}|Color|Colour}} on {{#if:{{{mapcolourlink|{{{mapcolorlink|}}}}}}|[[{{{mapcolourlink|{{{mapcolorlink}}}}}}|map]]|map}}<!--?-->
 
| label9    = {{#if:{{{mapcolor|}}}|Color|Colour}} on {{#if:{{{mapcolourlink|{{{mapcolorlink|}}}}}}|[[{{{mapcolourlink|{{{mapcolorlink}}}}}}|map]]|map}}<!--?-->
 
| data9      = {{#if:{{{mapcolor|}}}|{{{mapcolor}}}|{{{mapcolour|}}} }}
 
| data9      = {{#if:{{{mapcolor|}}}|{{{mapcolor}}}|{{{mapcolour|}}} }}
 +
| belowstyle  = vertical-align: middle; padding: 0
 
| below      = {{#if:{{{map|}}}|
 
| below      = {{#if:{{{map|}}}|
 
<table style="border-spacing: 0; width: 100%; min-width: 100%" class="mw-collapsible {{#switch:{{{map_state|}}}
 
<table style="border-spacing: 0; width: 100%; min-width: 100%" class="mw-collapsible {{#switch:{{{map_state|}}}

Revision as of 20:33, 6 May 2021