Template:DisplayItemTemplate: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
</noinclude><includeonly><!--check on content-->
</noinclude><includeonly><!--check on content-->
{{#ifeq:{{{standardoption|}}}{{{option|}}}{{{other|}}}{{{comment|}}}{{{text|}}}{{{list|}}}||
{{#ifeq:{{{standardoption|}}}{{{option|}}}{{{other|}}}{{{comment|}}}{{{text|}}}{{{list|}}}||
   |<div style="border:1px solid green; clear:both; max-width:900px; height:100%;"><!--
   |<div style="border:1px solid green; clear:both; max-width:900px; height:100%;"><p>text</p><!--
   -->{{#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; width:150px; height:100%; text-align:right; vertical-align:">
         <p>'''{{{title|}}}'''</p>
         <p>'''{{{title|}}}'''</p>
         </div>
         </div>
         <div style="float:left; margin-left:15px; margin-bottom:10px; max-width:500px; height:100%; vertical-align:top;">
         <div style="1px solid yellow;float:left; margin-left:15px; margin-bottom:10px; max-width:500px; height:100%; vertical-align:top;">
         <p>{{{text|}}}</p>
         <p>{{{text|}}}</p>
         </div><!--
         </div><!--
   -->}}<!--
   -->}}<!--
   -->{{#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="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:500px; height:100%; vertical-align:top;">
         <div style="1px solid blue;float:left; margin-left:15px; margin-bottom:10px; max-width:500px; height:100%; vertical-align:top;">
         <ul>
         <ul>
         {{#arraymap:{{{list|}}}|;|xx|<li>xx</li>|}}</ul>
         {{#arraymap:{{{list|}}}|;|xx|<li>xx</li>|}}</ul>
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="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; width:200px; height:100%; vertical-align:">
     --><div style="float:left; 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:26, 22 August 2016

title
standardoption
option
other
comment
text
cols