Template:Entity
From Green Policy
(Difference between revisions)
Line 4: | Line 4: | ||
{{ #if: {{{Country|}}}|[[Country::{{{Country}}}]] }} | {{ #if: {{{Country|}}}|[[Country::{{{Country}}}]] }} | ||
{{ #vardefine: loc|{{{Locale|}}} {{{Region|}}} {{{Country|}}} }}{{ #vardefine: geoloc|{{ #geocode: {{ #var: loc }} }} }}{{ #if: {{ #var: geoloc }}| | {{ #vardefine: loc|{{{Locale|}}} {{{Region|}}} {{{Country|}}} }}{{ #vardefine: geoloc|{{ #geocode: {{ #var: loc }} }} }}{{ #if: {{ #var: geoloc }}| | ||
− | <div style="float:right; width: 50%">{{ #display_map: {{ #var: | + | <div style="float:right; width: 50%">{{ #display_map: {{ #var: loc }} }}</div> |
{{ #set: geoloc={{ #var: geoloc }} }} | {{ #set: geoloc={{ #var: geoloc }} }} | ||
}} | }} |