Template:Sidebar Versions: Difference between revisions

From MetroSim Wiki
Jump to navigation Jump to search
Samuel (talk | contribs)
No edit summary
Jim2016 (talk | contribs)
No edit summary
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table style="width: 250px; border: 1px solid #000; background: #eee; margin-bottom: 20px;">
<div style="float:right; margin-left: 10px;">
<table style="width: 250px; border: 1px solid #a2a9b1; background: #f8f9fa; margin-bottom: 20px; border-radius: 7px;">
  <tr>
  <tr>
   <th colspan="2" style="background: #D6D6D6;padding:3px;font-size:">{{{name|}}}</th>
   <th colspan="2" style="background: {{#switch:{{{status}}}|supported=#6ad852|upcoming=#41d4f2|available=#ff834f|discontinued=#f25269|legacy=#a052d8|#f8f9fa}}; color:{{#switch:{{{status}}}|supported=#ffffff|upcoming=#ffffff|available=#ffffff|discontinued=#ffffff|legacy=#ffffff|#000000}}; border-top-right-radius: 5px; border-top-left-radius: 5px;">{{{name|{{PAGENAME}}}}}</th>
  </tr>
  </tr>
  {{#if: {{{Release date|}}} |
<tr>
<th colspan="2" style="background: #f8f9fa;">{{#if:{{{image|}}}|[[File:{{{image|}}}|{{{size|300px}}}]]|}}</th>
</tr>
<tr>
<th colspan="2" style="background: #f8f9fa;">{{{map images|}}}</th>
</tr>
  {{#if: {{{release date|}}} |
   <tr>
   <tr>
   <td width="40%">Release date</td>
   <td width="40%">'''Release date'''</td>
   <td width="60%">{{{Release date|}}}</td>
   <td width="60%">{{{release date|}}}</td>
   </tr>
   </tr>
  }}
  }}
  {{#if: {{{Maps|}}} |
  {{#if: {{{maps|}}} |
   <tr>
   <tr>
   <td valign="top">Maps</td>
   <td valign="top">'''Maps'''</td>
   <td>{{{Maps|}}}</td>
   <td>{{{maps|}}}</td>
   </tr>
   </tr>
  }}
  }}
{{#if: {{{Contains|}}} |
{{#if: {{{contains|}}} |
   <tr>
   <tr>
   <td valign="top">Contains</td>
   <td valign="top">'''What's new'''</td>
   <td>{{{Contains|}}}</td>
   <td>{{{contains|}}}</td>
   </tr>
   </tr>
  }}
  }}
  {{#if: {{{Download|}}} |
  {{#if: {{{download|}}} |
   <tr>
   <tr>
   <td valign="top">Download</td>
   <td valign="top">'''Download'''</td>
   <td>{{{Download|}}}</td>
   <td>{{{download|}}}</td>
   </tr>
   </tr>
  }}
  }}
</table>
</table>
</div>

Latest revision as of 12:32, 10 October 2019

Sidebar Versions