Template:MarkOptionTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
</pre> | </pre> | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
-->{{#ifeq:{{{stdoption|}}}|||<!-- | |||
-->{{#ifexpr:{{#arraymap:{{{options|}}}|;|xx<!-- | -->{{#ifexpr:{{#arraymap:{{{options|}}}|;|xx<!-- | ||
-->|{{#ifeq:{{{stdoption|}}}|xx|1|0}}<!-- | -->|{{#ifeq:{{{stdoption|}}}|xx|1|0}}<!-- | ||
Line 12: | Line 13: | ||
-->|<li style="color:DimGray;font-style: italic;">{{{stdoption|}}}</li><!-- | -->|<li style="color:DimGray;font-style: italic;">{{{stdoption|}}}</li><!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></includeonly> | -->}}</includeonly> |
Revision as of 11:01, 25 August 2016
returns a list element with a different representation for selected/nonselected options parameters: 1)stdoption 2) options (the selected option list