Template:DisplayItemInMatrixTemplate: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude> <pre> title standardoption option other text list </pre> </noinclude><includeonly><!--check on content--> {{#ifeq:{{{?standardoption|}}}{{{?option|}}}{{{?other|}}}...") |
No edit summary |
||
Line 10: | Line 10: | ||
</noinclude><includeonly><!--check on content--> | </noinclude><includeonly><!--check on content--> | ||
{{#ifeq:{{{?standardoption|}}}{{{?option|}}}{{{?other|}}}{{{?comment|}}}{{{?text|}}}{{{?list|}}}|| | {{#ifeq:{{{?standardoption|}}}{{{?option|}}}{{{?other|}}}{{{?comment|}}}{{{?text|}}}{{{?list|}}}|| | ||
| | |-->{{#ifeq:{{{?text|}}}||| <!-- display text --> | ||
<div class="rc-matrix-data"> | |||
<div class="rc-data"> | <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-data"> | <div class="rc-matrix-data"> | ||
<ol class="rc-data"> | <ol class="rc-matrix-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-data"> | <div class="rc-matrix-data"> | ||
<ul class="rc-data"><!-- | <ul class="rc-matrix-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>|}} | ||
Line 37: | Line 36: | ||
--></div><!-- | --></div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}} | -->}} | ||
</includeonly> | </includeonly> |
Revision as of 07:27, 31 August 2016
title standardoption option other text list