Difference between revisions of "Template:Infobox Settlement"

From Chezwiki
Jump to: navigation, search
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" style="width: 27em; vertical-align: top;"
+
<includeonly>{| class="infobox" style="width: 27em; vertical-align: top; float: left; background-color: #FFFFFF;"
 
! style="background-color: #EA2001; color:white;" colspan="2" | {{{name}}}{{#if:{{{native_name|}}}|<br /><small>{{{native_name}}}</small>}}
 
! style="background-color: #EA2001; color:white;" colspan="2" | {{{name}}}{{#if:{{{native_name|}}}|<br /><small>{{{native_name}}}</small>}}
 
|-
 
|-
Line 31: Line 31:
 
}}
 
}}
 
|-
 
|-
{{#if:{{{parent_tate|}}}
+
{{#if:{{{parent_state|}}}
 
     |{{!}} '''State''' {{!}}{{!}} {{{parent_state}}}
 
     |{{!}} '''State''' {{!}}{{!}} {{{parent_state}}}
 
}}
 
}}
Line 56: Line 56:
 
|-
 
|-
 
{{#if:{{{est_by_name|}}}
 
{{#if:{{{est_by_name|}}}
     |{{!}} '''{{{est_by_title}}}'' {{!}}{{!}} {{{est_by_name}}}
+
     |{{!}} ''&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{{est_by_title}}}'' {{!}}{{!}} {{{est_by_name}}}
 
}}
 
}}
 
|-
 
|-
Line 72: Line 72:
  
  
 
{{Documentation, template}}
 
 
Example:
 
{| class="infobox" style="width: 27em; vertical-align: top;"
 
! style="background-color: #EA2001; color:white;" colspan="2" | {{{name}}}<br /><small>{{{native_name}}}</small>
 
|-
 
|-
 
    |{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{photo|<noinclude>Placeholder.png</noinclude>}}}|250px|{{{Caption|}}}]]<br /> <small>{{{Caption}}}</small>
 
----
 
}}
 
}}
 
|-
 
| align="left" width: 15%; | &nbsp;
 
| align="right" | &nbsp;
 
 
|-
 
    |{{!}} '''Official Name''' {{!}}{{!}} {{{official_name}}}
 
|-
 
    |{{!}} '''Official Name (native)''' {{!}}{{!}} {{{native_official_name}}}
 
|-
 
    |{{!}} '''City''' {{!}}{{!}} {{{parent_city}}}
 
|-
 
    |{{!}} '''County''' {{!}}{{!}} {{{parent_county}}}
 
|-
 
    |{{!}} '''Region''' {{!}}{{!}} {{{parent_region}}}
 
|-
 
    |{{!}} '''State''' {{!}}{{!}} {{{parent_state}}}
 
|-
 
    |{{!}} '''Type of Government''' {{!}}{{!}} {{{gov_type}}}
 
|-
 
    |{{!}} '''Seat''' {{!}}{{!}} {{{seat}}}
 
|-
 
    |{{!}} '''{{{gov_leader_type}}}''' {{!}}{{!}} {{{gov_leader_name}}} {{#if:{{{gov_leader_party|}}} | {{{gov_leader_party}}} }}
 
|-
 
    |{{!}} '''{{{gov_leader_type_2}}}''' {{!}}{{!}} {{{gov_leader_name_2}}} {{#if:{{{gov_leader_party_2|}}} | {{{gov_leader_party_2}}} }}
 
|-
 
    |{{!}} '''{{{est_title}}}''' {{!}}{{!}} {{{est_date}}}
 
|-
 
    |{{!}} '''{{{est_by_title}}}'' {{!}}{{!}} {{{est_by_name}}}
 
|-
 
    |{{!}} '''Population''' {{!}}{{!}} {{{pop}}}
 
|-
 
    |{{!}} '''Territory''' {{!}}{{!}} {{{area}}}
 
|}}
 
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 09:34, 25 June 2008