Template:City infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "|{{!}}-|{{!}}-" to "||")
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:300px; background:{{{BG|#3D5266}}}; color:{{{color1|inherit}}}" cellspacing="0"
{{Infobox|start|bg=#3D5266}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}}}
|-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{#if:{{{image|}}}|
 
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|section|title={{{section1-title|Overview}}}|bg=#4C6680|entries=
}}
{{Infobox|entry|title={{{location-title|Location}}}|content={{{location|}}}}}
|-
{{Infobox|entry|title={{{totalarea-title|Total area}}}|content={{{totalarea|}}}}}
{{#if:{{{hidea|}}}||
{{Infobox|entry|title={{{population-title|Population}}}|content={{{population|}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section1-title|Overview}}}
{{Infobox|entry|title={{{notable-title|Notable structure(s)}}}|content={{{notable|}}}}}
}}
{{Infobox|entry|title={{{governance-title|Governed by}}}|content={{{governance|}}}}}
|-
{{#if:{{{location|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{location-title|Location}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{location}}}
}}
|-
{{#if:{{{totalarea|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{totalarea-title|Total area}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{totalarea}}}
}}
|-
{{#if:{{{population|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{population-title|Population}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{population}}}
}}
|-
{{#if:{{{notable|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{notable-title|Notable structure(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{notable}}}
}}
|-
{{#if:{{{governance|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{governance-title|Governed by}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{governance}}}
}}
}}
|-
| class="infoboxfooter" colspan="2" |  
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|City {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
==Usage==


{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|City}}}}}</includeonly><noinclude>{{clear}}
==Usage instructions==
<pre>
<pre>
{{City infobox
{{City infobox
Line 55: Line 19:
|totalarea=
|totalarea=
|population=
|population=
|notable=  
|notable=
|governance=
|governance=
}}
}}

Latest revision as of 10:11, June 14, 2024

City infobox
 

Usage instructions

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