Difference between revisions of "Template:DataDropDown"
Line 3: | Line 3: | ||
|<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>}} | ||
− | {{#arr:loop | + | {{#arr:loop |
| k = v | | k = v | ||
| {{{options}}} | | {{{options}}} |
Latest revision as of 20:18, 12 December 2024