Template:City infobox: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
mNo edit summary
Line 8: Line 8:
{{!}}-
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:110%; color:{{{color2|#ffffff}}}; text-align:center; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section1-title|Overview}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#ffffff}}}; text-align:center; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section1-title|Overview}}}}}
{{!}}-
{{!}}-
{{#if:{{{location|}}}|
{{#if:{{{location|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{location-title|Location}}}''':
'''{{{location-title|Location}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{location|}}}
{{{location|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{totalarea|}}}|
{{#if:{{{totalarea|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{totalarea-title|Total area}}}''':
'''{{{totalarea-title|Total area}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{totalarea|}}}
{{{totalarea|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{population|}}}|
{{#if:{{{population|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{population-title|Population}}}''':
'''{{{population-title|Population}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{population|}}}
{{{population|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{notable|}}}|
{{#if:{{{notable|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{notable-title|Notable structure(s)}}}''':
'''{{{notable-title|Notable structure(s)}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{notable|}}}
{{{notable|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{governance|}}}|
{{#if:{{{governance|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{governance-title|Governed by}}}''':
'''{{{governance-title|Governed by}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{governance|}}}
{{{governance|}}}
{{!}}-}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:1px; line-height:10px;" | 
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | 
|}<noinclude>
|}<noinclude>
==Usage==
==Usage==

Revision as of 01:34, July 22, 2014

City infobox
Overview
 

Usage

{{City infobox
|image=
|location=
|totalarea=
|population=
|notable= 
|governance=
}}