Vorlage:Sidebar: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
imported>Lahiru k
K (Reverted edits by 81.156.221.74 to last version by Rd232)
imported>Sardanaphalus
(reinventing as metatemplate)
Zeile 1: Zeile 1:
<div class="infobox" style="width: 20em;">
<noinclude>{{start sidebar page}}
{{{1}}}
</noinclude><table class="infobox {{{bodyclass|}}}" style="<noinclude>width:17.0em;</noinclude> margin:0 0 1.0em 1.0em; text-align:center; line-height:1.4em; font-size:88%; {{{style|}}} {{{bodystyle|}}}" cellspacing="{{{cellspacing|0}}}" cellpadding="{{{cellpadding|0}}}"><!--
</div>
 
------------------------------ outertitle -------------------------------
-->{{#if:{{{outertitle<includeonly>|</includeonly>}}}
    | <caption class="{{{outertitleclass|}}}" style="font-size:145%; font-weight:bold; {{{outertitlestyle|}}}">{{{outertitle}}}</caption><!--
-->}}<!--
 
------------------------------ imageabove -------------------------------
-->{{#if:{{{imageabove<includeonly>|</includeonly>}}}
    | <tr><td class="{{{imageaboveclass|}}}" <!--
            -->style="{{#if:{{{captionabove<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}} }} {{{imageabovestyle|}}}">{{{imageabove}}}<!--
    -->{{#if:{{{captionabove<includeonly>|</includeonly>}}}
        | <div style="line-height:1.2em; font-size:90%; {{{captionabovestyle|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}}">{{{captionabove}}}</div><!--
    -->}}<!--
-->}}<!--
 
-------------------------------- title ----------------------------------
-->{{#if:{{{title<includeonly>|</includeonly>}}}
    | <tr><td class="{{{titleclass|}}}" style="padding-top:0.2em; font-size:145%; font-weight:bold; {{{titlestyle|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}}">{{{title}}}<!--
-->}}<!--
 
-------------------------------- image ----------------------------------
-->{{#if:{{{image<includeonly>|</includeonly>}}}
    | <tr><td class="{{{imageclass|}}}" <!--
            -->style="{{#if:{{{caption<includeonly>|</includeonly>}}} | |{{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}} }} {{{imagestyle|}}}">{{{image}}}<!--
    -->{{#if:{{{caption<includeonly>|</includeonly>}}}
        | <div style="line-height:1.2em; font-size:90%; {{{captionstyle|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}}">{{{caption}}}</div><!--
    -->}}<!--
-->}}<!--
 
------------------------------ section 1 --------------------------------
-->{{#if:{{{heading1<includeonly>|</includeonly>}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading1style|}}}">{{{heading1}}} }}<!--
--><tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content1style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content1<includeonly>|</includeonly>}}}<!--
 
