Difference between revisions of "Template:DataDropDown"

From Culture.si
Line 6: Line 6:
 
   | k = v
 
   | k = v
 
   | {{{options}}}
 
   | {{{options}}}
   | each = {{#if:{{{v|}}}|<option value="{{{v}}}" {{#ifeq:{{{v}}}|{{{value|}}}|selected}}>{{#title:pagename|{{{v}}}}} {{{value}}}</option>}}
+
   | each = {{#if:{{{v|}}}|<option value="{{{v}}}" {{#ifeq:{{{v}}}|{{{value|}}}|selected}}>{{#title:pagename|{{{v}}}}}</option>}}
 
   }}
 
   }}
 
</select>
 
</select>
 
}}
 
}}

Revision as of 20:57, 12 August 2015