The District of Joban Difference between revisions of "Template:InfoBox"

Difference between revisions of "Template:InfoBox"

Template page
Line 2: Line 2:
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|250px]]</div>}}
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|250px]]</div>}}
{{#if:{{{rtimage|}}}|<div class="infobox-image">[[File:{{{rtimage}}}|250px]]</div>}}
{{#if:{{{category1|}}}|<div class="infobox-category">{{{category1}}}</div>}}
{{#if:{{{category1|}}}|<div class="infobox-category">{{{category1}}}</div>}}
{{#if:{{{category2|}}}|<div class="infobox-category">{{{category2}}}</div>}}
{{#if:{{{category2|}}}|<div class="infobox-category">{{{category2}}}</div>}}
Line 15: Line 16:
     <th>Transit Type</th>
     <th>Transit Type</th>
     <td>{{{transit_type}}}</td>
     <td>{{{transit_type}}}</td>
</tr>}}
{{#if:{{{operators|}}}|<tr>
    <th>Operator(s)</th>
    <td>{{{operators}}}</td>
</tr>}}
{{#if:{{{track_gauge|}}}|<tr>
    <th>Track gauge</th>
    <td>{{{track_gauge}}}</td>
</tr>}}
{{#if:{{{rolling_stock|}}}|<tr>
    <th>Rolling stock</th>
    <td>{{{rolling_stock}}}</td>
</tr>}}
{{#if:{{{depots|}}}|<tr>
    <th>Depot(s)</th>
    <td>{{{depots}}}</td>
</tr>}}
{{#if:{{{ridership|}}}|<tr>
    <th>Ridership</th>
    <td>{{{ridership}}}</td>
</tr>}}
{{#if:{{{linetype|}}}|<tr>
    <th>Type</th>
    <td>{{{linetype}}}</td>
</tr>}}
{{#if:{{{terminus|}}}|<tr>
    <th>Termini</th>
    <td>{{{terminus}}}</td>
</tr>}}
</tr>}}


Line 35: Line 71:
     <th>Ended Operation</th>
     <th>Ended Operation</th>
     <td>{{{ended_operation}}}</td>
     <td>{{{ended_operation}}}</td>
</tr>}}
{{#if:{{{lineopened|}}}|<tr>
    <th>Opened</th>
    <td>{{{lineopened}}}</td>
</tr>}}
{{#if:{{{lineclosed|}}}|<tr>
    <th>Closed</th>
    <td>{{{lineclosed}}}</td>
</tr>}}
{{#if:{{{electrification|}}}|<tr>
    <th>Electrification</th>
    <td>{{{electrification}}}</td>
</tr>}}
</tr>}}



Revision as of 18:59, 10 April 2022

InfoBox