Difference between revisions of "Template:InfoBox"
Template page
Views
Actions
Namespaces
Variants
Tools
Line 2: | Line 2: | ||
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | ||
<div class="infobox-image">[[File:{{{image}}}|250px]]</div>}} | <div class="infobox-image">[[File:{{{image}}}|250px]]</div>}} | ||
{{#if:{{{category|}}}|<div class="infobox-category">{{{category}}}</div>}} | {{#if:{{{category1|}}}|<div class="infobox-category">{{{category1}}}</div>}} | ||
<table>{{#if:{{{ | {{#if:{{{category2|}}}|<div class="infobox-category">{{{category2}}}</div>}} | ||
<th> | {{#if:{{{category3|}}}|<div class="infobox-category">{{{category3}}}</div>}} | ||
<td>{{{ | {{#if:{{{category4|}}}|<div class="infobox-category">{{{category4}}}</div>}} | ||
</tr>}}{{#if:{{{ | <table>{{#if:{{{locale|}}}|<tr> | ||
<th> | <th>Locale</th> | ||
<td>{{{ | <td>{{{locale}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{transit_type|}}}|<tr> | ||
<th> | <th>Transit Type</th> | ||
<td>{{{ | <td>{{{transit_type}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{lines|}}}|<tr> | ||
<th> | <th>Number of lines</th> | ||
<td>{{{ | <td>{{{lines}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{stations|}}}|<tr> | ||
<th> | <th>Number of stations</th> | ||
<td>{{{ | <td>{{{stations}}}</td> | ||
</tr>}}{{#if:{{{began_operation|}}}|<tr> | |||
<th>Began Operation</th> | |||
<td>{{{began_operation}}}</td> | |||
</tr>}}{{#if:{{{ended_operation|}}}|<tr> | |||
<th>Ended Operation</th> | |||
<td>{{{ended_operation}}}</td> | |||
</tr>}}{{#if:{{{system_length|}}}|<tr> | |||
<th>System Length</th> | |||
<td>{{{system_length}}}</td> | |||
</tr>}}</table> | </tr>}}</table> | ||
</div> | </div> |
Revision as of 15:40, 9 April 2022
InfoBox