Vorlage:Sidebar: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
imported>Sardanaphalus
(-- updating to make no dividers default (use {{Sidebar with dividers}} or {{Sidebar with heading backgrounds}} instead, some code simplification --)
K (197 Versionen von wikivoyage:Vorlage:Sidebar importiert)
 
(98 dazwischenliegende Versionen von 34 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<noinclude>{{start sidebar page}}
{{#invoke:Sidebar|sidebar}}<noinclude>
</noinclude><table class="infobox {{{class|}}} {{{bodyclass|}}}" <!--
{{documentation}}</noinclude>
    -->style="<noinclude>width:13.0em;</noinclude> margin:0 0 1.0em 1.0em; border-spacing:0.4em 0; text-align:center; line-height:1.4em; font-size:88%; {{{style|}}} {{{bodystyle|}}}" <!--
    -->cellspacing="{{{cellspacing|0}}}" <!--
    -->cellpadding="{{{cellpadding|0}}}"><!--
 
------------------------------ outertitle -------------------------------
-->{{#if:{{{outertitle<includeonly>|</includeonly>}}}
    | <caption class="{{{outertitleclass|}}}" style="padding-bottom:0.2em; font-size:145%; line-height:1.15em; font-weight:bold; {{{outertitlestyle|}}}">{{{outertitle}}}</caption><!--
-->}}<!--
 
------------------------- topimage, topcaption --------------------------
-->{{#if:{{{topimage<includeonly>|</includeonly>}}}
    | <tr><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>}}<!--
-->}}<!--
 
--------------------------- pretitle, title -----------------------------
-->{{#if:{{{pretitle<includeonly>|</includeonly>}}}
    | <tr><td style="{{#if:{{{topimage<includeonly>|</includeonly>}}} |padding-top:0.2em; |padding-top:0.4em;}} font-size:85%; line-height:1.2em; {{{pretitlestyle|}}}">{{{pretitle}}}<!--
-->}}<!--
-->{{#if:{{{title<includeonly>|</includeonly>}}}
    | <tr><td 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}}}<!--
-->}}<!--
 
--------------------------- image, caption ------------------------------
-->{{#if:{{{image<includeonly>|</includeonly>}}}
    | <tr><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>}}<!--
-->}}<!--
 
--------------------------- sections 1 to 4 -----------------------------
-->{{#if:{{{heading1<includeonly>|</includeonly>}}}
    |<tr><td style="padding-top:0.2em; {{#if:{{{image<includeonly>|</includeonly>}}} |padding-top:0.4em;}} font-weight:bold; {{{headingstyle|}}} {{{heading1style|}}}"><!--
      -->{{{heading1}}}<!--
-->}}<!--
-->{{#if:{{{content1<includeonly>|</includeonly>}}}
    |<tr><td style="{{#if:{{{heading1|{{{heading<includeonly>|</includeonly>}}}}}} | |padding-top:0.2em;}} padding-bottom:0.2em; {{{contentstyle|}}} {{{content1style|}}}"><!--
      -->{{{content1}}}<!--
-->}}<!--
 
