Template:DisplayItemTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 30: Line 30:
   -->}}<!--
   -->}}<!--
   -->{{#ifeq:{{{option|}}}{{{other|}}}|||
   -->{{#ifeq:{{{option|}}}{{{other|}}}|||
         <div style="clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:top;">
         <div style="border:1px solid red;clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:top;">
         <p>'''{{{title|}}}'''</p>
         <p>'''{{{title|}}}'''</p>
         </div>
         </div>
<div style="float:left; margin-left:15px; margin-bottom:10px; max-width:535px; height:100%; vertical-align:top;">
<div style="border:1px solid red;float:left; margin-left:15px; margin-bottom:10px; max-width:535px; height:100%; vertical-align:top;">
               <ul style="-webkit-column-count: {{{cols|}}}; -moz-column-count: {{{cols|}}}; column-count: {{{cols|}}};-webkit-column-width: 250px; -moz-column-width: 250px; column-width: 250px;">
               <ul style="border:1px solid red;-webkit-column-count: {{{cols|}}}; -moz-column-count: {{{cols|}}}; column-count: {{{cols|}}};-webkit-column-width: 250px; -moz-column-width: 250px; column-width: 250px;">
                   {{#ifeq:{{{option|}}}||
                   {{#ifeq:{{{option|}}}||
                     |{{#arraymap:{{{option|}}}|;|xx|<li>xx</li>|}}<!--
                     |{{#arraymap:{{{option|}}}|;|xx|<li>xx</li>|}}<!--
Line 46: Line 46:
-->{{#ifeq:{{{comment|}}}|||<!-- check on title
-->{{#ifeq:{{{comment|}}}|||<!-- check on title
         -->{{#ifeq:{{{text|}}}{{{option|}}}{{{list|}}}{{{other|}}}|| <!--
         -->{{#ifeq:{{{text|}}}{{{option|}}}{{{list|}}}{{{other|}}}|| <!--
           --><div style="clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:top;">
           --><div style="border:1px solid red; clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:top;">
               <p>'''{{{title|}}}'''</p>
               <p>'''{{{title|}}}'''</p>
               </div><!--
               </div><!--
         -->|}}<!--
         -->|}}<!--
     --><div style="float:right; margin-left:15px; margin-bottom:10px; width:200px; height:100%; vertical-align:">
     --><div style="border:1px solid red;float:right; margin-left:15px; margin-bottom:10px; width:200px; height:100%; vertical-align:">
         <p>''Note: {{{comment|}}}''</p>
         <p>''Note: {{{comment|}}}''</p>
         </div><!--
         </div><!--

Revision as of 21:07, 22 August 2016

title
standardoption
option
other
comment
text
cols