Template:Munro: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{Part-BI|{{#var:shire 1}}}} | <includeonly>{{#vardefine:Munro tag|yes}}{{#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}} }} }} }} | ||
|England | |England |