Template:City infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "<div>{{{caption}}}</div>" to "{{clear}}{{{caption}}}")
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(38 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="width:300px; background:{{{BG|#3D5266}}}; color:{{{color1|inherit}}}"
{{Infobox|start|bg=#3D5266}}
{{!}}-
{{Infobox|title|name={{{name|}}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}; font-size:120%" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|section|title={{{section1-title|Overview}}}|bg=#4C6680|entries=
! style="background:{{{imageBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|entry|title={{{location-title|Location}}}|content={{{location|}}}}}
{{Infobox|entry|title={{{totalarea-title|Total area}}}|content={{{totalarea|}}}}}
{{Infobox|entry|title={{{population-title|Population}}}|content={{{population|}}}}}
{{Infobox|entry|title={{{notable-title|Notable structure(s)}}}|content={{{notable|}}}}}
{{Infobox|entry|title={{{governance-title|Governed by}}}|content={{{governance|}}}}}
}}
}}
{{!}}-
 
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|City}}}}}</includeonly><noinclude>{{clear}}
! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section1-title|Overview}}}}}
==Usage instructions==
{{!}}-
{{#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|}}}
{{!}}-}}
| colspan="2" style="text-align:center; line-height:10px" | &nbsp;
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|City {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
==Usage==
<pre>
<pre>
{{City infobox
{{City infobox
Line 49: 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=
}}