Difference between revisions of "Template:DataDropDown"

From Culture.si
Line 1: Line 1:
 
{{{value = {{{value|}}}}}}
 
{{{value = {{{value|}}}}}}
{{#eval:html
+
{{#eval:html  
 
|<select title="{{{value}}}" name="{{{name}}}" style="width:100%" {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{onchange|}}}|onchange="{{{onchange}}}"}}>
 
|<select title="{{{value}}}" name="{{{name}}}" style="width:100%" {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{onchange|}}}|onchange="{{{onchange}}}"}}>
 
   {{#if:{{{empty|}}}|<option value="" {{#ifeq:{{{value|}}}||selected}}>{{{empty}}}</option>}}
 
   {{#if:{{{empty|}}}|<option value="" {{#ifeq:{{{value|}}}||selected}}>{{{empty}}}</option>}}

Revision as of 00:16, 10 December 2024