Difference between revisions of "Template:CityDropDown"

From Culture.si
Line 1: Line 1:
 
{{{city = {{#cgi:city|{{{city|}}}}}}}}
 
{{{city = {{#cgi:city|{{{city|}}}}}}}}
 
{{{country = {{#cgi:country|{{{country|}}}}}}}}
 
{{{country = {{#cgi:country|{{{country|}}}}}}}}
 +
{{#if:{{{country}}}|
 
{{DataDropDown
 
{{DataDropDown
 +
|id = CityDropDown
 
|name=city
 
|name=city
 
|value={{{city|}}}
 
|value={{{city|}}}
Line 11: Line 13:
 
   |#where = Event.Country={{#cast:text|{{{country}}}|db}}
 
   |#where = Event.Country={{#cast:text|{{{country}}}|db}}
 
   }}
 
   }}
 +
}}
 +
|<span id="CityDropDown"></span>
 
}}
 
}}

Revision as of 17:35, 11 May 2016