Difference between revisions of "User:Evon R'al/Sandbox template"

From EVE University Wiki
Jump to: navigation, search
m (Coding and testing.)
m (Coding and testing.)
Line 16: Line 16:
 
-->{{#if: {{{outertitle|}}}
 
-->{{#if: {{{outertitle|}}}
 
     | <caption class="sidebar-outertitle {{{outertitleclass|}}}" style="{{{outertitlestyle|}}}">{{{outertitle}}}</caption><!--
 
     | <caption class="sidebar-outertitle {{{outertitleclass|}}}" style="{{{outertitlestyle|}}}">{{{outertitle}}}</caption><!--
-->}}
+
-->}}<!--
}}<!--
 
  
-->{{#ifeq:{{{child|}}} |yes
+
-->{{#if: {{{topimage|}}}
    |
+
    | <tr>
    | {{#if: {{{topimage|}}}
+
      <td class="sidebar-topimage {{{topimageclass|}}}" style="{{{topimagestyle|}}}">{{{topimage}}}<!--
      | <tr>
+
        -->{{#if: {{{topcaption|}}}
        <td class="sidebar-topimage {{{topimageclass|}}}" style="{{{topimagestyle|}}}">{{{topimage}}}<!--
+
            |<div class="sidebar-topcaption" style="{{{topcaptionstyle|}}}">{{{topcaption}}}</div>
          -->{{#if: {{{topcaption|}}}
+
            }}
              |<div class="sidebar-topcaption" style="{{{topcaptionstyle|}}}">{{{topcaption}}}</div>
+
      </td>
              }}
+
    </tr>
        </td>
 
      </tr>
 
    }}
 
 
   }}<!--
 
   }}<!--
  
-->{{#ifeq: {{{child|}}} |yes
+
-->{{#if:{{{pretitle|}}}
    |
+
    | <tr>
    | {{#if:{{{pretitle|}}}
+
        <td class="sidebar-pretitle{{#if: {{{topimage|}}} <!-- NO space between sidebar-pretitle and {{#if because -with-topimage need to be connected to sidebar-pretitle -->
      | <tr>
+
                    | -with-topimage
          <td class="sidebar-pretitle{{#if: {{{topimage|}}} <!-- NO space between sidebar-pretitle and {{#if because -with-topimage need to be connected to sidebar-pretitle -->
+
                  }} {{{pretitleclass|}}}" style="{{{basestyle|}}}; {{{pretitlestyle|}}}"> {{{pretitle}}}
                      | -with-topimage
+
      </td>
                    }} {{{pretitleclass|}}}" style="{{{basestyle|}}}; {{{pretitlestyle|}}}"> {{{pretitle}}}
+
      </tr>
        </td>
+
  }}
        </tr>
+
}}<!--
    }}
 
  }}<!--
 
  
 
-->{{#if: {{{title|}}}
 
-->{{#if: {{{title|}}}

Revision as of 14:23, 28 July 2023

Template documentation (for the above template, sometimes hidden or invisible)
Visit User:Evon R'al/Sandbox template/doc to edit this text! (How does this work?) (Refresh this text - why?)