Template:DisplayItemTemplate: Difference between revisions
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|}}}||<!-- | ||
-->{{#ifeq:{{{text|}}}||| <!-- display text --> | |||
-->{{#ifeq:{{{text|}}}|||<!-- | <table> | ||
--> | <tr><th!style="width:150px;>{{{title|}}}</th> | ||
<td>|{{{text|}}}</td></tr> | |||
</table><!-- | |||
-->}}<!-- | -->}}<!-- | ||
-->{{#ifeq:{{{option|}}}{{{other|}}}{{{comment|}}}||| | -->{{#ifeq:{{{option|}}}{{{other|}}}{{{comment|}}}|||<!-- trio option, other, comment --> | ||
<table> | |||
{{#ifeq:{{{option|}}}{{{other|}}}||| | |||
<tr><th!style="width:150px;>|{{{title|}}}</th> | |||
<td style="float:left;-webkit-columns:{{{cols|}}}; -moz-columns:{{{cols|}}}; columns:{{{cols|}}};"> | |||
<ul>{{#ifeq:{{{option|}}}|| | |||
|{{#arraymap:{{{option|}}}|;|xx|<li>xx</li>|}}<!-- | |||
-->}}<!-- | |||
-->{{#ifeq:{{{other|}}}|| | |||
|{{#arraymap:{{{other|}}}|;|yy|<li style="color:Green">yy</li>|}}<!-- | |||
-->}}<!-- | |||
--></ul></td></tr><!-- | |||
-->}}<!-- | |||
-->{{#ifeq:{{{comment|}}}||| | |||
<tr><td></td> | |||
<td>''Note: {{{comment|}}}'' }} </td></tr><!-- | |||
-->}} | |||
</table> | |||
</includeonly> | </includeonly> |
Revision as of 09:31, 21 August 2016
title option other comment text cols