Difference between revisions of "Template:Stub"

From Wikishire
Jump to: navigation, search
(Undo revision 22034 by Owain (talk))
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{{1}}}|{{#vardefine:label1|{{{1}}} }} }}
+
{{clear}}
{{#vardefine:label2|
+
{{#if:{{{1|}}}|{{Stub (in cat)|{{{1}}}}}|{{#switch:{{#var:type}}
{{#switch:{{#var:type}}
+
|county={{Stub (in cat)|county}}
|county={{#ifeq:{{#var:partbi}}|Republic of Ireland|Irish|British}} county
+
|territory={{Stub (in cat)|territory}}
|town={{#var:shire}}
+
|airport={{Stub (in cat)|airport}}
|{{#var:label1|none}} }}
+
|hill={{Stub (in cat)|Mountain or hill}}
{{#ifeq:{{#var:label2}}|none
+
|{{#ifeq:{{#varexists:shire}}|1|{{Stub (in cat)|{{#var:shire}}}}|{{Stub (no cat)}}}}}}}}<noinclude>[[Category:Stub templates|Stub]]
|{{#vardefine:stublabel|{{#var:shire|none}} }}
+
|{{#vardefine:stublabel|{{#var:label2}} }} }}
+
{{#ifeq:{{#var:stublabel}}|none|{{Stub (no cat}}|{{Stub (in cat)}} }}<!--{{#ifeq:{{#var:type}}|hill|{{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.