Difference between revisions of "Template:Infobox Settlement"

From Chezwiki
Jump to: navigation, search
Line 70: Line 70:
  
 
<noinclude>
 
<noinclude>
 
 
 
{{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>

Revision as of 09:22, 25 June 2008