Template:DisplayItemTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<pre> | <pre> | ||
title | title | ||
standardoption | |||
option | option | ||
other | other | ||
Line 8: | Line 9: | ||
cols | cols | ||
</pre> | </pre> | ||
</noinclude><includeonly><!--check on content | </noinclude><includeonly><!--check on content--> | ||
-->{{#ifeq:{{{option|}}}{{{other|}}}{{{comment|}}}{{{text|}}}|||< | {{#ifeq:{{{standardoption|}}}{{{option|}}}{{{other|}}}{{{comment|}}}{{{text|}}}|| | ||
|<div style="clear:both; max-width:800px; 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; height:100%; vertical-align:top;"> | |||
<p>{{{text|}}}</p> | |||
</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; width:200px; height:100%; vertical-align:top;"> | |||
<ul>{{#ifeq:{{{option|}}}|| | <ul>{{#ifeq:{{{option|}}}|| | ||
|{{#arraymap:{{{option|}}}|;|xx|<li>xx</li>|}}<!-- | |{{#arraymap:{{{option|}}}|;|xx|<li>xx</li>|}}<!-- | ||
Line 25: | Line 31: | ||
|{{#arraymap:{{{other|}}}|;|yy|<li style="color:Green">yy</li>|}}<!-- | |{{#arraymap:{{{other|}}}|;|yy|<li style="color:Green">yy</li>|}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></ul></ | --></ul> | ||
</div> | |||
}} | |||
{{#ifeq:{{{comment|}}}||| | |||
< | <div style="float:right; margin-left:15px; width:200px; height:100%; vertical-align:"> | ||
<p>''Note: {{{comment|}}}''</p> | |||
</div> | |||
}} | |||
</div> | |||
}} | |||
</includeonly> |
Revision as of 15:12, 21 August 2016
title standardoption option other comment text cols