Difference between revisions of "Template:Munro"

From Wikishire
Jump to: navigation, search
m
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>{{#switch:{{Part-BI|{{#var:shire 1}}}}
 
<includeonly>{{#switch:{{Part-BI|{{#var:shire 1}}}}
|Scotland={{#ifeq:{{#varexists:shire 3}}|1|{{munro 3|{{#var:shire 1}}|{{#var:shire 2}}|{{#var:shire 3}} }}|{{#ifeq:{{#varexists|shire 2}}|1|{{munro 2|{{#var:shire 1}}|{{#var:shire 2}} }}|{{munro 1|{{#var:shire}} }} }} }}
+
|Scotland={{#ifeq:{{#varexists:shire 3}}|1|{{munro 3|{{#var:shire 1}}|{{#var:shire 2}}|{{#var:shire 3}} }}|{{#ifeq:{{#varexists:shire 2}}|1|{{munro 2|{{#var:shire 1}}|{{#var:shire 2}} }}|{{munro 1|{{#var:shire}} }} }} }}{{#vardefine:Munro tag|yes}}
 
|England
 
|England
 
|Northern Ireland
 
|Northern Ireland
 
|Republic of Ireland
 
|Republic of Ireland
|Wales=[[Category:Furth Munros]]<!--Bottom box here when done-->}}
+
|Wales=[[Category:Furth Munros]]{{#vardefine:Munro tag|furth}}<!--Bottom box here when done-->}}
 
</includeonly><noinclude>[[Category:Categorisation templates|Munro]]<!--[[Category:Bottom boxes|Munro]]-->
 
</includeonly><noinclude>[[Category:Categorisation templates|Munro]]<!--[[Category:Bottom boxes|Munro]]-->

Revision as of 14:01, 25 October 2013