Difference between revisions of "Template:Stub"

From Wikishire
Jump to: navigation, search
Line 1: Line 1:
 +
{{#if:{{{1}}}|{{#vardefine:label1|{{{1}}}|{{#vardefine:label1|none}} }} }}
 
{{#vardefine:stublabel|{{#switch:{{#var:type}}
 
{{#vardefine:stublabel|{{#switch:{{#var:type}}
|county={{#if:{{#var:part-bi}}|Republic of Ireland|Irish|British}} county
+
|county={{#ifeq:{{#var:part-bi}}|Republic of Ireland|Irish|British}} county
 
|town={{#var:shire}}
 
|town={{#var:shire}}
|{{#if:{{#varexists:shire}}|1|{{#var:shire}}|{{{1}}} }} }}}}''{{#if:{{#varexists:stublabel}}|1|This {{#var:stublabel}} article is a stub:|This article is a stub:}} help to improve'' Wikishire ''by [{{fullurl:{{FULLPAGENAME}}|action=edit}} building it up].''<includeonly>{{#if:{{#varexists:stublabel}}|1|[[Category:{{#var:stublabel}} stubs]]|[[Category:Stubs]]}} {{#if:{{#var:type}}|hill|[[Category:Mountain and hill stubs]]}}</includeonly>
+
|{{#var:label1}} }}
 +
{{#ifeq:{{#var:stublabel}}|none
 +
|{{#ifeq:{{#varexists:shire}}|1|{{#vardefine:stublabel|{{#var:shire}} }} }} }}
 +
{{#ifeq:{{#var:stublabel}}|none|{{Stub (no cat}}|{{Stub (in cat)}} }}{{Hill stub cat}}<noinclude>[[Category:Stub templates|Stub]]

Revision as of 20:20, 20 August 2011

{{#vardefine:stublabel|{{{1}}}

This {{{1}}} article is a stub: help to improve Wikishire by building it up. [[Category:{{{1}}} stubs]]