Template:Munro: Difference between revisions

From Wikishire
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#vardefine:Munro tag|yes}}{{#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