Difference between revisions of "User:Evon R'al/Sandbox template"
From EVE University Wiki
m (Coding and testing.) |
m (Coding and testing.) |
||
Line 9: | Line 9: | ||
| nowraplinks | | nowraplinks | ||
}} {{{bodyclass|{{{class|}}} }}}" <!-- | }} {{{bodyclass|{{{class|}}} }}}" <!-- | ||
− | + | -->cellspacing="{{#if:{{{cellspacing|}}} |{{{cellspacing}}} |5}}" <!-- | |
− | + | -->cellpadding="{{#if:{{{cellpadding|}}} |{{{cellpadding}}} |0}}" <!-- | |
− | + | -->style="{{#if:{{{width|}}} |width: {{{width}}}; }}<!-- | |
− | + | -->{{{bodystyle|{{{style|}}} }}}"> | |
+ | }}<!-- | ||
− | -->{{#if: {{{outertitle|}}} | + | -->{{#ifeq: {{{child|}}} |yes |
− | + | | | |
+ | | {{#if: {{{outertitle|}}} | ||
+ | | <caption class="sidebar-outertitle {{{outertitleclass|}}}" style="{{{outertitlestyle|}}}">{{{outertitle}}}</caption><!-- | ||
+ | -->}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{topimage|}}} | + | -->{{#ifeq:{{{child|}}} |yes |
− | + | | | |
− | + | | {{#if: {{{topimage|}}} | |
− | + | | <tr> | |
− | + | <td class="sidebar-topimage {{{topimageclass|}}}" style="{{{topimagestyle|}}}">{{{topimage}}}<!-- | |
− | + | -->{{#if: {{{topcaption|}}} | |
− | + | |<div class="sidebar-topcaption" style="{{{topcaptionstyle|}}}">{{{topcaption}}}</div> | |
− | + | }} | |
+ | </td> | ||
+ | </tr> | ||
+ | }} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if:{{{pretitle|}}} | + | -->{{#ifeq: {{{child|}}} |yes |
− | + | | | |
− | + | | {{#if:{{{pretitle|}}} | |
− | + | | <tr> | |
− | + | <td class="sidebar-pretitle{{#if: {{{topimage|}}} <!-- NO space between sidebar-pretitle and {{#if because -with-topimage need to be connected to sidebar-pretitle --> | |
− | + | | -with-topimage | |
− | + | }} {{{pretitleclass|}}}" style="{{{basestyle|}}}; {{{pretitlestyle|}}}"> {{{pretitle}}} | |
− | + | </td> | |
− | }}<!-- | + | </tr> |
+ | }} | ||
+ | }}<!-- | ||
-->{{#if: {{{title|}}} | -->{{#if: {{{title|}}} | ||
− | + | | {{#ifeq:{{{child|}}} |yes | |
− | + | | {{{title}}} | |
+ | | <tr> | ||
+ | <th class="sidebar-title{{#if: {{{pretitle|}}} | ||
+ | | -with-pretitle | ||
+ | }} {{{titleclass|}}}" style="{{{basestyle|}}}; {{{titlestyle|}}}"> | ||
+ | {{{title}}}</th> | ||
+ | </tr> | ||
+ | }} | ||
+ | }}<!-- | ||
+ | |||
+ | -->{{#if:{{{image|}}} | ||
| <tr> | | <tr> | ||
− | + | <td class="sidebar-image {{{imageclass|}}}" style="{{{imagestyle|}}}">{{{image}}}<!-- | |
− | + | -->{{#if:{{{caption|}}} | |
− | + | | <div class="sidebar-caption" style="{{{captionstyle|}}}">{{{caption}}}</div> | |
− | + | }} | |
− | + | </td> | |
− | + | </tr> | |
− | + | }}<!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }}<!-- | ||
-->{{#if:{{{above|}}} | -->{{#if:{{{above|}}} |
Revision as of 14:03, 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?)