Template:DisplayItemInMatrixTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
m (1 revision imported)
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
text
text
list
list
</pre>
</pre>[[Category:ModelComparison]]
</noinclude><includeonly><!--check on content-->
</noinclude><includeonly><!--check on content-->
{{#ifeq:{{{standardoption|}}}{{{option|}}}{{{other|}}}{{{text|}}}{{{list|}}}||<td></td>
{{#ifeq:{{{standardoption|}}}{{{option|}}}{{{other|}}}{{{text|}}}{{{list|}}}||<td></td>
Line 23: Line 23:
          |{{#arraymap:{{{other|}}}|;|yy|<li class="rc-option rc-spec">yy</li>|}}
          |{{#arraymap:{{{other|}}}|;|yy|<li class="rc-option rc-spec">yy</li>|}}
               | {{#arraymap:{{{standardoption|}}}|;|xx
               | {{#arraymap:{{{standardoption|}}}|;|xx
                   |{{MarkOptionTemplate|stdoption=xx|options={{{option|}}} }}
                   |{{#ifeq:{{{option|}}}||<!-- print  stdoption -->
                      <li class="rc-option rc-standard">xx</li>
                    |{{#ifexpr:
                      {{#arraymap:{{{option|}}}|;|qq|{{#ifeq:xx|qq|1|0}} | +  }} > 0      <!-- standard option is selected -->
                      |<li class="rc-option rc-selected ">xx</li>
                      |<li class="rc-option rc-standard">xx</li>
                    }}
                  }}
                 |}}<!--
                 |}}<!--
               -->{{#ifeq:{{{other|}}}||
               -->{{#ifeq:{{{other|}}}||

Latest revision as of 12:24, 21 November 2021

title
standardoption
option
other
text
list