Template:DisplayItemTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
<div style="float:left;width:150px;font-weight: bold;height:40px" >{{{title|}}}</div>
<div style="float:left;width:150px;font-weight: bold;height:40px" >{{{title|}}}</div>
{{#ifeq:{{{text|}}}| <!-- if no text, then list options  
{{#ifeq:{{{text|}}}| <!-- if no text, then list options  
  -->|<div style="float:left;-webkit-columns:{{{cols|}}}; -moz-columns:{{{cols|}}}; columns:{{{cols|}}};"><!--
  -->|<div style="float:left;height:40px;-webkit-columns:{{{cols|}}}; -moz-columns:{{{cols|}}}; columns:{{{cols|}}};"><!--
  --><ul>{{#arraymap:{{{option|}}}|;|xx|<li>xx</li>|}}<!--
  --><ul>{{#arraymap:{{{option|}}}|;|xx|<li>xx</li>|}}<!--
  -->{{#ifeq:{{{other|}}}|||{{#arraymap:{{{other|}}}|;|yy|<li style="color:Green">yy</li>|}} }}
  -->{{#ifeq:{{{other|}}}|||{{#arraymap:{{{other|}}}|;|yy|<li style="color:Green">yy</li>|}} }}
Line 17: Line 17:
  --><div style="clear: both;"></div><!--
  --><div style="clear: both;"></div><!--
  -->{{#ifeq:{{{comment|}}}||<!--
  -->{{#ifeq:{{{comment|}}}||<!--
   -->|<div style="margin-left:150px;font-style: italic" ><p>Note: {{{comment|}}}</p></div><!--
   -->|<div style="margin-left:150px;font-style: italic;height:40px" >Note: {{{comment|}}}</div><!--
  -->}}<!--
  -->}}<!--
here comes the text
here comes the text
-->|<div style="margin-left:150px;max-width:700px" ><p>{{{text|}}}</p></div><!--
-->|<div style="margin-left:150px;max-width:700px;height:40px" >{{{text|}}}</div><!--
-->}}</includeonly>
-->}}</includeonly>

Revision as of 19:09, 19 August 2016

title
option
other
comment
text
cols