Template:City infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - ";"" to """)
m (Text replacement - "{{pagetitle\|{{{pagename\|{{#if:{{{name\|}}}\|{{{name}}}\|{{PAGETITLE}}}}}}} - {{{pagelabel\|([^ ]+) {{#ifeq:{{SUBPAGENAME}}\|Silver\|\(Silver Timeline\)}}}}}}}" to "{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|$1}}}}}")
(39 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|#ffffff}}}; text-align:center; 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}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}}
{{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>
! colspan="2" style="font-size:90%; color:{{{color2|#ffffff}}}; text-align:center; background:{{{sectionBG|#4C6680}}}" {{!}} {{{section1-title|Overview}}}}}
{{!}}-
{{#if:{{{location|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
'''{{{location-title|Location}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{location|}}}
{{!}}-}}
{{#if:{{{totalarea|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
'''{{{totalarea-title|Total area}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{totalarea|}}}
{{!}}-}}
{{#if:{{{population|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
'''{{{population-title|Population}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{population|}}}
{{!}}-}}
{{#if:{{{notable|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
'''{{{notable-title|Notable structure(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{notable|}}}
{{!}}-}}
{{#if:{{{governance|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}}
'''{{{governance-title|Governed by}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{governance|}}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px" | &nbsp;
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|City {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
==Usage==
==Usage==
<pre>
<pre>

Revision as of 11:14, March 22, 2024

City infobox
 

Usage

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