Template:City infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "border-bottom:1px solid " to "border-color:")
m (Text replacement - "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} {{!}}- {{#if:{{{image|}}}|" to "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} |- {{#if:{{{image|}}}|")
Line 1: Line 1:
{| class="infobox" style="width:300px; background:{{{BG|#3D5266}}}; color:{{{color1|inherit}}}" cellspacing="0"
{| class="infobox" style="width:300px; background:{{{BG|#3D5266}}}; color:{{{color1|inherit}}}" cellspacing="0"
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
|-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}

Revision as of 10:59, October 6, 2022

City infobox
Overview
 

Usage

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