Template:City infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
mNo edit summary
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:0 0 5px 10px; padding:2px; background:{{{BG|#3D5266}}}; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em;  color:{{{color1|inherit}}};"
{| class="infobox" cellspacing="0" style="float:right; clear:right; width:300px; margin:10px; margin-right:0px; padding:2px; background:{{{BG|#3D5266}}}; border-radius: 0 0 .7em .7em; color:{{{color1|inherit}}};"
{{!}}-
{{!}}-
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#ffffff}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#ffffff}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
Line 8: Line 8:
{{!}}-
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#ffffff}}}; text-align:center; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section1-title|Overview}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:110%; color:{{{color2|#ffffff}}}; text-align:center; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section1-title|Overview}}}}}
{{!}}-
{{!}}-
{{#if:{{{location|}}}|
{{#if:{{{location|}}}|
{{!}} 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;" {{!}}
{{!}} 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;" {{!}}
'''{{{location-title|Location}}}''':
'''{{{location-title|Location}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} 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;" {{!}}
{{{location|}}}
{{{location|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{totalarea|}}}|
{{#if:{{{totalarea|}}}|
{{!}} 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;" {{!}}
{{!}} 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;" {{!}}
'''{{{totalarea-title|Total area}}}''':
'''{{{totalarea-title|Total area}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} 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;" {{!}}
{{{totalarea|}}}
{{{totalarea|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{population|}}}|
{{#if:{{{population|}}}|
{{!}} 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;" {{!}}
{{!}} 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;" {{!}}
'''{{{population-title|Population}}}''':
'''{{{population-title|Population}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} 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;" {{!}}
{{{population|}}}
{{{population|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{notable|}}}|
{{#if:{{{notable|}}}|
{{!}} 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;" {{!}}
{{!}} 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;" {{!}}
'''{{{notable-title|Notable structure(s)}}}''':
'''{{{notable-title|Notable structure(s)}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} 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;" {{!}}
{{{notable|}}}
{{{notable|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{governance|}}}|
{{#if:{{{governance|}}}|
{{!}} 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;" {{!}}
{{!}} 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;" {{!}}
'''{{{governance-title|Governed by}}}''':
'''{{{governance-title|Governed by}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} 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;" {{!}}
{{{governance|}}}
{{{governance|}}}
{{!}}-}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | 
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:1px; line-height:10px;" | 
|}<noinclude>
|}<noinclude>
==Usage==
==Usage==

Revision as of 13:03, July 20, 2014

City infobox
Overview
 

Usage

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