Template:Town: Difference between revisions

Jump to navigation Jump to search
sayerleft (talk | contribs)
No edit summary
m Changed the title bar to fit the style of other infoboxes.
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|<div>
|<div>
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle"
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle"
|-
|- style="{{#if:{{{title1|}}}| |display: none;}}"
! colspan="2" style="text-align:center; color:#212121; background:#FFFFFF; font-size:200%;" | {{{name|<font color="black">{{{title1}}}</font>}}}
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" | {{{image1name|<font color="white">{{{title1}}}</font>}}}
|- style="text-align:center;"
|- style="text-align:center;{{#if:{{{type|}}}| |display: none;}}"
! colspan="2" style="text-align:center; color:#202122; background:#E6E6FA; font-size:100%;" | {{{type|<font color="black">{{{type}}}</font>}}}
! colspan="2" style="text-align:center; color:#202122; background:#E6E6FA; font-size:100%;" | {{{type|<font color="black">{{{type}}}</font>}}}
|- style="text-align:center;"
|- style="text-align:center;{{#if:{{{Full_name|}}}| |display: none;}}"
! colspan="2" style="text-align:center; color:#212121; background:#FFFFFF; font-size:100%;" | {{{Full_name|<font color="black">{{{Full_name}}}</font>}}}
! colspan="2" style="text-align:center; color:#212121; background:#FFFFFF; font-size:100%;" | {{{Full_name|<font color="black">{{{Full_name}}}</font>}}}
|-
|-
Line 31: Line 31:
| style="{{#if:{{{Nation|}}}| |display: none;}}" valign="top" | '''Nation'''
| style="{{#if:{{{Nation|}}}| |display: none;}}" valign="top" | '''Nation'''
| style="{{#if:{{{Nation|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{Nation|}}}
| style="{{#if:{{{Nation|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{Nation|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{subdivisionname|}}}| |display: none;}}" valign="top" | '''{{{subdivisionname|}}}'''
| style="{{#if:{{{subdivision|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{subdivision|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{Population|}}}| |display: none;}}" valign="top" | '''Population'''
| style="{{#if:{{{Population|}}}| |display: none;}}" valign="top" | '''Population'''
Line 141: Line 145:
|Established=Example
|Established=Example
|Disbanded=Example
|Disbanded=Example
|subdivisionname=Example
|subdivision=Example
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>