Template:City infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "background:{{{fieldBG\|([^\n}]+)}}}; border-bottom:1px solid {{{lineBG\|([^\n}]+)}}};" to "background:{{{fieldBG|$1}}}; border-color:{{{lineBG|$2}}};")
m (Text replacement - "px;"" to "px"")
Line 11: Line 11:
{{!}}-
{{!}}-
{{#if:{{{location|}}}|
{{#if:{{{location|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
'''{{{location-title|Location}}}''':
'''{{{location-title|Location}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}};" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}};" {{!}}
Line 17: Line 17:
{{!}}-}}
{{!}}-}}
{{#if:{{{totalarea|}}}|
{{#if:{{{totalarea|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
'''{{{totalarea-title|Total area}}}''':
'''{{{totalarea-title|Total area}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}};" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}};" {{!}}
Line 23: Line 23:
{{!}}-}}
{{!}}-}}
{{#if:{{{population|}}}|
{{#if:{{{population|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
'''{{{population-title|Population}}}''':
'''{{{population-title|Population}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}};" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}};" {{!}}
Line 29: Line 29:
{{!}}-}}
{{!}}-}}
{{#if:{{{notable|}}}|
{{#if:{{{notable|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
'''{{{notable-title|Notable structure(s)}}}''':
'''{{{notable-title|Notable structure(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}};" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}};" {{!}}
Line 35: Line 35:
{{!}}-}}
{{!}}-}}
{{#if:{{{governance|}}}|
{{#if:{{{governance|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
'''{{{governance-title|Governed by}}}''':
'''{{{governance-title|Governed by}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}};" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}};" {{!}}
{{{governance|}}}
{{{governance|}}}
{{!}}-}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px;" | 
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px" | 
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|City {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|City {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
==Usage==
==Usage==

Revision as of 23:12, September 14, 2022

City infobox
Overview
 

Usage

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