Template:Infobox City: Difference between revisions

From One Nation Under Jou
Jump to navigation Jump to search
No edit summary
(→‎IMPORTANT EDIT: Changed the table to use Wikitext. Only the if, and some text formatting will use HTML)
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">
{|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>
| width="100%" colspan="2" style="text-align: center;" | {{{image}}}
<tr><td width="100%" colspan="2" style="background-color: #19234d; font-size: 16px; text-align: center;"><font color="white">'''{{{name}}}'''</font></td></tr>
|-
<tr><td width="100%" colspan="2" style="background-color: #19234d;"><font color="white">'''General Information'''</font></td></tr>
| width="100%" colspan="2" style="background-color: #19234d; font-size: 16px; text-align: center;" | <font color="white">'''{{{name}}}'''</font>
<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>
| width="100%" colspan="2" style="background-color: #19234d;" | <font color="white">'''General Information'''</font>
{{#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>}}
| width="31%" valign="top" | Planet
<tr><td width="100%" colspan="2" style="background-color: #19234d;"><font color="white">'''Societal Information'''</font></td></tr>
| width="69%" | {{{planet}}}
<tr><td width="31%" valign="top">Population Size</td><td width="69%">[[Population Chart|{{{populationsize}}}]]</td></tr>
|-
</table><noinclude>
| width="31%" valign="top" | Location
| width="69%" | {{{location}}}
|-
{{#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>}}
|-
| width="100%" colspan="2" style="background-color: #19234d;" | <font color="white">'''Societal Information'''</font>
|-
| width="31%" valign="top" | Population Size
| width="69%" | [[Population Chart|{{{populationsize}}}]]
|}<noinclude>
===Usage===
===Usage===



Revision as of 03:21, 18 August 2021

{{{image}}}
{{{name}}}
General Information
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=
| name=
| planet=
| location=(general location on the planet)
| pointsofinterest=(optional, if any)
| notableresidents=(optional, if any)
| populationsize=(use the population chart)
}}

Click here for the Population Chart.