Template:City Info: Difference between revisions

From GRID Command Central
(Created page with "<div class="City infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} <table class="infobox-table">{{#if:{{{nickname|}}}|<tr> <th>Nickname</th> <td>{{{nickname}}}</td> </tr>}}{{#if:{{{country|}}}|<tr> <th>Country</th> <td>{{{country}}}</td> </tr>}}{{#if:{{{state|}}}|<tr> <th>State</th> <td>{{{state}}}</td> </tr>}}{{#if:{{{county|}}}|<tr>...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="City infobox">
<div class="infobox">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
<table class="infobox-table">{{#if:{{{nickname|}}}|<tr>
<table class="infobox-table">{{#if:{{{nickname|}}}|<tr>
     <th>Nickname</th>
     <th>Nickname:</th>
     <td>{{{nickname}}}</td>
     <td>{{{nickname}}}</td>
</tr>}}{{#if:{{{country|}}}|<tr>
</tr>}}{{#if:{{{country|}}}|<tr>
     <th>Country</th>
     <th>Country:</th>
     <td>{{{country}}}</td>
     <td>{{{country}}}</td>
</tr>}}{{#if:{{{state|}}}|<tr>
</tr>}}{{#if:{{{state|}}}|<tr>
     <th>State</th>
     <th>State:</th>
     <td>{{{state}}}</td>
     <td>{{{state}}}</td>
</tr>}}{{#if:{{{county|}}}|<tr>
</tr>}}{{#if:{{{county|}}}|<tr>
     <th>County</th>
     <th>County:</th>
     <td>{{{county}}}</td>
     <td>{{{county}}}</td>
</tr>}}{{#if:{{{settled|}}}|<tr>
</tr>}}{{#if:{{{settled|}}}|<tr>
     <th>Settled</th>
     <th>Settled:</th>
     <td>{{{settled}}}</td>
     <td>{{{settled}}}</td>
</tr>}}{{#if:{{{incorporated|}}}|<tr>
</tr>}}{{#if:{{{incorporated|}}}|<tr>
     <th>Incorporated</th>
     <th>Incorporated:</th>
     <td>{{{incorporated}}}</td>
     <td>{{{incorporated}}}</td>
</tr>}}{{#if:{{{government|}}}|<tr>
</tr>}}{{#if:{{{government|}}}|<tr>
     <th>Government</th>
     <th>Government:</th>
     <td>{{{government}}}</td>
     <td>{{{government}}}</td>
</tr>}}{{#if:{{{zipcodes|}}}|<tr>
</tr>}}{{#if:{{{zipcodes|}}}|<tr>
     <th>ZIP Codes</th>
     <th>ZIP Codes:</th>
     <td>{{{zipcodes}}}</td>
     <td>{{{zipcodes}}}</td>
</tr>}}
</tr>}}{{#if:{{{areacode|}}}|<tr>
</tr>}}{{#if:{{{areacode|}}}|<tr>
     <th>Area Code</th>
     <th>Area Code:</th>
     <td>{{{areacode}}}</td>
     <td>{{{areacode}}}</td>
</tr>}}{{#if:{{{demonym|}}}|<tr>
</tr>}}{{#if:{{{demonym|}}}|<tr>
     <th>Demonym</th>
     <th>Demonym:</th>
     <td>{{{demonym}}}</td>
     <td>{{{demonym}}}</td>
</tr>}}
</tr>}}</table>
</table>
</div>
</div>

Latest revision as of 10:11, 15 February 2025

City Info