Difference between revisions of "Template:Map"

From Fancyclopedia 3
Jump to navigation Jump to search
Line 1: Line 1:
 
{{#ifeq:{{{1|}}}|||{{#ifeq:{{{2|}}}||{{{1}}}|{{{2}}}}}~[[{{{1}}}]]~;}}
 
{{#ifeq:{{{1|}}}|||{{#ifeq:{{{2|}}}||{{{1}}}|{{{2}}}}}~[[{{{1}}}]]~;}}
  
{{#ifexist:{{{2|}}}|[[{{{2}}}|{{{2}}}}};
+
{{#ifexist:{{{2|}}}|2 exists | 2 does not exist}}
 +
 
 +
{{#ifexist:{{{2|}}}|[[{{{2}}}|{{{2}}}}}
  
 
bother
 
bother

Revision as of 05:44, 23 July 2020


2 does not exist

{{#ifexist:|[[{{{2}}}|{{{2}}}}}

bother


{{#ifeq:|||{{{1}}}~[[{{{1}}}]]~{{#ifexist:{{{2}}}|[[{{{2}}}|{{{2}}}}};}}

{{#ifeq:|||{{{3}}}~[[{{{3}}}]]~{{#ifexist:{{{4}}}|[[{{{4}}}|{{{4}}}}};}}


{{#display_map: {{#ifeq:|||{{{1}}}~[[{{{1}}}]]~{{#ifexist:{{{2}}}|[[{{{2}}}|{{{2}}}}};}} {{#ifeq:|||{{{3}}}~[[{{{3}}}]]~{{#ifexist:{{{4}}}|[[{{{4}}}|{{{4}}}}};}} |service=leaflet}}