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%;"><p>text</p><!--
   |<div style="border:1px solid green; clear:both; max-width:900px; height:100%;"><!--
   -->{{#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="1px solid yellow;float:left; margin-left:15px; margin-bottom:10px; max-width:500px; height:100%; vertical-align:top;">
         <div style="border: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="1px solid red;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="1px solid blue;float:left; margin-left:15px; margin-bottom:10px; max-width:500px; height:100%; vertical-align:top;">
         <div style="border: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>

Revision as of 21:29, 22 August 2016

title
standardoption
option
other
comment
text
cols