Template:DisplayItemTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
</noinclude><includeonly><!--check on content
</noinclude><includeonly><!--check on content
-->{{#ifeq:{{{option|}}}{{{other|}}}{{{comment|}}}{{{text|}}}||<!--
-->{{#ifeq:{{{option|}}}{{{other|}}}{{{comment|}}}{{{text|}}}||<!--
--><!-- text
-->{{#ifeq:{{{text|}}}||| <!-- display text -->
-->{{#ifeq:{{{text|}}}|||<!--
    <table>
  -->{|
      <tr><th!style="width:150px;>{{{title|}}}</th>
    !style="width:150px;|{{{title|}}}
          <td>|{{{text|}}}</td></tr>
    |{{{text|}}}
    </table><!--
    |}<!--
-->}}<!--
-->}}<!--
-->{{#ifeq:{{{option|}}}{{{other|}}}{{{comment|}}}|||<!--
-->{{#ifeq:{{{option|}}}{{{other|}}}{{{comment|}}}|||<!-- trio option, other, comment -->
--><!-- trio option, other, comment
    <table>
-->{|
      {{#ifeq:{{{option|}}}{{{other|}}}|||
    !style="width:150px;|{{{title|}}}
      <tr><th!style="width:150px;>|{{{title|}}}</th>
    |style="float:left;-webkit-columns:{{{cols|}}}; -moz-columns:{{{cols|}}}; columns:{{{cols|}}};"<!--
          <td style="float:left;-webkit-columns:{{{cols|}}}; -moz-columns:{{{cols|}}}; columns:{{{cols|}}};">
      -->|<ul>!--
          <ul>{{#ifeq:{{{option|}}}||
      -->{{#ifeq:{{{option|}}}||
                |{{#arraymap:{{{option|}}}|;|xx|<li>xx</li>|}}<!--
          |{{#arraymap:{{{option|}}}|;|xx|<li>xx</li>|}}
            -->}}<!--
        }}<!--
            -->{{#ifeq:{{{other|}}}||
      -->{{#ifeq:{{{other|}}}||
                |{{#arraymap:{{{other|}}}|;|yy|<li style="color:Green">yy</li>|}}<!--
          |{{#arraymap:{{{other|}}}|;|yy|<li style="color:Green">yy</li>|}}  
            -->}}<!--
        }}</ul><!--
        --></ul></td></tr><!--
      -->{{#ifeq:{{{comment|}}}|||<!--
  -->}}<!--
  -->|
  -->{{#ifeq:{{{comment|}}}|||
      |''Note: {{{comment|}}}'' }}
      <tr><td></td>
      |}
          <td>''Note: {{{comment|}}}'' }} </td></tr><!--
  -->}}
  </table>
</includeonly>
</includeonly>

Revision as of 10:31, 21 August 2016

title
option
other
comment
text
cols