Template:Sidebar: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Alarbus
(for lists)
>Edokter
(Correct too-small font sizes, slightly adjust line-heights.)
Line 1: Line 1:
<table class="vertical-navbox {{#if: {{{wraplinks|}}}|{{#ifeq: {{{wraplinks|}}}|true||nowraplinks}}|nowraplinks}} {{{class|}}} {{{bodyclass|}}}" cellspacing="5" style="float: right; clear: right; color: black; background: #f9f9f9; border: 1px solid #aaa; width: 22em; margin: 0 0 1.0em 1.0em; padding: 0.2em; border-spacing: 0.4em 0; text-align: center; line-height: 1.4em; font-size: 88%; {{{style|}}} {{{bodystyle|}}}" cellpadding="{{{cellpadding|0}}}">{{#if: {{{outertitle<includeonly>|</includeonly>}}}|<caption class="{{{outertitleclass|}}}" style="padding-bottom: 0.2em; font-size: 125%; line-height: 1.15em; font-weight: bold; {{{outertitlestyle|}}}">{{{outertitle}}}</caption>
<table class="vertical-navbox {{#if: {{{wraplinks|}}}|{{#ifeq: {{{wraplinks|}}}|true||nowraplinks}}|nowraplinks}} {{{class|}}} {{{bodyclass|}}}" cellspacing="5" style="float: right; clear: right; color: black; background: #f9f9f9; border: 1px solid #aaa; width: 22em; margin: 0 0 1.0em 1.0em; padding: 0.2em; border-spacing: 0.4em 0; text-align: center; line-height: 1.4em; font-size: 88%; {{{style|}}} {{{bodystyle|}}}" cellpadding="{{{cellpadding|0}}}">{{#if: {{{outertitle<includeonly>|</includeonly>}}}|<caption class="{{{outertitleclass|}}}" style="padding-bottom: 0.2em; font-size: 125%; line-height: 1.2em; font-weight: bold; {{{outertitlestyle|}}}">{{{outertitle}}}</caption>
}}{{#if: {{{topimage<includeonly>|</includeonly>}}}|
}}{{#if: {{{topimage<includeonly>|</includeonly>}}}|
<tr>
<tr>
<td class="{{{topimageclass|}}}" style="padding: 0.4em 0; {{{topimagestyle|}}}">{{{topimage}}}{{#if: {{{topcaption<includeonly>|</includeonly>}}}|
<td class="{{{topimageclass|}}}" style="padding: 0.4em 0; {{{topimagestyle|}}}">{{{topimage}}}{{#if: {{{topcaption<includeonly>|</includeonly>}}}|
<div style="padding-top: 0.2em; font-size: 85%; line-height: 1.2em; {{{topcaptionstyle|}}}">{{{topcaption}}}</div>}}</td>
<div style="padding-top: 0.2em; line-height: 1.2em; {{{topcaptionstyle|}}}">{{{topcaption}}}</div>}}</td>
</tr>
</tr>
}}{{#if: {{{pretitle<includeonly>|</includeonly>}}}|
}}{{#if: {{{pretitle<includeonly>|</includeonly>}}}|
<tr>
<tr>
<td class="{{{pretitleclass|}}}" style="{{#if: {{{topimage<includeonly>|</includeonly>}}}|padding-top: 0.2em; |padding-top: 0.4em;}} font-size: 85%; line-height: 1.2em; {{{pretitlestyle|}}}">{{{pretitle}}}</td>
<td class="{{{pretitleclass|}}}" style="{{#if: {{{topimage<includeonly>|</includeonly>}}}|padding-top: 0.2em; |padding-top: 0.4em;}} line-height: 1.2em; {{{pretitlestyle|}}}">{{{pretitle}}}</td>
</tr>
</tr>
}}{{#if: {{{title<includeonly>|</includeonly>}}}|
}}{{#if: {{{title<includeonly>|</includeonly>}}}|
<tr>
<tr>
<th class="{{{titleclass|}}}" style="padding: 0.2em 0.4em 0.2em; {{#if: {{{pretitle<includeonly>|</includeonly>}}}|padding-top: 0;}} font-size: 145%; line-height: 1.15em; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</th>
<th class="{{{titleclass|}}}" style="padding: 0.2em 0.4em 0.2em; {{#if: {{{pretitle<includeonly>|</includeonly>}}}|padding-top: 0;}} font-size: 145%; line-height: 1.2em; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</th>
</tr>
</tr>
}}{{#if: {{{image<includeonly>|</includeonly>}}}|
}}{{#if: {{{image<includeonly>|</includeonly>}}}|
<tr>
<tr>
<td class="{{{imageclass|}}}" style="padding: 0.2em 0 0.4em; {{{imagestyle|}}}">{{{image}}}{{#if: {{{caption<includeonly>|</includeonly>}}}|
<td class="{{{imageclass|}}}" style="padding: 0.2em 0 0.4em; {{{imagestyle|}}}">{{{image}}}{{#if: {{{caption<includeonly>|</includeonly>}}}|
<div style="padding-top: 0.2em; font-size: 85%; line-height: 1.2em; {{{captionstyle|}}}">{{{caption}}}</div>}}</td>
<div style="padding-top: 0.2em; line-height: 1.2em; {{{captionstyle|}}}">{{{caption}}}</div>}}</td>
</tr>
</tr>
}}{{#if: {{{above<includeonly>|</includeonly>}}}|
}}{{#if: {{{above<includeonly>|</includeonly>}}}|

Revision as of 05:35, 27 November 2011