Difference between revisions of "Template:Infobox county"

From Wikishire
Jump to: navigation, search
(Moving picture up)
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">{{#vardefine:type|county}}{{#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}}
 
|colspan=2 class= style="text-align: center; background:#D0F0C0; "|<big class="fn org">{{#vardefine:type|county}}{{#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}}
|-
+
|- class="note"
{{#if: {{{map image<includeonly>|</includeonly>}}} |
+
{{#if: {{{picture<includeonly>|</includeonly>}}} |
! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}} [[File:{{{map image}}}|170px|{{{name}}}]] }}
+
! 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="text-align: center;" {{!}} [http://wikishire.co.uk/map/#{{PAGENAMEE}}[Interactive map]]
+
 
|-
 
|-
 
{{#if: {{{database|{{PAGENAME}}|flag}}} | {{#vardefine:flag|{{database|{{PAGENAME}}|flag}}}}}}
 
{{#if: {{{database|{{PAGENAME}}|flag}}} | {{#vardefine:flag|{{database|{{PAGENAME}}|flag}}}}}}
Line 14: Line 12:
 
{{#if: {{{motto<includeonly>|</includeonly>}}} |
 
{{#if: {{{motto<includeonly>|</includeonly>}}} |
 
! colspan="2" style="text-align: center; font-size: 85%;" {{!}} ''{{{motto}}}'' }}
 
! colspan="2" style="text-align: center; font-size: 85%;" {{!}} ''{{{motto}}}'' }}
|- class="note"
+
|-
{{#if: {{{picture<includeonly>|</includeonly>}}} |
+
{{#if: {{{map image<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>}}}}}}}
+
! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}} [[File:{{{map image}}}|170px|{{{name}}}]] }}
 +
|-
 +
!colspan="2" style="text-align: center;" {{!}} [http://wikishire.co.uk/map/#{{PAGENAMEE}}[Interactive map]]
 
|-
 
|-
 
{{#ifeq: {{#var:state}}|Republic of Ireland|{{#if: {{{province<includeonly>|</includeonly>}}} |
 
{{#ifeq: {{#var:state}}|Republic of Ireland|{{#if: {{{province<includeonly>|</includeonly>}}} |

Revision as of 22:33, 14 January 2015

{{{name}}}
error: name not on list
[[File:{{{picture}}}|240px]]
{{{picture caption}}}
{{{motto}}}
[[File:{{{map image}}}|170px|{{{name}}}]]
[Interactive map]
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 The Quay 2.jpg
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
SlieveLeague ToneMapped.jpg
Slieve League cliffs
Province: Ulster
Area: 1,869 square miles
Population: 147,264
County seat: Lifford