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

Difference between revisions of "Template:InfoBox"

Template page
m (Fix owner not working)
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
{{#if:{{{category1|}}}|<div class="infobox-category">{{{category1}}}</div>}}
{{#if:{{{category1|}}}|<div class="infobox-category">{{{category1}}}</div>}}
<table>
<table>
{{#if:{{{status|}}}|<tr>
    <th>Status</th>
    <td>{{{status}}}</td>
</tr>}}
{{#if:{{{locale|}}}|<tr>
{{#if:{{{locale|}}}|<tr>
     <th>Locale</th>
     <th>Locale</th>
Line 17: Line 21:
{{#if:{{{owner|}}}|<tr>
{{#if:{{{owner|}}}|<tr>
     <th>Owner</th>
     <th>Owner</th>
     <td>{{{operators}}}</td>
     <td>{{{owner}}}</td>
</tr>}}
</tr>}}
{{#if:{{{ridership|}}}|<tr>
{{#if:{{{ridership|}}}|<tr>
Line 61: Line 65:
     <th>Rolling stock</th>
     <th>Rolling stock</th>
     <td>{{{rolling_stock}}}</td>
     <td>{{{rolling_stock}}}</td>
</tr>}}
{{#if:{{{former_rolling_stock|}}}|<tr>
    <th>former rolling stock</th>
    <td>{{{former_rolling_stock}}}</td>
</tr>}}
</tr>}}
{{#if:{{{depots|}}}|<tr>
{{#if:{{{depots|}}}|<tr>
Line 79: Line 87:
</tr>}}
</tr>}}
</table>
</table>
{{#if:{{{technicialCategory|}}}|<div class="infobox-category">{{{technicialCategory}}}</div>}}
 
<table>
<table>
{{#if:{{{line_length|}}}|<tr>
{{#if:{{{line_length|}}}|<tr>

Latest revision as of 01:21, 27 August 2024

InfoBox