Template:Infobox county: Difference between revisions
Jump to navigation
Jump to search
m Flag size |
No edit summary |
||
Line 1: | Line 1: | ||
{| class="infobox geography vcard" style="width:22em; text-align:left; font-size: 88%; line-height: 1.5em" style="float: right; font-size: 85%; border: 1px solid lightgrey; padding: 4px; margin-left: 1em;" | {| class="infobox geography vcard" style="width:22em; text-align:left; font-size: 88%; line-height: 1.5em" style="float: right; font-size: 85%; border: 1px solid lightgrey; padding: 4px; margin-left: 1em;" | ||
|colspan=2 class= style="text-align: center; background:#D0F0C0; "|<big class="fn org"> | |colspan=2 class= style="text-align: center; background:#D0F0C0; "|<big class="fn org">{{#vardefine:shire|{{namefix|{{{name}}}}}}}{{#vardefine:state|{{State-BI|{{#var:shire}}}}}}{{#vardefine:partbi|{{Part-BI|{{#var:shire}}}}}}'''{{#var:shire}}'''</big>{{#if: {{{welsh| }}}| <br>{{lang|cy|{{{welsh}}} }} }}{{#if: {{{gaelic| }}}| <br>{{lang|gd|{{{gaelic}}} }} }}{{#if: {{{irish| }}}| <br>{{lang|ga|{{{irish}}} }} }}{{#if: {{{scots| }}}| <br>{{lang|sco|{{{scots}}} }} }}{{#if: {{{cornish| }}}| <br>{{lang|kw|{{{cornish}}} }} }}<br>{{#var:state}} | ||
|- | |- | ||
{{#if: {{{map image<includeonly>|</includeonly>}}} | | {{#if: {{{map image<includeonly>|</includeonly>}}} | | ||
Line 14: | Line 14: | ||
! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}} [[File:{{{picture}}}|240px]]{{#if: {{{picture caption<includeonly>|</includeonly>}}}|<br />{{{picture caption<includeonly>|</includeonly>}}}}}}} | ! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}} [[File:{{{picture}}}|240px]]{{#if: {{{picture caption<includeonly>|</includeonly>}}}|<br />{{{picture caption<includeonly>|</includeonly>}}}}}}} | ||
|- | |- | ||
{{#ifeq: {{ | {{#ifeq: {{#var:state}}|Republic of Ireland|{{#if: {{{province<includeonly>|</includeonly>}}} | | ||
! style="background: #D0F0C0;" {{!}} [[Provinces of Ireland|Province]]: | ! style="background: #D0F0C0;" {{!}} [[Provinces of Ireland|Province]]: | ||
{{!}} {{{province}}} }} }} | {{!}} {{{province}}} }} }} | ||
Line 27: | Line 27: | ||
|- class="note" | |- class="note" | ||
{{#if: {{{county town<includeonly>|</includeonly>}}} | | {{#if: {{{county town<includeonly>|</includeonly>}}} | | ||
! style="background: #D0F0C0;" {{!}} {{Countytown|{{ | ! style="background: #D0F0C0;" {{!}} {{Countytown|{{#var:shire}} }}: | ||
{{!}} {{{county town}}} }} | {{!}} {{{county town}}} }} | ||
|- class="note" | |- class="note" | ||
Line 34: | Line 34: | ||
{{!}} {{{biggest town}}} }} | {{!}} {{{biggest town}}} }} | ||
|- | |- | ||
{{#ifeq: {{ | {{#ifeq: {{#var:state}}|United Kingdom| | ||
! style="background: #D0F0C0;" {{!}} [[County flowers|County flower]]: | ! style="background: #D0F0C0;" {{!}} [[County flowers|County flower]]: | ||
{{!}} ''{{countyflower|{{ | {{!}} ''{{countyflower|{{#var:shire}}}}'' }} | ||
|}<includeonly> | |}<includeonly> | ||
{{Namesort|{{{name}}}}} | {{Namesort|{{{name}}}}} | ||
<!--{{DEFAULTSORT:{{sortname|{{ | <!--{{DEFAULTSORT:{{sortname|{{#var:shire}} }} }}--> | ||
[[Category:{{ | [[Category:{{#var:shire}}]] | ||
[[Category:{{#switch:{{ | [[Category:{{#switch:{{#var:state}} | ||
|United Kingdom=British counties | |United Kingdom=British counties | ||
|Republic of Ireland=Counties of the Republic of Ireland | |Republic of Ireland=Counties of the Republic of Ireland | ||
|}}]]</includeonly><noinclude>{{Infobox County/Doc}}</noinclude> | |}}]]</includeonly><noinclude>{{Infobox County/Doc}}</noinclude> |
Revision as of 22:45, 15 June 2011
{{{name}}} error: name not on list | |
[[File:{{{map image}}}|170px|{{{name}}}]] | |
---|---|
[[File:{{{flag}}}|150px|Flag of {{{name}}}]] | |
{{{motto}}} | |
[[File:{{{picture}}}|240px]] {{{picture caption}}} | |
Area: | {{{area}}} |
Population: | {{{population}}} |
County seat: | {{{county town}}} |
Biggest town: | {{{biggest town}}} |
Usage
Blank template
{{Infobox county | name= | welsh= | gaelic= | irish= | scots= | cornish= | map image= | flag= | motto= | picture= | picture caption | province= | area= | population= | county town= | biggest town= }}
Examples
Example 1: Huntingdonshire
Name United Kingdom | |
Flag | |
---|---|
St Ives | |
Area: | 359 square miles |
County town: | Huntingdon |
Biggest town: | St Neots |
County flower: | Water-violet [1] |
Example 2: County Donegal
Name Irish: Contae Dhún na nGall Republic of Ireland | |
Slieve League cliffs | |
---|---|
Province: | Ulster |
Area: | 1,869 square miles |
Population: | 147,264 |
County seat: | Lifford |