Jump to content

Template:Europe topic: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
added the former European countries of Czechoslovakia, East Germany, the Soviet Union and Yugoslavia
don't make lines with ** and nothing else if UK countries are omitted, it can render incorrectly, make the whole line conditional including the newline
Line 82: Line 82:
* {{#if:{{{GB|♦}}}|[[{{{GB|{{{1|{{{prefix|}}}}}} {{i2c|GB|article={{{article|yes}}}}}{{{2| {{{suffix|}}}}}}}}}|United Kingdom]]|{{#if:{{{ENG|}}}{{{NIR|}}}{{{SCT|}}}{{{WLS|}}}{{yesno|{{{UK_only|}}}|no=1|yes=|blank=}}|United Kingdom}}}}<!--
* {{#if:{{{GB|♦}}}|[[{{{GB|{{{1|{{{prefix|}}}}}} {{i2c|GB|article={{{article|yes}}}}}{{{2| {{{suffix|}}}}}}}}}|United Kingdom]]|{{#if:{{{ENG|}}}{{{NIR|}}}{{{SCT|}}}{{{WLS|}}}{{yesno|{{{UK_only|}}}|no=1|yes=|blank=}}|United Kingdom}}}}<!--
UK countries (optional) in alphabetical order:
UK countries (optional) in alphabetical order:
-->{{#switch:{{lc:{{{UK_only|}}}}}|no|n|0=
-->{{#switch:{{lc:{{{UK_only|}}}}}|no|n|0={{#if:{{{ENG|♦}}}|
**{{#if:{{{ENG|♦}}}|[[{{{ENG|{{{1|{{{prefix|}}}}}} England{{{2| {{{suffix|}}}}}}}}}|England]]}}
**[[{{{ENG|{{{1|{{{prefix|}}}}}} England{{{2| {{{suffix|}}}}}}}}}|England]]}}{{#if:{{{NIR|♦}}}|
**{{#if:{{{NIR|♦}}}|[[{{{NIR|{{{1|{{{prefix|}}}}}} Northern Ireland{{{2| {{{suffix|}}}}}}}}}|Northern Ireland]]}}
**[[{{{NIR|{{{1|{{{prefix|}}}}}} Northern Ireland{{{2| {{{suffix|}}}}}}}}}|Northern Ireland]]}}{{#if:{{{SCT|♦}}}|
**{{#if:{{{SCT|♦}}}|[[{{{SCT|{{{1|{{{prefix|}}}}}} Scotland{{{2| {{{suffix|}}}}}}}}}|Scotland]]}}
**[[{{{SCT|{{{1|{{{prefix|}}}}}} Scotland{{{2| {{{suffix|}}}}}}}}}|Scotland]]}}{{#if:{{{WLS|♦}}}|
**{{#if:{{{WLS|♦}}}|[[{{{WLS|{{{1|{{{prefix|}}}}}} Wales{{{2| {{{suffix|}}}}}}}}}|Wales]]}}<!--
**[[{{{WLS|{{{1|{{{prefix|}}}}}} Wales{{{2| {{{suffix|}}}}}}}}}|Wales]]}}<!--
Making it possible to show UK countries without having to define {{{UK_only}}}:
Making it possible to show UK countries without having to define {{{UK_only}}}:
-->|#default={{#if:{{{ENG|}}}{{{NIR|}}}{{{SCT|}}}{{{WLS|}}}|
-->|#default={{#if:{{{ENG|}}}{{{NIR|}}}{{{SCT|}}}{{{WLS|}}}|

Revision as of 07:25, 6 January 2016