-->{{#if:{{{heading2<includeonly>|</includeonly>}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading2style|}}}">{{{heading2}}}<!---->}}<!--
-->{{#if:{{{content2<includeonly>|</includeonly>}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content2style|}}}">{{{content2}}}<!---->}}<!--
 
-->{{#if:{{{heading3<includeonly>|</includeonly>}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading3style|}}}">{{{heading3}}}<!---->}}<!--
-->{{#if:{{{content3<includeonly>|</includeonly>}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content3style|}}}">{{{content3}}}<!---->}}<!--
 
-->{{#if:{{{heading4|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading4style|}}}">{{{heading4}}}<!---->}}<!--
-->{{#if:{{{content4<includeonly>|</includeonly>}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content4style|}}}">{{{content4<noinclude>|................</noinclude>}}}<!---->}}<!--
 
--------------------------- section 5 onward ----------------------------
-->{{#if:{{{heading5|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading5style|}}}">{{{heading5}}}<!---->}}<!--
-->{{#if:{{{content5|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content5style|}}}">{{{content5}}}<!---->}}<!--
 
-->{{#if:{{{heading6|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading6style|}}}">{{{heading6}}}<!---->}}<!--
-->{{#if:{{{content6|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content6style|}}}">{{{content6}}}<!---->}}<!--
 
-->{{#if:{{{heading7|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading7style|}}}">{{{heading7}}}<!---->}}<!--
-->{{#if:{{{content7|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content7style|}}}">{{{content7}}}<!---->}}<!--
 
-->{{#if:{{{heading8|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading8style|}}}">{{{heading8}}}<!---->}}<!--
-->{{#if:{{{content8|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content8style|}}}">{{{content8}}}<!---->}}<!--
 
-->{{#if:{{{heading9|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading9style|}}}">{{{heading9}}}<!---->}}<!--
-->{{#if:{{{content9|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content9style|}}}">{{{content9}}}<!---->}}<!--
 
-->{{#if:{{{heading10|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading10style|}}}">{{{heading10}}}<!---->}}<!--
-->{{#if:{{{content10|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content10style|}}}">{{{content10}}}<!---->}}<!--
 
-->{{#if:{{{heading11|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading11style|}}}">{{{heading11}}}<!---->}}<!--
-->{{#if:{{{content11|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content11style|}}}">{{{content11}}}<!---->}}<!--
 
-->{{#if:{{{heading12|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading12style|}}}">{{{heading12}}}<!---->}}<!--
-->{{#if:{{{content12|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content12style|}}}">{{{content12}}}<!---->}}<!--
 
-->{{#if:{{{heading13|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading13style|}}}">{{{heading13}}}<!---->}}<!--
-->{{#if:{{{content13|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content13style|}}}">{{{content13}}}<!---->}}<!--
 
-->{{#if:{{{heading14|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading14style|}}}">{{{heading14}}}<!---->}}<!--
-->{{#if:{{{content14|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content14style|}}}">{{{content14}}}<!---->}}<!--
 
-->{{#if:{{{heading15|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading15style|}}}">{{{heading15}}}<!---->}}<!--
-->{{#if:{{{content15|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content15style|}}}">{{{content15}}}<!---->}}<!--
 
-->{{#if:{{{heading16|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading16style|}}}">{{{heading16}}}<!---->}}<!--
-->{{#if:{{{content16|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content16style|}}}">{{{content16}}}<!---->}}<!--
 
-->{{#if:{{{heading17|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading17style|}}}">{{{heading17}}}<!---->}}<!--
-->{{#if:{{{content17|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content17style|}}}">{{{content17}}}<!---->}}<!--
 
-->{{#if:{{{heading18|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading18style|}}}">{{{heading18}}}<!---->}}<!--
-->{{#if:{{{content18|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content18style|}}}">{{{content18}}}<!---->}}<!--
 
-->{{#if:{{{heading19|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading19style|}}}">{{{heading19}}}<!---->}}<!--
-->{{#if:{{{content19|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content19style|}}}">{{{content19}}}<!---->}}<!--
 
-->{{#if:{{{heading20|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading20style|}}}">{{{heading20}}}<!---->}}<!--
-->{{#if:{{{content20|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content20style|}}}">{{{content20}}}<!---->}}<!--
 
-->{{#if:{{{heading21|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading21style|}}}">{{{heading21}}}<!---->}}<!--
-->{{#if:{{{content21|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content21style|}}}">{{{content21}}}<!---->}}<!--
 
-->{{#if:{{{heading22|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading22style|}}}">{{{heading22}}}<!---->}}<!--
-->{{#if:{{{content22|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content22style|}}}">{{{content22}}}<!---->}}<!--
 
-->{{#if:{{{heading23|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading23style|}}}">{{{heading23}}}<!---->}}<!--
-->{{#if:{{{content23|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content23style|}}}">{{{content23}}}<!---->}}<!--
 
-->{{#if:{{{heading24|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading24style|}}}">{{{heading24}}}<!---->}}<!--
-->{{#if:{{{content24|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content24style|}}}">{{{content24}}}<!---->}}<!--
 
-->{{#if:{{{heading25|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading25style|}}}">{{{heading25}}}<!---->}}<!--
-->{{#if:{{{content25|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content25style|}}}"> {{{content25}}}<!---->}}<!--
 
-->{{#if:{{{heading26|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading26style|}}}">{{{heading26}}}<!---->}}<!--
-->{{#if:{{{content26|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content26style|}}}">{{{content26}}}<!---->}}<!--
 
-->{{#if:{{{heading27|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading27style|}}}">{{{heading27}}}<!---->}}<!--
-->{{#if:{{{content27|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content27style|}}}">{{{content27}}}<!---->}}<!--
 
-->{{#if:{{{heading28|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading28style|}}}">{{{heading28}}}<!---->}}<!--
-->{{#if:{{{content28|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content28style|}}}">{{{content28}}}<!---->}}<!--
 
-->{{#if:{{{heading29|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading29style|}}}">{{{heading29}}}<!---->}}<!--
-->{{#if:{{{content29|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content29style|}}}">{{{content29}}}<!---->}}<!--
 
-->{{#if:{{{heading30|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading30style|}}}">{{{heading30}}}<!---->}}<!--
-->{{#if:{{{content30|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content30style|}}}">{{{content30}}}<!---->}}<!--
 
-->{{#if:{{{heading31|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading31style|}}}">{{{heading31}}}<!---->}}<!--
-->{{#if:{{{content31|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content31style|}}}">{{{content31}}}<!---->}}<!--
 
-->{{#if:{{{heading32|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading32style|}}}">{{{heading32}}}<!---->}}<!--
-->{{#if:{{{content32|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content32style|}}}">{{{content32}}}<!---->}}<!--
 
-->{{#if:{{{heading33|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading33style|}}}">{{{heading33}}}<!---->}}<!--
-->{{#if:{{{content33|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content33style|}}}">{{{content33}}}<!---->}}<!--
 
-->{{#if:{{{heading34|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading34style|}}}">{{{heading34}}}<!---->}}<!--
-->{{#if:{{{content34|}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content34style|}}}">{{{content34}}}<!---->}}<!--
 
---------------------------- final section ------------------------------
-->{{#if:{{{heading35<includeonly>|</includeonly>}}} |<tr><td style="padding-top:0.2em; font-weight:bold; {{{headingstyle|}}} {{{heading35style|}}}">{{{heading35}}}<!---->}}<!--
-->{{#if:{{{content35<includeonly>|</includeonly>}}} |<tr><td style="padding-bottom:0.2em; {{{contentstyle|}}} {{{content35style|}}}">{{{content35}}}<!---->}}<!--
 
-------------------------------- below ----------------------------------
-->{{#if:{{{below<includeonly>|</includeonly>}}} |<tr><td style="padding:0.2em 0.4em 0.4em; font-weight:bold; {{{belowstyle|}}}">{{{below}}}<!---->}}<!--
 
------------------------------- tnavbar ---------------------------------
-->{{#switch:{{{tnavbar<includeonly>|</includeonly>}}}
    |none |off=
    |#default=<tr><td style="{{{tnavbarstyle|}}}">{{Tnavbar |{{{name|{{PAGENAME}}}}} |mini=1 |{{{tnavbaroptions|}}}<!---->}}<!--
-->}}
</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>

Aktuelle Version vom 27. Januar 2023, 05:54 Uhr

Template-info.png Dokumentation für die Vorlage {{Sidebar}}[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Für die Vorlage {{Sidebar}} gibt es noch keine Dokumentation. Du kannst sie aber anlegen.
Hinweise