Template:Infobox county: Difference between revisions

From Wikishire
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
|-
|-
{{#if: {{{database|{{PAGENAME}}|flag}}} | {{#vardefine:flag|{{database|{{PAGENAME}}|flag}}}}}}
{{#if: {{{database|{{PAGENAME}}|flag}}} | {{#vardefine:flag|{{database|{{PAGENAME}}|flag}}}}}}
{{#if: {{{flag| }}} | {{#vardefine:flag|{{{flag}}}}}
{{#if: {{{flag| }}} | {{#vardefine:flag|{{{flag}}}}}}}
{{#if: {{#var:flag<includeonly>|</includeonly>}} |
{{#if: {{#var:flag<includeonly>|</includeonly>}} |
! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}} [[File:{{#var:flag}}|150px|Flag of {{{name<includeonly>|</includeonly>}}}]] }}
! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}} [[File:{{#var:flag}}|150px|Flag of {{{name<includeonly>|</includeonly>}}}]] }}

Revision as of 11:12, 4 January 2015

{{{name}}}
error: name not on list
[[File:{{{map image}}}|170px|{{{name}}}]]
[Interactive map]
{{{motto}}}
[[File:{{{picture}}}|240px]]
{{{picture caption}}}
County of: {{{county of}}}
Abbreviation: {{{abbr}}}
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
Huntingdonshire
Flag of Huntingdonshire
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
County Donegal

Slieve League cliffs
Province: Ulster
Area: 1,869 square miles
Population: 147,264
County seat: Lifford