Template:DisplayItemTemplate: Difference between revisions
Jump to navigation
Jump to search
(Undo revision 4281 by Rineke Oostenrijk (talk)) |
No edit summary |
||
Line 7: | Line 7: | ||
comment | comment | ||
text | text | ||
list | |||
</pre> | </pre> | ||
</noinclude><includeonly><!--check on content--> | </noinclude><includeonly><!--check on content--> | ||
Line 14: | Line 14: | ||
-->{{#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"> | ||
Line 20: | Line 20: | ||
</div><!-- | </div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#ifeq:{{{list|}}}||| <!-- display list --> | -->{{#ifeq:{{{list|}}}||| <!-- display list, list assumes text for title display --> | ||
<div class="rc-title"> | <div class="rc-title"><p></p></div> | ||
<div class="rc-data"> | <div class="rc-data"> | ||
<ol class="rc-data"> | <ol class="rc-data"> | ||
Line 29: | Line 27: | ||
</div><!-- | </div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#ifeq:{{{ | -->{{#ifeq:{{{standardoption|}}}{{{other|}}}||| | ||
<div class="rc-title"> | <div class="rc-title"> | ||
<p>{{{title|}}}</p> | |||
</div> | </div> | ||
<div class="rc-data"> | |||
<ul class="rc-data"><!-- | |||
-->{{#ifeq:{{{standardoption|}}}|<!-- display other --> | |||
|{{#arraymap:{{{other|}}}|;|yy|<li class="rc-spec">yy</li>|}} | |||
| {{#arraymap:{{{standardoption|}}}|;|xx | |||
|{{MarkOptionTemplate|stdoption=xx|options={{{option|}}} }} | |||
|}}<!-- | |||
-->{{#ifeq:{{{other|}}}|| | |||
--></ul> | |{{#arraymap:{{{other|}}}|;|yy|<li class="rc-spec">yy</li>|}}<!-- | ||
-->}}<!-- | |||
-->}}<!-- | |||
--></ul><!-- | |||
-->{{#ifeq:{{{text|}}}{{{ | --></div><!-- | ||
-->}}<!-- | |||
-->{{#ifeq:{{{comment|}}}|||<!-- check on title | |||
-->{{#ifeq:{{{text|}}}{{{standardoption|}}}{{{list|}}}{{{other|}}}|| <!-- | |||
--><div class="rc-title"> | --><div class="rc-title"> | ||
<p>{{{title|}}}</p> | <p>{{{title|}}}</p> |
Revision as of 14:31, 27 August 2016
title standardoption option other comment text list