Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

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

From EVE University Wiki
m Coding and testing.
m Coding and testing.
Line 26: Line 26:
     |
     |
     | {{#if: {{{outertitle|}}}
     | {{#if: {{{outertitle|}}}
       | <caption class="sidebar-outertitle {{{outertitleclass|}}}" style="padding-bottom: 0.2em; font-size: 125%; line-height: 1.2em; font-weight: bold; {{{outertitlestyle|}}}">{{{outertitle}}}</caption><!--
       | <caption class="sidebar-outertitle {{{outertitleclass|}}}" style="{{{outertitlestyle|}}}">{{{outertitle}}}</caption><!--
   -->}}
   -->}}
   }}<!--
   }}<!--
Line 34: Line 34:
     | {{#if: {{{topimage|}}}
     | {{#if: {{{topimage|}}}
       | <tr>
       | <tr>
         <td class="sidebar-topimage {{{topimageclass|}}}" style="padding: 0.4em 0; {{{topimagestyle|}}}">{{{topimage}}}<!--
         <td class="sidebar-topimage {{{topimageclass|}}}" style="{{{topimagestyle|}}}">{{{topimage}}}<!--
           -->{{#if: {{{topcaption|}}}
           -->{{#if: {{{topcaption|}}}
               |<div class="sidebar-topcaption" style="padding-top: 0.2em; line-height: 1.2em;{{{topcaptionstyle|}}}">{{{topcaption}}}</div>
               |<div class="sidebar-topcaption" style="{{{topcaptionstyle|}}}">{{{topcaption}}}</div>
               }}
               }}
         </td>
         </td>
Line 60: Line 60:
       |
       |
       | <tr>
       | <tr>
           <th class="sidebar-title {{{titleclass|}}}" style="{{{basestyle|}}}; padding: 0.2em 0.4em 0.2em; background: #101010; {{#if: {{{pretitle|}}}
           <th class="sidebar-title {{{titleclass|}}}" style="{{{basestyle|}}}; {{#if: {{{pretitle|}}}
                                                                                                                          | padding-top: 0
                                                                                | padding-top: 0
                                                                                                                        }}; font-size: 145%; line-height: 1.2em; {{{titlestyle|}}}">
                                                                              }}; {{{titlestyle|}}}">
       }} {{{title}}}</th>
       }} {{{title}}}</th>
           </tr>
           </tr>
Line 69: Line 69:
-->{{#if:{{{image|}}}
-->{{#if:{{{image|}}}
     | <tr>
     | <tr>
       <td class="sidebar-image {{{imageclass|}}}" style="padding: 0.2em 0 0.4em; background: #101010; {{{imagestyle|}}}">{{{image}}}<!--
       <td class="sidebar-image {{{imageclass|}}}" style="{{{imagestyle|}}}">{{{image}}}<!--
       -->{{#if:{{{caption|}}}
       -->{{#if:{{{caption|}}}
           | <div class="sidebar-caption" style="padding-top: 0.2em; line-height: 1.2em; {{{captionstyle|}}}">{{{caption}}}</div>
           | <div class="sidebar-caption" style="{{{captionstyle|}}}">{{{caption}}}</div>
           }}
           }}
       </td>
       </td>
Line 79: Line 79:
-->{{#if:{{{above|}}}
-->{{#if:{{{above|}}}
     | <tr>
     | <tr>
       <td class="sidebar-above {{{aboveclass|}}}" style="padding: 0.3em 0.4em 0.3em; font-weight: bold; {{{abovestyle|}}}"><!--newline required for bullet-points to work:-->
       <td class="sidebar-above {{{aboveclass|}}}" style="{{{abovestyle|}}}"><!--newline required for bullet-points to work:-->
{{{above}}}</td>
{{{above}}}</td>
       </tr>
       </tr>
Line 475: Line 475:
-->{{#if: {{{below|}}}
-->{{#if: {{{below|}}}
     | <tr>
     | <tr>
       <td class="sidebar-below {{{belowclass|}}}" style="padding: 0.3em 0.4em 0.3em; font-weight: bold; {{{belowstyle|}}}">
       <td class="sidebar-below {{{belowclass|}}}" style="{{{belowstyle|}}}">
{{{below}}}</td>
{{{below}}}</td>
       </tr>
       </tr>

Revision as of 15:55, 24 July 2023

</includeonly>

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?)