Difference between revisions of "Template:Infobox Cities and Towns"
From The Griffin's Crier
Hardcorhobbs (Talk | contribs) (Created page with "<noinclude> This is a template which can be added to any Category:Cities and Towns entry. To use it add the following code at the top of the page. Make sure to fill out t...") |
Hardcorhobbs (Talk | contribs) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is a template which can be added to any [[:Category:Cities and Towns]] entry. To use it add the following code at the top of the page. Make sure to fill out the relevant parts, or just leave them blank and the code will fill it out for you: | This is a template which can be added to any [[:Category:Cities and Towns]] entry. To use it add the following code at the top of the page. Make sure to fill out the relevant parts, or just leave them blank and the code will fill it out for you: | ||
| − | + | ||
<nowiki> | <nowiki> | ||
{{Infobox Cities and Towns | {{Infobox Cities and Towns | ||
| + | |||
|image = | |image = | ||
| + | |||
|country = | |country = | ||
| + | |||
|leader = | |leader = | ||
| − | | | + | |
| + | |pop = | ||
| + | |||
|arms = | |arms = | ||
| + | |||
| | | | ||
| + | |||
}} | }} | ||
</nowiki> | </nowiki> | ||
| − | |||
</noinclude> | </noinclude> | ||
| − | {| class="infobox" style="width: 22em; font-size: 90%; text-align: left;" | + | {| class="infobox" style="width: 22em; font-size: 90%; text-align: left; float: right;" |
! colspan="2" style="background: {{{color|#DEDEE2}}}; color: {{{color text|#000}}}; font-size: 120%; text-align: center;" | | ! colspan="2" style="background: {{{color|#DEDEE2}}}; color: {{{color text|#000}}}; font-size: 120%; text-align: center;" | | ||
{{#if: {{{image|}}} | [[Image:{{{image}}}|{{{width|200px}}}]] | '''Image Needed'''}} | {{#if: {{{image|}}} | [[Image:{{{image}}}|{{{width|200px}}}]] | '''Image Needed'''}} | ||
| Line 24: | Line 30: | ||
{{!}} '''Country:''' {{!!}} {{{country}}} | {{!}} '''Country:''' {{!!}} {{{country}}} | ||
}}{{ | }}{{ | ||
| − | #if: {{{ | + | #if: {{{leader<includeonly>|</includeonly>}}} | <nowiki/> |
{{!}}- | {{!}}- | ||
| − | {{!}} '''Leader:''' {{!!}} {{{leader}}} | + | {{!}} '''Leader(s):''' {{!!}} {{{leader}}} |
}}{{ | }}{{ | ||
#if: {{{pop<includeonly>|</includeonly>}}} | <nowiki/> | #if: {{{pop<includeonly>|</includeonly>}}} | <nowiki/> | ||
Latest revision as of 04:37, 20 November 2014
This is a template which can be added to any Category:Cities and Towns entry. To use it add the following code at the top of the page. Make sure to fill out the relevant parts, or just leave them blank and the code will fill it out for you:
{{Infobox Cities and Towns |image = |country = |leader = |pop = |arms = | }}
|
Image Needed Infobox Cities and Towns | |
|---|---|
| Country: | {{{country}}} |
| Leader(s): | {{{leader}}} |
| Population: | {{{pop}}} |
| Arms: | {{{arms}}} |