Difference between revisions of "User:Evon R'al/Sandbox template"
From EVE University Wiki
m (working on template {{Sidebar}}.) |
m (Coding and testing.) |
||
Line 4: | Line 4: | ||
-->style="float:{{#if:{{{float|}}} |{{{float}}} |right}};<!-- | -->style="float:{{#if:{{{float|}}} |{{{float}}} |right}};<!-- | ||
-->clear:{{#ifeq:{{{float|}}}|none |both |{{#if:{{{float|}}} |{{{float}}} |right}}}};<!-- | -->clear:{{#ifeq:{{{float|}}}|none |both |{{#if:{{{float|}}} |{{{float}}} |right}}}};<!-- | ||
− | -->width:{{#if:{{{width|}}} |{{{width}}} | | + | -->width:{{#if:{{{width|}}} |{{{width}}} |15em}};<!-- |
(margins:)-->{{#switch:{{{float|}}} |left=margin:0 1.0em 1.0em 0; |none|right|#default=margin:0 0 1.0em 1.0em;}}<!-- | (margins:)-->{{#switch:{{{float|}}} |left=margin:0 1.0em 1.0em 0; |none|right|#default=margin:0 0 1.0em 1.0em;}}<!-- | ||
− | --> | + | -->border:1px solid #aaa; padding:0.2em;border-spacing:0.4em 0; text-align:center; line-height:1.4em;font-size:88%; {{{bodystyle|{{{style|}}}}}}">}}<!-- |
-->{{#ifeq:{{{child|}}}|yes||{{#if:{{{outertitle|}}} | -->{{#ifeq:{{{child|}}}|yes||{{#if:{{{outertitle|}}} | ||
Line 44: | Line 44: | ||
-->{{#if: {{{heading1|}}}| | -->{{#if: {{{heading1|}}}| | ||
<tr> | <tr> | ||
− | <th class="{{{headingclass|}}}" style="padding:0.1em;{{{basestyle|}}};{{{headingstyle|}}};{{{heading1style|}}}"> | + | <th class="{{{headingclass|}}}" style="background:#101010; padding: 0.1em;{{{basestyle|}}};{{{headingstyle|}}};{{{heading1style|}}}"> |
{{{heading1}}}</th> | {{{heading1}}}</th> | ||
</tr> | </tr> |