Template:Infobox settlement: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Jnk m updated usage guide with area_water_percent |
meta>Rick Block make each row a TR in the HTML table for accessibility reasons, see talk |
||
Line 1: | Line 1: | ||
{| class="infobox" style="width: 23em; font-size: 95%; text-align: left;" | {| class="infobox bordered" style="width: 23em; font-size: 95%; text-align: left;" | ||
|+ style="font-size: 1.25em;" | '''{{{official_name}}}''' | |+ style="font-size: 1.25em;" | '''{{{official_name}}}''' | ||
|- | |- | ||
Line 12: | Line 12: | ||
{{{!}} style="width: 100%; background: none; text-align: center;" | {{{!}} style="width: 100%; background: none; text-align: center;" | ||
{{!}}- | {{!}}- | ||
{{#if:{{{image_flag|}}}| {{!}} style="vertical-align: middle;" {{!}} [[Image:{{{image_flag|}}}|125px|Official flag of {{{official_name|}}}]] }} | {{#if:{{{image_flag|}}}| {{!}} style="border: 0; vertical-align: middle;" {{!}} [[Image:{{{image_flag|}}}|125px|Official flag of {{{official_name|}}}]] }} | ||
{{#if:{{{image_seal|}}}| {{!}} style="vertical-align: middle;" {{!}} [[Image:{{{image_seal|}}}|100px|Official seal of {{{official_name|}}}]] }} | {{#if:{{{image_seal|}}}| {{!}} style="border: 0; vertical-align: middle;" {{!}} [[Image:{{{image_seal|}}}|100px|Official seal of {{{official_name|}}}]] }} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{image_flag|}}}| {{!}} <small>'''Flag'''</small> }} | {{#if:{{{image_flag|}}}| {{!}} style="border:0;" {{!}} <small>'''Flag'''</small> }} | ||
{{#if:{{{image_seal|}}}| {{!}} <small>'''Seal'''</small>}} | {{#if:{{{image_seal|}}}| {{!}} style="border:0;" {{!}} <small>'''Seal'''</small>}} | ||
{{!}}} | {{!}}} | ||
{{!}}- | {{!}}- | ||
Line 22: | Line 22: | ||
<!-- ***** Nickname ***** --> | <!-- ***** Nickname ***** --> | ||
{{#if:{{{nickname|}}}| | {{#if:{{{nickname|}}}| | ||
{{!}} colspan="2" align="center" style="font-size: smaller;line-height:140%; {{#if:{{{image_flag|}}}{{{image_seal|}}}| border-top: solid 1px #ccd2d9;" | " }} {{!}} [[Nickname]]: "''{{{nickname|}}}''" | {{!}} colspan="2" align="center" style="font-size: smaller; line-height:140%; {{#if:{{{image_flag|}}}{{{image_seal|}}}| border-top: solid 1px #ccd2d9;" | " }} {{!}} [[Nickname]]: "''{{{nickname|}}}''" | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
<!-- ***** Motto ***** --> | <!-- ***** Motto ***** --> | ||
{{#if:{{{motto|}}}| | {{#if:{{{motto|}}}| | ||
{{!}} colspan="2" align="center" style="font-size: smaller;line-height:140%; {{#if:{{{image_flag|}}}{{{image_seal|}}}{{{nickname|}}}| border-top: solid 1px #ccd2d9;" | " }} {{!}} [[Motto]]: "''{{{motto|}}}''" | {{!}} colspan="2" align="center" style="font-size: smaller; line-height:140%; {{#if:{{{image_flag|}}}{{{image_seal|}}}{{{nickname|}}}| border-top: solid 1px #ccd2d9;" | " }} {{!}} [[Motto]]: "''{{{motto|}}}''" | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 35: | Line 35: | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" style="text-align: center; padding-top: 0.7em; padding-bottom: 0.7em;" {{!}} | {{!}} colspan="2" style="text-align: center; padding-top: 0.7em; padding-bottom: 0.7em;" {{!}} | ||
[[Image:{{{image_map|}}}|{{#if:{{{mapsize|}}}|{{{mapsize}}}|250px}}|none| | [[Image:{{{image_map|}}}|{{#if:{{{mapsize|}}}|{{{mapsize}}}|250px}}|none|{{map_caption|Location of {{{official_name|}}}}}}]]{{#if:{{{map_caption|}}}|<small>{{{map_caption|}}}</small>}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
<!--***** Government *****--> | <!--***** Government *****--> | ||
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Government | ! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Government | ||
|- | |- class="mergedtoprow" | ||
! style="background: #EDEDED;"| {{{subdivision_type}}} | ! style="background: #EDEDED;"| {{{subdivision_type}}} | ||
| {{{subdivision_name}}} | | {{{subdivision_name}}} | ||
|- | |- class="mergedrow" | ||
<!--***** Established *****--> | <!--***** Established *****--> | ||
{{#if:{{{established_title|}}}| | {{#if:{{{established_title|}}}| | ||
! style="background: #EDEDED;"{{!}}{{{established_title}}} | ! style="background: #EDEDED;"{{!}}{{{established_title}}} | ||
{{!}} {{{established_date}}} | {{!}} {{{established_date}}} | ||
{{!}}- | {{!}}- class="mergedrow" | ||
}} | }} | ||
<!-- ***** Leader ***** --> | <!-- ***** Leader ***** --> | ||
Line 58: | Line 58: | ||
<!-- ***** Geographical characteristics ***** --> | <!-- ***** Geographical characteristics ***** --> | ||
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Geographical characteristics | ! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Geographical characteristics | ||
|- | |- class="mergedtoprow" | ||
<!-- ***** Area ***** --> | <!-- ***** Area ***** --> | ||
! style="background: #EDEDED;"|[[Area]] | ! style="background: #EDEDED;"|[[Area]] || | ||
| | |- class="mergedrow" | ||
|- | ! style="background: #EDEDED;" | - City | ||
| {{#if:{{{area_magnitude|}}}|[[{{{area_magnitude}}}_m²|{{{area_total}}} km²]]|{{{area_total}}} km²}} {{#if:{{{TotalArea_sq_mi|}}} | ({{{TotalArea_sq_mi}}} [[square mile|sq mi]]) }} | |||
|- class="mergedrow" | |||
{{#if:{{{area_land|}}}| | |||
! style="background: #EDEDED;" {{!}} - Land | |||
{{!}} {{{area_land}}} [[Square kilometre|km²]] {{#if:{{{LandArea_sq_mi|}}} | ({{{LandArea_sq_mi}}} sq mi)}} }} | |||
|- class="mergedrow" | |||
{{#if:{{{area_water|}}}| | |||
! style="background: #EDEDED;" {{!}} - Water | |||
{{!}} {{{area_water}}} km²{{#if:{{{WaterArea_sq_mi|}}} | ({{{WaterArea_sq_mi}}} sq mi)}} {{#if:{{{area_water_percent|}}}| {{{area_water_percent}}}%}}}} | |||
|- class="mergedrow" | |||
{{#if:{{{area_urban|}}}| | |||
! style="background: #EDEDED;" {{!}} - Urban | |||
{{!}} {{{area_urban}}} km²{{#if:{{{UrbanArea_sq_mi|}}} | ({{{UrbanArea_sq_mi}}} sq mi)}} }} | |||
|- class="mergedrow" | |||
{{#if:{{{area_metro|}}}| | |||
! style="background: #EDEDED;" {{!}} - Metro | |||
{{!}} {{{area_metro}}} km²{{#if:{{{MetroArea_sq_mi|}}} | ({{{MetroArea_sq_mi}}} sq mi)}} }} | |||
|- class="mergedtoprow" | |||
<!-- ***** Population ***** --> | <!-- ***** Population ***** --> | ||
! style="background: #EDEDED; white-space: nowrap;" | | ! style="background: #EDEDED; " |[[Population]] || | ||
|- class="mergedrow" | |||
! style="background: #EDEDED; white-space: nowrap;" | - City ({{{population_as_of}}}) | |||
| {{{population_total}}} | |||
|- class="mergedrow" | |||
{{#if:{{{population_density|}}}| | |||
! style="background: #EDEDED; white-space: nowrap;" {{!}} - [[Population density|Density]] | |||
{{!}} {{{population_density}}}/[[Square kilometre|km²]]{{#if:{{{population_density_mi2|}}}| ({{{population_density_mi2}}}/[[Square mile|sq mi]])}} }} | |||
|- class="mergedrow" | |||
{{#if:{{{population_urban|}}}| | |||
! style="background: #EDEDED; white-space: nowrap;" {{!}} - [[Urban area|Urban]] | |||
{{!}} {{{population_urban}}} }} | |||
|- class="mergedrow" | |||
{{#if:{{{population_metro|}}}| | |||
! style="background: #EDEDED; white-space: nowrap;" {{!}} - [[Metropolitan area|Metro]] | |||
{{!}} {{{population_metro}}} }} | |||
|- class="mergedrow" | |||
{{#if:{{{population_note|}}}| | |||
! style="background: #EDEDED;" {{!}} | |||
{{!}} <small>''{{{population_note}}}''</small> }} | |||
|- | |- | ||
<!-- ***** Coordinates ***** --> | <!-- ***** Coordinates ***** --> | ||
Line 81: | Line 117: | ||
<!-- ***** Time Zone ***** --> | <!-- ***** Time Zone ***** --> | ||
{{#if:{{{timezone|}}}| | {{#if:{{{timezone|}}}| | ||
! style="background: #EDEDED | ! style="background: #EDEDED;"{{!}}[[Time zone]] {{#if:{{{timezone_DST|}}}|<br>- Summer ([[Daylight saving time|DST]])}} | ||
{{!}} {{{timezone}}} ([[UTC{{{utc_offset}}}]]) {{#if:{{{timezone_DST|}}}|<br>{{{timezone_DST|}}} ([[UTC{{{utc_offset_DST|}}}]])}} | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 92: | Line 128: | ||
<!-- ***** Website ***** --> | <!-- ***** Website ***** --> | ||
{{#if:{{{website|}}}| | {{#if:{{{website|}}}| | ||
{{!}}- | |||
{{!}} colspan="2" align="center" style="border-top: solid 1px #ccd2d9;" {{!}} '''Website:''' {{{website}}} | {{!}} colspan="2" align="center" style="border-top: solid 1px #ccd2d9;" {{!}} '''Website:''' {{{website}}} | ||
{{!}}- | {{!}}- |
Revision as of 23:24, 2 June 2006
Government | |
---|---|
{{{subdivision_type}}} | {{{subdivision_name}}} |
Geographical characteristics | |
Area | |
- City | {{{area_total}}} km² |
Population | |
- City ({{{population_as_of}}}) | {{{population_total}}} |
Empty Syntax For question or examples see the talk page.
<!-- Infobox begins !--> {{Infobox City |official_name = |nickname = |motto = |image_skyline = |imagesize = |image_caption = |image_flag = |image_seal = |image_map = |mapsize = |map_caption = |subdivision_type = |subdivision_name = |leader_title = |leader_name = |established_title = |established_date = |area_magnitude = |TotalArea_sq_mi = |area_total = |LandArea_sq_mi = |area_land = |WaterArea_sq_mi = |area_water = |area_water_percent = |UrbanArea_sq_mi = |area_urban = |MetroArea_sq_mi = |area_metro = |population_as_of = |population_note = |population_total = |population_metro = |population_urban = |population_density = |population_density_mi2 = |timezone = |utc_offset = |timezone_DST = |utc_offset_DST = |latd= |latm= |lats= |latNS= |longd= |longm= |longs= |longEW= |elevation = |elevation_ft = |website = |footnotes = }} <!-- Infobox ends !-->