Template:DisplayItemTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
list | list | ||
</pre> | </pre> | ||
</noinclude><includeonly><!--check on content-->{{{?standardoption|}}} | </noinclude><includeonly><!--check on content--> | ||
{{#ifeq:{{{?standardoption|}}}{{{?option|}}}{{{?other|}}}{{{?comment|}}}{{{?text|}}}{{{?list|}}}|| | |||
|<div class="rc-row"><!-- | |<div class="rc-row"><!-- | ||
-->{{#ifeq:{{{text|}}}||| <!-- display text --> | -->{{#ifeq:{{{?text|}}}||| <!-- display text --> | ||
<div class="rc-title"> | <div class="rc-title"> | ||
<p >{{{title|}}}</p> | <p >{{{?title|}}}</p> | ||
</div> | </div> | ||
<div class="rc-data"> | <div class="rc-data"> | ||
<p>{{{text|}}}</p> | <p>{{{?text|}}}</p> | ||
</div><!-- | </div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#ifeq:{{{list|}}}||| <!-- display list, list assumes text for title display --> | -->{{#ifeq:{{{?list|}}}||| <!-- display list, list assumes text for title display --> | ||
<div class="rc-title"><p></p></div> | <div class="rc-title"><p></p></div> | ||
<div class="rc-data"> | <div class="rc-data"> | ||
<ol class="rc-data"> | <ol class="rc-data"> | ||
{{#arraymap:{{{list|}}}|;|xx|<li>xx</li>|}}</ol> | {{#arraymap:{{{?list|}}}|;|xx|<li>xx</li>|}}</ol> | ||
</div><!-- | </div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#ifeq:{{{standardoption|}}}{{{other|}}}||| | -->{{#ifeq:{{{?standardoption|}}}{{{?other|}}}||| | ||
<div class="rc-title"> | <div class="rc-title"> | ||
<p>{{{title|}}}</p> | <p>{{{?title|}}}</p> | ||
</div> | </div> | ||
<div class="rc-data"> | <div class="rc-data"> | ||
<ul class="rc-data"><!-- | <ul class="rc-data"><!-- | ||
-->{{#ifeq:{{{standardoption|}}}|<!-- display other --> | -->{{#ifeq:{{{?standardoption|}}}|<!-- display other --> | ||
|{{#arraymap:{{{other|}}}|;|yy|<li class="rc-spec">yy</li>|}} | |{{#arraymap:{{{?other|}}}|;|yy|<li class="rc-spec">yy</li>|}} | ||
| {{#arraymap:{{{standardoption|}}}|;|xx | | {{#arraymap:{{{?standardoption|}}}|;|xx | ||
|{{MarkOptionTemplate|stdoption=xx|options={{{option|}}} }} | |{{MarkOptionTemplate|stdoption=xx|options={{{?option|}}} }} | ||
|}}<!-- | |}}<!-- | ||
-->{{#ifeq:{{{other|}}}|| | -->{{#ifeq:{{{?other|}}}|| | ||
|{{#arraymap:{{{other|}}}|;|yy|<li class="rc-spec">yy</li>|}}<!-- | |{{#arraymap:{{{?other|}}}|;|yy|<li class="rc-spec">yy</li>|}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 45: | Line 45: | ||
--></div><!-- | --></div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#ifeq:{{{comment|}}}|||<!-- check on title | -->{{#ifeq:{{{?comment|}}}|||<!-- check on title | ||
-->{{#ifeq:{{{text|}}}{{{standardoption|}}}{{{list|}}}{{{other|}}}|| <!-- | -->{{#ifeq:{{{?text|}}}{{{?standardoption|}}}{{{?list|}}}{{{?other|}}}|| <!-- | ||
--><div class="rc-title"> | --><div class="rc-title"> | ||
<p>{{{title|}}}</p> | <p>{{{?title|}}}</p> | ||
</div><!-- | </div><!-- | ||
-->|}}<!-- | -->|}}<!-- | ||
--><div class="rc-comment"> | --><div class="rc-comment"> | ||
<p>Note: {{{comment|}}}</p> | <p>Note: {{{?comment|}}}</p> | ||
</div><!-- | </div><!-- | ||
-->}} | -->}} |
Revision as of 20:18, 30 August 2016
title standardoption option other comment text list