Template:DisplayItemTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<div style="float:left;width:150px;font-weight: bold;" ><p>{{{title|}}}</p></div> | <div style="float:left;width:150px;font-weight: bold;" ><p>{{{title|}}}</p></div> | ||
<div style="float:left;-webkit-columns:{{{cols|}}}; -moz-columns:{{{cols|}}}; columns:{{{cols|}}};" | {{#ifeq:{{{text|}}}|<!-- if no text, then list options | ||
-->{{#arraymap:{{{option|}}}|;|xx|<li>xx</li>|}}<!-- | -->|<div style="float:left;-webkit-columns:{{{cols|}}}; -moz-columns:{{{cols|}}}; columns:{{{cols|}}};"><!-- | ||
-->{{#ifeq:{{{other|}}}|||{{#arraymap:{{{other|}}}|;|yy|<li style="color:Green">yy</li>|}} }} | --><ul>{{#arraymap:{{{option|}}}|;|xx|<li>xx</li>|}}<!-- | ||
</ul></div><!-- | -->{{#ifeq:{{{other|}}}|||{{#arraymap:{{{other|}}}|;|yy|<li style="color:Green">yy</li>|}} }} | ||
--><div style="clear: both;"></div><!-- | </ul></div><!-- | ||
-->{{#ifeq:{{{comment|}}}||<!-- | --><div style="clear: both;"></div><!-- | ||
-->{{#ifeq:{{{comment|}}}||<!-- | |||
-->}}<!-- | -->|<div style="margin-left:150px;font-style: italic" >Note: {{{comment|}}}</div><!-- | ||
--> | -->}}<!-- | ||
-->|<!-- here comes the text | |||
-->|<div style="margin-left:150px" >{{{text|}}}</div><!-- | |||
-->}} | -->}} | ||
</includeonly> | </includeonly> |
Revision as of 17:33, 19 August 2016
title option other comment text cols