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|}}}||
|<div style="width:100%"><div style="clear:left;float:left;width:150px;height:100%">'''{{{title|}}}'''</div>
|<div style="clear:left;float:left;width:150px;">'''{{{title|}}}'''</div>
{{#ifeq:{{{text|}}}| <!-- if no text, then list options  
{{#ifeq:{{{text|}}}| <!-- if no text, then list options  
  -->|<div style="-webkit-columns:{{{cols|}}}; -moz-columns:{{{cols|}}}; columns:{{{cols|}}};"><!--
  -->|<div style="float:left;-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 22: Line 22:
here comes the text
here comes the text
-->|<div>{{{text|}}}</div><!--
-->|<div>{{{text|}}}</div><!--
-->}}</div> }}</includeonly>
-->}} }}</includeonly>

Revision as of 08:42, 21 August 2016

title
option
other
comment
text
cols