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|}}}|||<!--
-->{{#ifeq:{{{text|}}}||| <!--  display text  -->
  -->{{#ifeq:{{{text|}}}||| <!--  display text  -->
    <table>
      <table>
      <tr><th style="width:150px;">{{{title|}}}</th>
        <tr><th style="width:150px;">{{{title|}}}</th>
          <td>{{{text|}}}</td></tr>
            <td>{{{text|}}}</td></tr>
    </table><!--
      </table><!--
-->}}<!--
  -->}}<!--
-->{{#ifeq:{{{option|}}}{{{other|}}}{{{comment|}}}|||<!-- trio option, other, comment -->
  -->{{#ifeq:{{{option|}}}{{{other|}}}{{{comment|}}}|||<!-- trio option, other, comment -->
    <table>
      <table>
      {{#ifeq:{{{option|}}}{{{other|}}}|||
        {{#ifeq:{{{option|}}}{{{other|}}}|||
      <tr><th style="width:150px;">|{{{title|}}}</th>
        <tr><th style="width:150px;">|{{{title|}}}</th>
          <td style="-webkit-columns:{{{cols|}}}; -moz-columns:{{{cols|}}}; columns:{{{cols|}}};">
            <td style="-webkit-columns:{{{cols|}}}; -moz-columns:{{{cols|}}}; columns:{{{cols|}}};">
          <ul>{{#ifeq:{{{option|}}}||
              <ul>{{#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></td></tr><!--
          --></ul></td></tr><!--
  -->}}<!--
    -->}}<!--
  -->{{#ifeq:{{{comment|}}}|||
    -->{{#ifeq:{{{comment|}}}|||
      <tr><td></td>
          <tr><td></td>
          <td>''Note: {{{comment|}}}'' }} </td></tr><!--
              <td>''Note: {{{comment|}}}''<!--
  -->}}
    -->}}</td></tr>
  xx</table>}}
      </table><!--
</includeonly>
-->}}<!--
-->}}</includeonly>

Revision as of 10:49, 21 August 2016

title
option
other
comment
text
cols