Template:DisplayItemTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
   -->}}<!--
   -->}}<!--
   -->{{#ifeq:{{{list|}}}||| <!--  display list  -->
   -->{{#ifeq:{{{list|}}}||| <!--  display list  -->
         <div style="clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:top;">
         <div style="clear:left; float:left;"  ">
        <p>'''{{{title|}}}'''</p>
        <p style="width:150px; text-align:right;">'''{{{title|}}}'''</p>
         </div>
         </div>
         <div style="float:left; margin-left:15px; margin-bottom:10px; max-width:525px; height:100%; vertical-align:top;">
         <div style="float:left; margin-left:15px; margin-bottom:10px; max-width:525px; height:100%; vertical-align:top;">
         <ul>
         <ul   >
         {{#arraymap:{{{list|}}}|;|xx|<li>xx</li>|}}</ul>
         {{#arraymap:{{{list|}}}|;|xx|<li>xx</li>|}}</ul>
         </div><!--
         </div><!--
   -->}}<!--
   -->}}<!--
   -->{{#ifeq:{{{option|}}}{{{other|}}}|||
   -->{{#ifeq:{{{option|}}}{{{other|}}}|||
         <div style="clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:top;">
         <div style="clear:left; float:left; ">
        <p>'''{{{title|}}}'''</p>
        <p  style="width:150px; text-align:right;">'''{{{title|}}}'''</p>
         </div>
         </div>
<div style="float:left; margin-left:15px; margin-bottom:10px; max-width:535px; height:100%; vertical-align:top;">
<div style="float:left;margin-left:15px; margin-bottom:10px;">
               <ul style="-webkit-column-count: {{{cols|}}}; -moz-column-count: {{{cols|}}}; column-count: {{{cols|}}};-webkit-column-width: 235px; -moz-column-width: 235px; column-width: 235px;">
               <ul style=" max-width:535px;-webkit-column-count: {{{cols|}}}; -moz-column-count: {{{cols|}}}; column-count: {{{cols|}}};-webkit-column-width: 235px; -moz-column-width: 235px; column-width: 235px;">
                   {{#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="clear:left; float:left; ">
              <p>'''{{{title|}}}'''</p>
              <p style="width:150px; text-align:right;">'''{{{title|}}}'''</p>
               </div><!--
               </div><!--
         -->|}}<!--
         -->|}}<!--
     --><div style="float:right; margin-left:15px; margin-bottom:10px; max-width:185px; height:100%; vertical-align:">
     --><div style="float:right; margin-left:15px; margin-bottom:10px; ">
        <p>''Note: {{{comment|}}}''</p>
        <p style="max-width:185px;">''Note: {{{comment|}}}''</p>
         </div><!--
         </div><!--
     -->}}
     -->}}

Revision as of 08:58, 23 August 2016

title
standardoption
option
other
comment
text
cols