Template:MarkOptionTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#ifeq:{{{options|}}}||<!-- print stdoption | {{#ifeq:{{{options|}}}||<!-- print stdoption | ||
--><li | --><li class="rc-standard">{{{stdoption|}}}</li><!-- | ||
-->|{{#ifexpr:<!-- | -->|{{#ifexpr:<!-- | ||
-->{{#arraymap:{{{options|}}}|;|xx<!-- | -->{{#arraymap:{{{options|}}}|;|xx<!-- | ||
Line 14: | Line 14: | ||
}} > 0 <!-- standard option is selected | }} > 0 <!-- standard option is selected | ||
-->|<li style="font-weight: bold;">{{{stdoption|}}}</li><!-- | -->|<li style="font-weight: bold;">{{{stdoption|}}}</li><!-- | ||
-->|<li | -->|<li class="rc-standard">{{{stdoption|}}}</li><!-- | ||
-->}} | -->}} | ||
}}</includeonly> | }}</includeonly> |
Revision as of 11:00, 29 August 2016
returns a list element with a different representation for selected/nonselected options parameters: 1)stdoption 2) options (the selected option list