Difference between revisions of "Template:Infobox ROSProject"

From Railway Operation Simulator Wiki
Jump to navigation Jump to search
m (Fixed typos)
m (Added map field)
Line 25: Line 25:
 
| label6    = Repository
 
| label6    = Repository
 
| data6      = {{{repository|}}}
 
| data6      = {{{repository|}}}
 +
| label7    = Website
 +
| data7      = {{{website|}}}
 +
| label8    = Train Operating Compan{{#if: {{{authors|}}} |ies else |y}}
 +
| data8      = {{{company|}}}
 +
| label9    = {{#if:{{{mapcolor|}}}|Color|Colour}} on {{#if:{{{mapcolourlink|{{{mapcolorlink|}}}}}}|[[{{{mapcolourlink|{{{mapcolorlink}}}}}}|map]]|map}}<!--?-->
 +
| data9      = {{#if:{{{mapcolor|}}}|{{{mapcolor}}}|{{{mapcolour|}}} }}
 +
| below      = {{#if:{{{map|}}}|
 +
<table style="border-spacing: 0; width: 100%; min-width: 100%" class="mw-collapsible {{#switch:{{{map_state|}}}
 +
|1|yes|collapsed|hide = mw-collapsed autocollapse
 +
|0|no|show|uncollapsed|#default = uncollapsed
 +
}}">
 +
<tr style="background-color: #efefef;"><th style="text-align:center"><div style="margin:0 4em">{{#if:{{{map_name|}}}|{{{map_name}}}|Route map}}</div></th></tr>
 +
<tr><td style="text-align:center; padding-top: 3px">
 +
{{{map|}}}</td></tr>
 +
</table>}}
 
}}{{#invoke:Check for unknown parameters | check | showblankpositional=1
 
}}{{#invoke:Check for unknown parameters | check | showblankpositional=1
 
| unknown = {{main other|[[Category:Pages using Infobox software with unknown parameters|_VALUE_{{PAGENAME}}]]}}
 
| unknown = {{main other|[[Category:Pages using Infobox software with unknown parameters|_VALUE_{{PAGENAME}}]]}}

Revision as of 20:16, 6 May 2021