Template:DisplayItemTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
</pre>
</pre>
</noinclude><includeonly><div style="max-width:900px">
</noinclude><includeonly><div style="max-width:900px">
<p style="float:left;width:150px;font-weight: bold;" >{{{title|}}}</p>
<p style="clear:left;float:left;width:150px;font-weight: bold;" >{{{title|}}}</p>
{{#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;-webkit-columns:{{{cols|}}}; -moz-columns:{{{cols|}}}; columns:{{{cols|}}};"><!--
Line 15: Line 15:
  -->{{#ifeq:{{{other|}}}|||{{#arraymap:{{{other|}}}|;|yy|<li style="color:Green">yy</li>|}} }}
  -->{{#ifeq:{{{other|}}}|||{{#arraymap:{{{other|}}}|;|yy|<li style="color:Green">yy</li>|}} }}
  </ul></div><!--
  </ul></div><!--
  --><div style="clear: both;"></div><!--
  --><!--
  -->{{#ifeq:{{{comment|}}}||<!--
  -->{{#ifeq:{{{comment|}}}||<!--
   -->|<p style="text-indent:152px;font-style: italic;>Note: {{{comment|}}}</p><!--
   -->|<p style="clear:left;text-indent:152px;font-style: italic;>Note: {{{comment|}}}</p><!--
  -->}}<!--
  -->}}<!--
here comes the text
here comes the text
-->|<p style="text-indent:150px;" >{{{text|}}}</p><!--
-->|<p style="text-indent:150px;" >{{{text|}}}</p><div style="clear: both;"><!--
-->}}</div></includeonly>
-->}}</div></includeonly>

Revision as of 19:01, 19 August 2016

title
option
other
comment
text
cols