Difference between revisions of "Template:Infobox Settlement"
From Chezwiki
| Line 67: | Line 67: | ||
}} | }} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
| + | |||
| + | |||
| + | |||
{{Documentation, template}} | {{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%; | | ||
| + | | align="right" | | ||
| + | |||
| + | |- | ||
| + | |{{!}} '''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}}]] | [[Category:Templates using ParserFunctions|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 09:17, 25 June 2008
Template:Documentation, template
Example:
| {{{name}}} {{{native_name}}} | |
|---|---|
| colspan="2" style="text-align: center;" | File:Placeholder.png {{{Caption}}} }} }} | |
| 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}}} |
| {{{gov_leader_type_2}}} | {{{gov_leader_name_2}}} |
| {{{est_title}}} | {{{est_date}}} |
| '{{{est_by_title}}} | {{{est_by_name}}} |
| Population | {{{pop}}} |
| Territory | {{{area}}} |