Template:DisplayItemTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<pre>
title
standardoption
option
other
comment
text
cols
</pre>
</noinclude><includeonly><!--check on content-->
{{#ifeq:{{{standardoption|}}}{{{option|}}}{{{other|}}}{{{comment|}}}{{{text|}}}{{{list|}}}||
  |<div style="clear:both; max-width:900px; height:100%;"><!--
  -->{{#ifeq:{{{text|}}}||| <!--  display text  -->
        <div style="clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:">
        <p>'''{{{title|}}}'''</p>
        </div>
        <div style="float:left; margin-left:15px; max-width:500px; height:100%; vertical-align:top;">
        <p>{{{text|}}}</p>
        </div><!--
  -->}}<!--
  -->{{#ifeq:{{{list|}}}||| <!--  display list  -->
        <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; max-width:500px; height:100%; vertical-align:top;  ">
        <ul>
        {{#arraymap:{{{list|}}}|;|xx|<li>xx</li>|}}</ul>
        </div><!--
  -->}}<!--
  -->{{#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; max-width:500px; height:100%; vertical-align:top;">
              <ul style="-webkit-column-count: {{{cols|}}}; -moz-column-count: {{{cols|}}}; column-count: {{{cols|}}}; <noinclude>
<pre>
<pre>
title
title

Revision as of 16:53, 22 August 2016

title
standardoption
option
other
comment
text
cols