Template:Stub: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
Undo revision 22034 by Owain (talk)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{{1}}}|{{#vardefine:label1|{{{1}}}|{{#vardefine:label1|none}} }} }}
{{clear}}
{{#vardefine:stublabel|{{#switch:{{#var:type}}
{{#if:{{{1|}}}|{{Stub (in cat)|{{{1}}}}}|{{#switch:{{#var:type}}
|county={{#ifeq:{{#var:part-bi}}|Republic of Ireland|Irish|British}} county
|county={{Stub (in cat)|county}}
|town={{#var:shire}}
|territory={{Stub (in cat)|territory}}
|{{#var:label1}} }}
|airport={{Stub (in cat)|airport}}
{{#ifeq:{{#var:stublabel}}|none
|hill={{Stub (in cat)|Mountain or hill}}
|{{#ifeq:{{#varexists:shire}}|1|{{#vardefine:stublabel|{{#var:shire}} }} }} }}
|{{#ifeq:{{#varexists:shire}}|1|{{Stub (in cat)|{{#var:shire}}}}|{{Stub (no cat)}}}}}}}}<noinclude>[[Category:Stub templates|Stub]]
{{#ifeq:{{#var:stublabel}}|none|{{Stub (no cat}}|{{Stub (in cat)}} }}{{Hill stub cat}}<noinclude>[[Category:Stub templates|Stub]]

Latest revision as of 17:35, 21 June 2014

This article is a stub: help to improve Wikishire by building it up.