Template:Infobox City: Difference between revisions
Jump to navigation
Jump to search
Alani Myrtel (talk | contribs) (added infobox for cities) |
No edit summary |
||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<table style="border: 1px solid rgba(200,200,200,0.69); padding: 1px; margin: 5px; width: 25%; float: right; font-size: 11px"> | <table style="border: 1px solid rgba(200,200,200,0.69); padding: 1px; margin: 5px; width: 25%; float: right; font-size: 11px;"> | ||
<tr><td width="100%" colspan="2" style="text-align: center;">{{{image}}}</td></tr> | <tr> | ||
<tr><td width="100%" colspan="2" style="background-color: #19234d; font-size: 16px; text-align: center;"><font color= | <td width="100%" colspan="2" style="text-align: center;">{{{image}}}</td> | ||
<tr><td width="100%" colspan="2" style="background-color: #19234d;"><font color="white">'''General Information'''</font></td></tr> | </tr> | ||
<tr><td width="31%" valign="top">Planet</td><td width="69%">{{{planet}}}</td></tr> | <tr> | ||
<tr><td width="31%" valign="top">Location</td><td width="69%">{{{location}}}</td></tr> | <td width="100%" colspan="2" style="background-color: #19234d; font-size: 16px; text-align: center;"><font color= white>'''{{{name}}}'''</font></td> | ||
{{#if:{{{pointsofinterest|}}}|<tr><td width="31%" valign="top">Points of Interest</td><td width="69%">{{{pointsofinterest}}}</td></tr>}} | </tr> | ||
{{#if:{{{notableresidents|}}}|<tr><td width="31%" valign="top">Notable Residents</td><td width="69%">{{{notableresidents}}}</td></tr>}} | <tr> | ||
<tr><td width="100%" colspan="2" style="background-color: #19234d;"><font color="white">'''Societal Information'''</font></td></tr> | <td width="100%" colspan="2" style="text-align: center;">{{{map}}}<br><i>Coordinates: X, Y</i></td> | ||
<tr><td width="31%" valign="top">Population Size</td><td width="69%">{{{populationsize}}}</td></tr> | </tr> | ||
</table><noinclude> | <tr> | ||
<td width="100%" colspan="2" style="background-color: #19234d;"><font color="white">'''General Information'''</font></td> | |||
</tr> | |||
<tr> | |||
<td width="31%" valign="top">Founded</td> | |||
<td width="69%">{{{founded}}}</td> | |||
</tr> | |||
<tr> | |||
<td width="31%" valign="top">Planet</td> | |||
<td width="69%">{{{planet}}}</td> | |||
</tr> | |||
<tr> | |||
<td width="31%" valign="top">Location</td> | |||
<td width="69%">{{{location}}}</td> | |||
</tr> | |||
{{#if:{{{pointsofinterest|}}}|<tr> | |||
<td width="31%" valign="top">Points of Interest</td> | |||
<td width="69%">{{{pointsofinterest}}}</td> | |||
</tr>}} | |||
{{#if:{{{notableresidents|}}}|<tr> | |||
<td width="31%" valign="top">Notable Residents</td> | |||
<td width="69%">{{{notableresidents}}}</td> | |||
</tr>}} | |||
<tr> | |||
<td width="100%" colspan="2" style="background-color: #19234d;"><font color="white">'''Societal Information'''</font></td> | |||
</tr> | |||
<tr> | |||
<td width="31%" valign="top">Population Size</td> | |||
<td width="69%">[[Population Chart|{{{populationsize}}}]]</td> | |||
</tr></table><noinclude> | |||
===Usage=== | ===Usage=== | ||
| Line 16: | Line 46: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Infobox City | {{Infobox City | ||
| image= | | image=(315px) | ||
| name= | | name= | ||
| map=(different pixel size per planet size) <i>Coordinates: X, Y</i> | |||
| founded= | |||
| planet= | | planet= | ||
| location=(general location on the planet) | | location=(general location on the planet) | ||
| pointsofinterest=(optional, if any) | | pointsofinterest=(optional, if any) | ||
| notableresidents=(optional, if any) | | notableresidents=(optional, if any) | ||
| populationsize=(use the population chart) | | populationsize=(use the population chart, link below) | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
<i>Click here for the [[Population Chart]]</i> | *2x2 - 40px | ||
*3x3 - 60px | |||
*6x6 - 120px | |||
*10x10 - 200px | |||
*12x12 - 240px | |||
*13x13 - 260px | |||
<i>Click here for the [[Population Chart]].</i> | |||
[[Category:Infobox Templates]]</noinclude> | [[Category:Infobox Templates]]</noinclude> | ||
Latest revision as of 14:47, 21 October 2026
| {{{image}}} | |
| {{{name}}} | |
| {{{map}}} Coordinates: X, Y |
|
| General Information | |
| Founded | {{{founded}}} |
| Planet | {{{planet}}} |
| Location | {{{location}}} |
| Societal Information | |
| Population Size | {{{populationsize}}} |
Usage
The City Infobox template is used for City pages only, to describe the city. Paste the following code into the top of an article, filling all known fields, leaving any unknown fields blank.
{{Infobox City
| image=(315px)
| name=
| map=(different pixel size per planet size) <i>Coordinates: X, Y</i>
| founded=
| planet=
| location=(general location on the planet)
| pointsofinterest=(optional, if any)
| notableresidents=(optional, if any)
| populationsize=(use the population chart, link below)
}}
- 2x2 - 40px
- 3x3 - 60px
- 6x6 - 120px
- 10x10 - 200px
- 12x12 - 240px
- 13x13 - 260px
Click here for the Population Chart.