Template:DisplayItemInMatrixTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
en>Rineke Oostenrijk
No edit summary
Line 9: Line 9:
</pre>
</pre>
</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>
   |<td class="rc-matrix-data"><!--
   |<td class="rc-matrix-data"><!--
   -->{{#ifeq:{{{?text|}}}||| <!--  display text  -->
   -->{{#ifeq:{{{text|}}}||| <!--  display text  -->
         <p>{{{?text|}}}</p><!--
         <p>{{{text|}}}</p><!--
   -->}}<!--
   -->}}<!--
   -->{{#ifeq:{{{?list|}}}||| <!--  display list, list assumes text for title display  -->
   -->{{#ifeq:{{{list|}}}||| <!--  display list, list assumes text for title display  -->
         <ol>
         <ol>
         {{#arraymap:{{{?list|}}}|;|xx|<li>xx</li>|}}</ol><!--
         {{#arraymap:{{{list|}}}|;|xx|<li>xx</li>|}}</ol><!--
   -->}}<!--
   -->}}<!--
   -->{{#ifeq:{{{?standardoption|}}}{{{?other|}}}|||
   -->{{#ifeq:{{{standardoption|}}}{{{other|}}}|||
           <ul class="rc-option"><!--
           <ul class="rc-option"><!--
           -->{{#ifeq:{{{?standardoption|}}}|<!-- display  other -->
           -->{{#ifeq:{{{standardoption|}}}|<!-- display  other -->
          |{{#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|}}} }}
                   |{{MarkOptionTemplate|stdoption=xx|options={{{option|}}} }}
                 |}}<!--
                 |}}<!--
               -->{{#ifeq:{{{?other|}}}||
               -->{{#ifeq:{{{other|}}}||
                   |{{#arraymap:{{{?other|}}}|;|yy|<li class="rc-option rc-spec">yy</li>|}}<!--
                   |{{#arraymap:{{{other|}}}|;|yy|<li class="rc-option rc-spec">yy</li>|}}<!--
               -->}}<!--
               -->}}<!--
           -->}}<!--
           -->}}<!--

Revision as of 09:57, 30 March 2020

title
standardoption
option
other
text
list