Template:Infobox map: Difference between revisions

From MetroSim Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
<tr>
<tr>
<th colspan="4" width="330px" valign="top" style="border: 1px solid #B8B8B8; padding: 7px;">
<th colspan="4" width="330px" valign="top" style="border: 1px solid #B8B8B8; padding: 7px;">
<div id="mf-infoheader" style="padding:5px;background:#004d99;color:white;font-size:120%;">General info</div>{{#if:{{{map|}}}|<br><div id="mf-infoheader" style="padding:5px;background:silver;color:white;font-size:110%;">{{{mapheader}}}</div>}}{{#if:{{{map|}}}|<br>[[File:{{{map}}}|330px]]}}{{#if:{{{map2|}}}|<br><br><div id="mf-infoheader" style="padding:5px;background:silver;color:white;font-size:110%;">{{{map2header}}}</div>}}{{#if:{{{map2|}}}|<br>[[File:{{{map2}}}|330px]]}}{{#if:{{{screenshot|}}}|<br><div id="mf-infoheader" style="padding:5px;background:silver;color:white;font-size:110%;">Screenshot</div>}}{{#if:{{{screenshot|}}}|<br>[[File:{{{screenshot}}}|330px]]}}{{#if:{{{screenshot2|}}}|<br>[[File:{{{screenshot2}}}|330px]]}}{{#if:{{{screenshot3|}}}|<br>[[File:{{{screenshot3}}}|330px]]}}{{#if:{{{author|}}}|<br><div id="mf-infoheader" style="padding:2px;background:gray;color:white;font-size:85%;">'''Author:'''</div>}}{{#if:{{{author|}}}|<br><div id="mf-infoheader" style="padding:2px;background:white;color:black;font-size:85%;">{{{author}}}</div>}}{{#if:{{{linenumber|}}}|<br><div id="mf-infoheader" style="padding:2px;background:gray;color:white;font-size:85%;">'''Lines:'''</div><br>}}{{#if:{{{linenumber|}}}|<br><div id="mf-infoheader" style="padding:2px;background:white;color:black;font-size:85%;">{{{linenumber}}}</div><br>}}{{#if:{{{traction|}}}|<br><div id="mf-infoheader" style="padding:2px;background:gray;color:white;font-size:85%;">'''Traction power supply:'''</div><br>}}{{#if:{{{traction|}}}|<br><div id="mf-infoheader" style="padding:2px;background:white;color:black;font-size:85%;">{{{traction}}}</div>}}{{#if:{{{description|}}}|<br><div id="mf-infoheader" style="padding:2px;background:gray;color:white;font-size:85%;">'''Description:'''</div>}}{{#if:{{{description|}}}|<br><div id="mf-infoheader" style="padding:2px;background:white;color:black;font-size:85%;">{{{description}}}</div>}}{{#if:{{{requirement|}}}|<br><div id="mf-infoheader" style="padding:2px;background:gray;color:white;font-size:85%;">'''MetroSim Version Required:'''</div>}}{{#if:{{{requirement|}}}|<br><div id="mf-infoheader" style="padding:2px;background:white;color:black;font-size:85%;">{{{requirement}}}</div>}}{{#if:{{{download|}}}|<br><div id="mf-infoheader" style="padding:2px;background:gray;color:white;font-size:85%;">'''Download:'''</div>}}{{#if:{{{download|}}}|<br><div id="mf-infoheader" style="padding:2px;background:white;color:black;font-size:85%;">{{{download}}}</div>}}
<div id="mf-infoheader" style="padding:5px;background:#004d99;color:white;font-size:120%;">General info</div>{{#if:{{{map|}}}|<br><div id="mf-infoheader" style="padding:5px;background:silver;color:white;font-size:110%;">{{{mapheader}}}</div>}}{{#if:{{{map|}}}|[[File:{{{map}}}|330px]]}}{{#if:{{{map2|}}}|<br><br><div id="mf-infoheader" style="padding:5px;background:silver;color:white;font-size:110%;">{{{map2header}}}</div>}}{{#if:{{{map2|}}}|[[File:{{{map2}}}|330px]]}}{{#if:{{{screenshot|}}}|<br><div id="mf-infoheader" style="padding:5px;background:silver;color:white;font-size:110%;">Screenshot</div>}}{{#if:{{{screenshot|}}}|<br>[[File:{{{screenshot}}}|330px]]}}{{#if:{{{screenshot2|}}}|<br>[[File:{{{screenshot2}}}|330px]]}}{{#if:{{{screenshot3|}}}|<br>[[File:{{{screenshot3}}}|330px]]}}{{#if:{{{author|}}}|<br><div id="mf-infoheader" style="padding:2px;background:gray;color:white;font-size:85%;">'''Author:'''</div>}}{{#if:{{{author|}}}|<br><div id="mf-infoheader" style="padding:2px;background:white;color:black;font-size:85%;">{{{author}}}</div>}}{{#if:{{{linenumber|}}}|<br><div id="mf-infoheader" style="padding:2px;background:gray;color:white;font-size:85%;">'''Lines:'''</div><br>}}{{#if:{{{linenumber|}}}|<br><div id="mf-infoheader" style="padding:2px;background:white;color:black;font-size:85%;">{{{linenumber}}}</div><br>}}{{#if:{{{traction|}}}|<br><div id="mf-infoheader" style="padding:2px;background:gray;color:white;font-size:85%;">'''Traction power supply:'''</div><br>}}{{#if:{{{traction|}}}|<br><div id="mf-infoheader" style="padding:2px;background:white;color:black;font-size:85%;">{{{traction}}}</div>}}{{#if:{{{description|}}}|<br><div id="mf-infoheader" style="padding:2px;background:gray;color:white;font-size:85%;">'''Description:'''</div>}}{{#if:{{{description|}}}|<br><div id="mf-infoheader" style="padding:2px;background:white;color:black;font-size:85%;">{{{description}}}</div>}}{{#if:{{{requirement|}}}|<br><div id="mf-infoheader" style="padding:2px;background:gray;color:white;font-size:85%;">'''MetroSim Version Required:'''</div>}}{{#if:{{{requirement|}}}|<br><div id="mf-infoheader" style="padding:2px;background:white;color:black;font-size:85%;">{{{requirement}}}</div>}}{{#if:{{{download|}}}|<br><div id="mf-infoheader" style="padding:2px;background:gray;color:white;font-size:85%;">'''Download:'''</div>}}{{#if:{{{download|}}}|<br><div id="mf-infoheader" style="padding:2px;background:white;color:black;font-size:85%;">{{{download}}}</div>}}
</th>
</th>
</tr>
</tr>
</table>
</table>

Revision as of 11:41, 19 January 2020

General info