Difference between revisions of "Template:Munro"

From Wikishire
Jump to: navigation, search
(Created page with '{{#switch:{{Part-BI|{{#var:shire}}}} |Scotland=Category:Munros [[Category:Munros of {{#var:shire}}]]<!--Bottom box here when done--> |England |Northern Ireland |Republic of I…')
 
Line 1: Line 1:
{{#switch:{{Part-BI|{{#var:shire}}}}
+
<includeonly>{{#switch:{{Part-BI|{{#var:shire}}}}
|Scotland=[[Category:Munros]] [[Category:Munros of {{#var:shire}}]]<!--Bottom box here when done-->
+
|Scotland={{#ifeq:{{#varexists:shire 3}}|1|{{munro 3|{{#var:shire 1}}|{{#var:shire 2}}|{{#var:shire 3}} }}|{{#ifeq:{{#varexists|shire 2}}|{{munro 2|{{#var:shire 1}}|{{#var:shire 2}} }}|{{munro 1|{{#var:shire}} }} }} }}
 
|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]]<!--Bottom box here when done-->}}
<noinclude>[[Category:Categorisation templates|Munro]]<!--[[Category:Bottom boxes|Munro]]-->
+
</includeonly><noinclude>[[Category:Categorisation templates|Munro]]<!--[[Category:Bottom boxes|Munro]]-->

Revision as of 12:31, 18 September 2013