Template:DisplayItemTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
<pre>
<pre>
title
title
standardoption
option
option
other
other
Line 8: Line 9:
cols
cols
</pre>
</pre>
</noinclude><includeonly><!--check on content
</noinclude><includeonly><!--check on content-->
-->{{#ifeq:{{{option|}}}{{{other|}}}{{{comment|}}}{{{text|}}}|||<!--
{{#ifeq:{{{standardoption|}}}{{{option|}}}{{{other|}}}{{{comment|}}}{{{text|}}}||
--><table style="max-width:800px;"><!--
  |<div style="clear:both; max-width:800px; height:100%;">
   -->{{#ifeq:{{{text|}}}||| <!--  display text  -->
   {{#ifeq:{{{text|}}}||| <!--  display text  -->
         <tr><th style="width:150px;vertical-align:top;text-align:right">{{{title|}}}</th>
         <div style="clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:">
            <td style="vertical-align:top;padding-left:15px;">{{{text|}}}</td><!--
        <p>'''{{{title|}}}'''</p>
   -->}}<!--
        </div>
   -->{{#ifeq:{{{option|}}}{{{other|}}}|||
        <div style="float:left; margin-left:15px; height:100%; vertical-align:top;">
         {{#ifeq:{{{option|}}}{{{other|}}}|||
        <p>{{{text|}}}</p>
        <tr><th style="width:150px;vertical-align:top;text-align:right">{{{title|}}}</th>
        </div>
            <td style=padding-left:15px;"vertical-align:top;">
   }}
   {{#ifeq:{{{option|}}}{{{other|}}}|||
         <div style="clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:top;">
        <p>'''{{{title|}}}'''</p>
        </div>
        <div style="float:left; margin-left:15px; width:200px; height:100%; vertical-align:top;">
               <ul>{{#ifeq:{{{option|}}}||
               <ul>{{#ifeq:{{{option|}}}||
                     |{{#arraymap:{{{option|}}}|;|xx|<li>xx</li>|}}<!--
                     |{{#arraymap:{{{option|}}}|;|xx|<li>xx</li>|}}<!--
Line 25: Line 31:
                     |{{#arraymap:{{{other|}}}|;|yy|<li style="color:Green">yy</li>|}}<!--
                     |{{#arraymap:{{{other|}}}|;|yy|<li style="color:Green">yy</li>|}}<!--
               -->}}<!--
               -->}}<!--
           --></ul></td><!--
           --></ul>
    -->}}<!--
        </div>
-->}}<!--
}}
-->{{#ifeq:{{{comment|}}}|||
{{#ifeq:{{{comment|}}}|||
         <td style="padding-left:15px;vertical-align:top;width:25%;">''Note: {{{comment|}}}''</td><!--
         <div style="float:right; margin-left:15px; width:200px; height:100%; vertical-align:">
-->}}
        <p>''Note: {{{comment|}}}''</p>
</tr></table><!--
        </div>
-->}}</includeonly>
    }}
  </div>
}}
</includeonly>

Revision as of 16:12, 21 August 2016

title
standardoption
option
other
comment
text
cols