Difference between revisions of "Template:DataDropDown"
Line 1: | Line 1: | ||
+ | {{{value}}} | ||
{{#eval:html | {{#eval:html | ||
|<select name="{{{name}}}" style="width:100%"> | |<select name="{{{name}}}" style="width:100%"> | ||
Line 5: | Line 6: | ||
| k = v | | k = v | ||
| {{{options}}} | | {{{options}}} | ||
− | | each = {{#if:{{{v|}}}|<option value="{{{v}}}" {{#ifeq:{{{v}}}|{{{value|}}}|selected}}>{{#title:pagename|{{{v}}}}}</option>}} | + | | each = {{#if:{{{v|}}}|<option value="{{{v}}}" {{#ifeq:{{{v}}}|{{{value|}}}|selected}}>{{#title:pagename|{{{v}}}}} {{{value}}}</option>}} |
}} | }} | ||
</select> | </select> | ||
}} | }} |
Revision as of 20:55, 12 August 2015
{{{value}}}