Difference between revisions of "Template:Munro"

From Wikishire
Jump to: navigation, search
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}} }} }} }}{{#vardefine:Munro tag|yes}}
+
|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}} }} }} }}{{SMC|{{#var:smcno}}}}{{#vardefine:Munro tag|yes}}
 
|England
 
|England
 
|Northern Ireland
 
|Northern Ireland

Revision as of 15:10, 12 March 2022