Template:Infobox map: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
m (Admin moved page Template:Infobox to Template:MapInfobox without leaving a redirect: Specialize infobox)
(Make parameters relevant to maps)
Line 3: Line 3:
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{param1|}}}|<tr>
<table>{{#if:{{{param1|}}}|<tr>
     <th>Parameter 1</th>
     <th>Gamemode</th>
     <td>{{{param1}}}</td>
     <td>{{{param1}}}</td>
</tr>}}{{#if:{{{param2|}}}|<tr>
</tr>}}{{#if:{{{gamemode|}}}|<tr>
     <th>Parameter 2</th>
     <th>Theme</th>
     <td>{{{param2}}}</td>
     <td>{{{theme}}}</td>
</tr>}}{{#if:{{{param3|}}}|<tr>
</tr>}}{{#if:{{{param3|}}}|<tr>
     <th>Parameter 3</th>
     <th>Developer</th>
     <td>{{{param3}}}</td>
     <td>{{{developer}}}</td>
</tr>}}{{#if:{{{param4|}}}|<tr>
</tr>}}{{#if:{{{param4|}}}|<tr>
     <th>Parameter 4</th>
     <th>Release year</th>
     <td>{{{param4}}}</td>
     <td>{{{date}}}</td>
</tr>}}{{#if:{{{param5|}}}|<tr>
</tr>}}{{#if:{{{param5|}}}|<tr>
     <th>Parameter 5</th>
     <th>Official</th>
     <td>{{{param5}}}</td>
     <td>{{{official}}}</td>
</tr>}}</table>
</tr>}}</table>
</div>
</div>

Revision as of 02:43, 31 March 2022

Infobox map