Difference between revisions of "Template:Stub"

From Wikishire
Jump to: navigation, search
(Reverted to earlier version)
Line 1: Line 1:
{{#if:{{{1}}}|{{#vardefine:label1|{{{1}}} }} }}
+
''This {{{1|}}} article is a stub: help to improve'' Wikishire ''by [{{fullurl:{{FULLPAGENAME}}|action=edit}} building it up].''<includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}} Stubs]]|[[Category:Stubs]]}}</includeonly><noinclude>[[Category:Stub templates|Stub]]
{{#vardefine:label2|
+
{{#switch:{{#var:type}}
+
|county={{#ifeq:{{#var:partbi}}|Republic of Ireland|Irish|British}} county
+
|town={{#var:shire}}
+
|{{#var:label1|none}} }}
+
{{#ifeq:{{#var:label2}}|none
+
|{{#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]]
+

Revision as of 21:15, 20 August 2011

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