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 27: Line 27:
 
       </tr>
 
       </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|}}}
    | {{#ifeq:{{{child|}}} |yes
+
| {{#ifeq:{{{child|}}} |yes
      | {{{title}}}
+
    | {{{title}}}
      | <tr>
+
    | <tr>
          <th class="sidebar-title{{#if: {{{pretitle|}}}
+
      <th class="sidebar-title{{#if: {{{pretitle|}}} <!-- NO space between sidebar-title and {{#if because -with-pretitle need to be connected to sidebar-title -->
                                  | -with-pretitle
+
                                | -with-pretitle
                                  }} {{{titleclass|}}}" style="{{{basestyle|}}}; {{{titlestyle|}}}">
+
                              }} {{{titleclass|}}}" style="{{{basestyle|}}}; {{{titlestyle|}}}">
          {{{title}}}</th>
+
      {{{title}}}</th>
          </tr>
+
      </tr>
      }}
+
  }}
  }}<!--
+
}}
  
-->{{#if:{{{image|}}}
+
{{#if:{{{image|}}}
    | <tr>
+
| <tr>
      <td class="sidebar-image {{{imageclass|}}}" style="{{{imagestyle|}}}">{{{image}}}<!--
+
    <td class="sidebar-image {{{imageclass|}}}" style="{{{imagestyle|}}}">{{{image}}}<!--
      -->{{#if:{{{caption|}}}
+
    -->{{#if:{{{caption|}}}
          | <div class="sidebar-caption" style="{{{captionstyle|}}}">{{{caption}}}</div>
+
        | <div class="sidebar-caption" style="{{{captionstyle|}}}">{{{caption}}}</div>
          }}
+
      }}
      </td>
+
    </td>
      </tr>
+
  </tr>
  }}<!--
+
}}<!--
  
 
-->{{#if:{{{above|}}}
 
-->{{#if:{{{above|}}}

Revision as of 13:50, 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?)