------------------------------ section 2 --------------------------------
-->{{#if:{{{heading2<includeonly>|</includeonly>}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading2style|}}}">{{{heading2}}} }}<!--
-->{{#if:{{{content2<includeonly>|</includeonly>}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content2style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content2<includeonly>|</includeonly>}}} }}<!--
 
------------------------------ section 3 --------------------------------
-->{{#if:{{{heading3<includeonly>|</includeonly>}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading3style|}}}">{{{heading3}}} }}<!--
-->{{#if:{{{content3<includeonly>|</includeonly>}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content3style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content3<includeonly>|</includeonly>}}} }}<!--
 
------------------------------ section 4 --------------------------------
-->{{#if:{{{heading4|}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading4style|}}}">{{{heading4}}} }}<!--
-->{{#if:{{{content4<includeonly>|</includeonly>}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content4style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content4<noinclude>|''...(etc)...''</noinclude>}}} }}<!--
 
------------------------------ section 5 --------------------------------
-->{{#if:{{{heading5|}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading5style|}}}">{{{heading5}}} }}<!--
-->{{#if:{{{content5|}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content5style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content5}}} }}<!--
 
------------------------------ section 6 --------------------------------
-->{{#if:{{{heading6|}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading6style|}}}">{{{heading6}}} }}<!--
-->{{#if:{{{content6|}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content6style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content6}}} }}<!--
 
------------------------------ section 7 --------------------------------
-->{{#if:{{{heading7|}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading7style|}}}">{{{heading7}}} }}<!--
-->{{#if:{{{content7|}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content7style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content7}}} }}<!--
 
------------------------------ section 8 --------------------------------
-->{{#if:{{{heading8|}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading8style|}}}">{{{heading8}}} }}<!--
-->{{#if:{{{content8|}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content8style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content8}}} }}<!--
 
------------------------------ section 9 --------------------------------
-->{{#if:{{{heading9|}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading9style|}}}">{{{heading9}}} }}<!--
-->{{#if:{{{content9|}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content9style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content9}}} }}<!--
 
------------------------------ section 10 -------------------------------
-->{{#if:{{{heading10|}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading10style|}}}">{{{heading10}}} }}<!--
-->{{#if:{{{content10|}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content10style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content10}}} }}<!--
 
------------------------------ section 11 -------------------------------
-->{{#if:{{{heading11|}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading11style|}}}">{{{heading5}}} }}<!--
-->{{#if:{{{content11|}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content11style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content11}}} }}<!--
 
------------------------------ section 12 -------------------------------
-->{{#if:{{{heading12|}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading12style|}}}">{{{heading12}}} }}<!--
-->{{#if:{{{content12|}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content12style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content12}}} }}<!--
 
------------------------------ section 13 -------------------------------
-->{{#if:{{{heading13|}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading13style|}}}">{{{heading13}}} }}<!--
-->{{#if:{{{content13|}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content13style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content13}}} }}<!--
 
------------------------------ section 14 -------------------------------
-->{{#if:{{{heading14|}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading14style|}}}">{{{heading14}}} }}<!--
-->{{#if:{{{content14|}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content14style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content14}}} }}<!--
 
------------------------------ section 15 -------------------------------
-->{{#if:{{{heading15|}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading15style|}}}">{{{heading15}}} }}<!--
-->{{#if:{{{content15|}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content15style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content15}}} }}<!--
 
------------------------------ section 16 -------------------------------
-->{{#if:{{{heading16|}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading5style|}}}">{{{heading16}}} }}<!--
-->{{#if:{{{content16|}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content16style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content16}}} }}<!--
 
------------------------------ section 17 -------------------------------
-->{{#if:{{{heading17|}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading17style|}}}">{{{heading5}}} }}<!--
-->{{#if:{{{content17|}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content17style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content17}}} }}<!--
 
------------------------------ section 18 -------------------------------
-->{{#if:{{{heading18|}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading18style|}}}">{{{heading18}}} }}<!--
-->{{#if:{{{content18|}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content18style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content18}}} }}<!--
 
------------------------------ section 19 -------------------------------
-->{{#if:{{{heading19|}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading19style|}}}">{{{heading19}}} }}<!--
-->{{#if:{{{content19|}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content19style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content19}}} }}<!--
 
------------------------------ section 20 -------------------------------
-->{{#if:{{{heading20<includeonly>|</includeonly>}}} |<tr><td style="padding:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading20style|}}}">{{{heading20}}} }}<!--
-->{{#if:{{{content20<includeonly>|</includeonly>}}} |<tr><td style="padding-top:0.2em; padding-bottom:0.4em; {{{contentstyle|}}} {{{content20style|}}} {{{sectdivider|padding-bottom:0.4em; border-bottom:solid 1px #aaa;}}}">{{{content20}}} }}<!--
 
-------------------------------- Tnavbar --------------------------------
-->{{#ifeq:{{{tnavbar<includeonly>|</includeonly>}}}|{{{none|off}}}
    | |<tr><td style="padding:0.2em; {{{contentstyle|}}}">{{Tnavbar |{{{name|{{PAGENAME}}}}} |mini=1 |{{{tnavbar-options|}}} }}<!--
-->}}
</table><noinclude>
{{end sidebar page}}
 
<!---
Please add metadata (categories, interwikis) to the <includeonly>
section at the bottom of Template:Sidebar/doc, not here - thanks!
---->
</noinclude>

Version vom 8. September 2008, 01:55 Uhr

Vorlage:Start sidebar page

{{{outertitle}}}
{{{imageabove}}}
{{{captionabove}}}
{{{title}}}
{{{image}}}
{{{caption}}}
{{{heading1}}}
{{{content1}}}
{{{heading2}}}
{{{content2}}}
{{{heading3}}}
{{{content3}}}
...(etc)...
{{{heading20}}}
{{{content20}}}
Vorlage:Tnavbar

Vorlage:End sidebar page