Template:DisplayItemTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
   |<div style="clear:both; max-width:900px;"><!--
   |<div style="clear:both; max-width:900px;"><!--
   -->{{#ifeq:{{{text|}}}||| <!--  display text  -->
   -->{{#ifeq:{{{text|}}}||| <!--  display text  -->
         <div style="clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:">
         <div style="clear:left; float:left;vertical-align:top;">
        <p>'''{{{title|}}}'''</p>
        <p style="width:150px; height:100%; text-align:right;">'''{{{title|}}}'''</p>
         </div>
         </div>
         <div style="border:1px solid yellow;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;">
         <p>{{{text|}}}</p>
         <p>{{{text|}}}</p>
         </div><!--
         </div><!--
   -->}}<!--
   -->}}<!--
   -->{{#ifeq:{{{list|}}}||| <!--  display list  -->
   -->{{#ifeq:{{{list|}}}||| <!--  display list  -->
         <div style="border:1px solid red;clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:top;">
         <div style="clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:top;">
         <p>'''{{{title|}}}'''</p>
         <p>'''{{{title|}}}'''</p>
         </div>
         </div>
         <div style="border:1px solid blue;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>
Line 30: Line 30:
   -->}}<!--
   -->}}<!--
   -->{{#ifeq:{{{option|}}}{{{other|}}}|||
   -->{{#ifeq:{{{option|}}}{{{other|}}}|||
         <div style="border:1px solid red;clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:top;">
         <div style="clear:left; float:left; width:150px; height:100%; text-align:right; vertical-align:top;">
         <p>'''{{{title|}}}'''</p>
         <p>'''{{{title|}}}'''</p>
         </div>
         </div>
<div style="border:1px solid red;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; max-width:535px; height:100%; vertical-align:top;">
               <ul style="border:1px solid blue;-webkit-column-count: {{{cols|}}}; -moz-column-count: {{{cols|}}}; column-count: {{{cols|}}};-webkit-column-width: 235px; -moz-column-width: 235px; column-width: 235px;">
               <ul style="-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 50: Line 50:
               </div><!--
               </div><!--
         -->|}}<!--
         -->|}}<!--
     --><div style="border:1px solid black;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; max-width:185px; height:100%; vertical-align:">
         <p>''Note: {{{comment|}}}''</p>
         <p>''Note: {{{comment|}}}''</p>
         </div><!--
         </div><!--

Revision as of 22:06, 22 August 2016

title
standardoption
option
other
comment
text
cols