Template:DisplayItemTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
</div> | </div> | ||
<div style="float:left; margin-left:15px; max-width:500px; height:100%; vertical-align:top;"> | <div style="float:left; margin-left:15px; max-width:500px; height:100%; vertical-align:top;"> | ||
<ul style="-webkit-column-count: {{{cols|}}}; -moz-column-count: {{{cols|}}}; column-count: {{{cols|}}}; | <ul style="-webkit-column-count: {{{cols|}}}; -moz-column-count: {{{cols|}}}; column-count: {{{cols|}}}; <noinclude> | ||
<pre> | |||
title | |||
standardoption | |||
option | |||
other | |||
comment | |||
text | |||
cols | |||
</pre> | |||
</noinclude><includeonly><!--check on content--> | |||
{{#ifeq:{{{standardoption|}}}{{{option|}}}{{{other|}}}{{{comment|}}}{{{text|}}}{{{list|}}}|| | |||
|<div style="clear:both; max-width:900px; height:100%;"><!-- | |||
-->{{#ifeq:{{{text|}}}||| <!-- display text --> | |||
<div style="clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:"> | |||
<p>'''{{{title|}}}'''</p> | |||
</div> | |||
<div style="float:left; margin-left:15px; max-width:500px; height:100%; vertical-align:top;"> | |||
<p>{{{text|}}}</p> | |||
</div><!-- | |||
-->}}<!-- | |||
-->{{#ifeq:{{{list|}}}||| <!-- display list --> | |||
<div style="clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:top;"> | |||
<p>'''{{{title|}}}'''</p> | |||
</div> | |||
<div style="float:left; margin-left:15px; max-width:500px; height:100%; vertical-align:top; "> | |||
<ul> | |||
{{#arraymap:{{{list|}}}|;|xx|<li>xx</li>|}}</ul> | |||
</div><!-- | |||
-->}}<!-- | |||
-->{{#ifeq:{{{option|}}}{{{other|}}}||| | |||
<div style="clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:top;"> | |||
<p>'''{{{title|}}}'''</p> | |||
</div> | |||
<div style="float:left; margin-left:15px; max-width:500px; height:100%; vertical-align:top;"> | |||
<ul style="-webkit-column-count: {{{cols|}}}; -moz-column-count: {{{cols|}}}; column-count: {{{cols|}}}; -webkit-column-gap: 10px; -moz-column-gap: 10px; column-gap: 10px;"> | |||
{{#ifeq:{{{option|}}}|| | |||
|{{#arraymap:{{{option|}}}|;|xx|<li>xx</li>|}}<!-- | |||
-->}}<!-- | |||
-->{{#ifeq:{{{other|}}}|| | |||
|{{#arraymap:{{{other|}}}|;|yy|<li style="color:Green">yy</li>|}}<!-- | |||
-->}}<!-- | |||
--></ul> | |||
</div><!-- | |||
-->}}<!-- | |||
-->{{#ifeq:{{{comment|}}}|||<!-- check on title | |||
-->{{#ifeq:{{{text|}}}{{{option|}}}{{{list|}}}{{{other|}}}|| <!-- | |||
--><div style="clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:top;"> | |||
<p>'''{{{title|}}}'''</p> | |||
</div><!-- | |||
-->|}}<!-- | |||
--><div style="float:right; margin-left:15px; width:200px; height:100%; vertical-align:"> | |||
<p>''Note: {{{comment|}}}''</p> | |||
</div><!-- | |||
-->}} | |||
</div><!-- | |||
-->}} | |||
</includeonly> | |||
"> | |||
{{#ifeq:{{{option|}}}|| | {{#ifeq:{{{option|}}}|| | ||
|{{#arraymap:{{{option|}}}|;|xx|<li>xx</li>|}}<!-- | |{{#arraymap:{{{option|}}}|;|xx|<li>xx</li>|}}<!-- |
Revision as of 15:50, 22 August 2016
title standardoption option other comment text cols
">
}} }}
</includeonly>