You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:Collapsible list: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(New page: <table class="vertical-navbox {{#if:{{{wraplinks|}}}|{{#ifeq:{{{wraplinks|}}}|true||nowraplinks}}|nowraplinks}} {{{class|}}} {{{bodyclass|}}}" <!-- -->style="float:right; clear:right; ...)
 
(Replacing page with '{{Sidebar with collapsible lists ...Insert title/image/etc parameters per Template:Sidebar here... |listtitlestyle = |liststyle = |list1name = |list1title = |list1 = ...')
Line 1: Line 1:
<table class="vertical-navbox {{#if:{{{wraplinks|}}}|{{#ifeq:{{{wraplinks|}}}|true||nowraplinks}}|nowraplinks}} {{{class|}}} {{{bodyclass|}}}" <!--
{{Sidebar with collapsible lists
    -->style="float:right; clear:right; color:black; background:#f9f9f9; border:1px solid #aaa; <noinclude>width:13.0em;</noinclude> 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}}}"><!--


------------------------------ outertitle -------------------------------
...Insert title/image/etc parameters per Template:Sidebar here...
-->{{#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 --------------------------
|listtitlestyle =  
-->{{#if:{{{topimage<includeonly>|</includeonly>}}}
|liststyle =  
    | <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>}}<!--
--></td></tr>}}<!--


  --------------------------- pretitle, title -----------------------------
|list1name =
-->{{#if:{{{pretitle<includeonly>|</includeonly>}}}
|list1title =  
    | <tr><td style="{{#if:{{{topimage<includeonly>|</includeonly>}}} |padding-top:0.2em; |padding-top:0.4em;}} font-size:85%; line-height:1.2em; {{{pretitlestyle|}}}">{{{pretitle}}}<!--
|list1 =  
--></td></tr>}}<!--
-->{{#if:{{{title<includeonly>|</includeonly>}}}
    | <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></tr>}}<!--


  --------------------------- image, caption ------------------------------
|list2name =
-->{{#if:{{{image<includeonly>|</includeonly>}}}
|list2title =  
    | <tr><td class="{{{imageclass|}}}" style="padding:0.2em 0 0.4em; {{{imagestyle|}}}">{{{image}}}<!--
|list2 =  
        -->{{#if:{{{caption<includeonly>|</includeonly>}}} |<div style="padding-top:0.2em; font-size:85%; line-height:1.2em; {{{captionstyle|}}}">{{{caption}}}</div>}}<!--
--></td></tr>}}<!--


------------------------------- above -----------------------------------
......
-->{{#if:{{{above<includeonly>|</includeonly>}}} |<tr><td style="padding:0.3em 0.4em 0.3em; font-weight:bold; {{{abovestyle|}}}">{{{above}}}<!---->}}<!--


  --------------------------- sections 1 to 4 -----------------------------
|list15name =
-->{{#if:{{{heading1<includeonly>|</includeonly>}}}
|list15title =  
    |<tr><td style="padding-top:0.2em; {{#if:{{{image<includeonly>|</includeonly>}}} |padding-top:0.4em;}} font-size:100%; font-weight:bold; {{{headingstyle|}}} {{{heading1style|}}}"><!--
|list15 =  
      -->{{{heading1}}}<!--
--></td></tr>}}<!--
-->{{#if:{{{content1<includeonly>|</includeonly>}}}
    |<tr><td style="{{#if:{{{heading1|{{{heading<includeonly>|</includeonly>}}}}}} | |padding-top:0.2em;}} padding-bottom:0.2em; font-size:85%; {{{contentstyle|}}} {{{content1style|}}}"><!--
      -->{{{content1}}}<!--
--></td></tr>}}<!--


-->{{#if:{{{heading2<includeonly>|</includeonly>}}} |<tr><td style="padding-top:0.2em; font-weight:bold; font-size:100%; {{{headingstyle|}}} {{{heading2style|}}}">{{{heading2}}}<!----></td></tr>}}<!--
...Possible portal/tnavbar-related parameters per Template:Sidebar...
-->{{#if:{{{content2<includeonly>|</includeonly>}}} |<tr><td style="padding-bottom:0.2em; font-size:85%;{{{contentstyle|}}} {{{content2style|}}}">{{{content2}}}<!----></td></tr>}}<!--


-->{{#if:{{{heading3<includeonly>|</includeonly>}}} |<tr><td style="padding-top:0.2em; font-weight:bold; font-size:100%;{{{headingstyle|}}} {{{heading3style|}}}">{{{heading3}}}<!----></td></tr>}}<!--
}}
-->{{#if:{{{content3<includeonly>|</includeonly>}}} |<tr><td style="padding-bottom:0.2em;font-size:85%; {{{contentstyle|}}} {{{content3style|}}}">{{{content3}}}<!----></td></tr>}}<!--
 
-->{{#if:{{{heading4|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; font-size:100%;{{{headingstyle|}}} {{{heading4style|}}}">{{{heading4}}}<!----></td></tr>}}<!--
-->{{#if:{{{content4<includeonly>|</includeonly>}}} |<tr><td style="padding-bottom:0.2em;font-size:85%; {{{contentstyle|}}} {{{content4style|}}}">{{{content4<noinclude>|................</noinclude>}}}<!----></td></tr>}}<!--
 
--------------------------- section 5 onward ----------------------------
-->{{#if:{{{heading5|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; font-size:100%;{{{headingstyle|}}} {{{heading5style|}}}">{{{heading5}}}<!----></td></tr>}}<!--
-->{{#if:{{{content5|}}} |<tr><td style="padding-bottom:0.2em; font-size:85%;{{{contentstyle|}}} {{{content5style|}}}">{{{content5}}}<!----></td></tr>}}<!--
 
-->{{#if:{{{heading6|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; font-size:100%;{{{headingstyle|}}} {{{heading6style|}}}">{{{heading6}}}<!----></td></tr>}}<!--
-->{{#if:{{{content6|}}} |<tr><td style="padding-bottom:0.2em; font-size:85%;{{{contentstyle|}}} {{{content6style|}}}">{{{content6}}}<!----></td></tr>}}<!--
 
-->{{#if:{{{heading7|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; font-size:100%;{{{headingstyle|}}} {{{heading7style|}}}">{{{heading7}}}<!----></td></tr>}}<!--
-->{{#if:{{{content7|}}} |<tr><td style="padding-bottom:0.2em; font-size:85%;{{{contentstyle|}}} {{{content7style|}}}">{{{content7}}}<!----></td></tr>}}<!--
 
-->{{#if:{{{heading8|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; font-size:100%;{{{headingstyle|}}} {{{heading8style|}}}">{{{heading8}}}<!----></td></tr>}}<!--
-->{{#if:{{{content8|}}} |<tr><td style="padding-bottom:0.2em; font-size:85%;{{{contentstyle|}}} {{{content8style|}}}">{{{content8}}}<!----></td></tr>}}<!--
 
-->{{#if:{{{heading9|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; font-size:100%;{{{headingstyle|}}} {{{heading9style|}}}">{{{heading9}}}<!----></td></tr>}}<!--
-->{{#if:{{{content9|}}} |<tr><td style="padding-bottom:0.2em; font-size:85%;{{{contentstyle|}}} {{{content9style|}}}">{{{content9}}}<!----></td></tr>}}<!--
 
-->{{#if:{{{heading10|}}} |<tr><td style="padding-top:0.2em; font-weight:bold; font-size:100%;{{{headingstyle|}}} {{{heading10style|}}}">{{{heading10}}}<!----></td></tr>}}<!--
-->{{#if:{{{content10|}}} |<tr><td style="padding-bottom:0.2em; font-size:85%;{{{contentstyle|}}} {{{content10style|}}}">{{{content10}}}<!----></td></tr>}}<!--
 
---------------------------- final section ------------------------------
-->{{#if:{{{heading11<includeonly>|</includeonly>}}} |<tr><td style="padding-top:0.2em; font-weight:bold; font-size:100%;{{{headingstyle|}}} {{{heading11style|}}}">{{{heading11}}}<!----></td></tr>}}<!--
-->{{#if:{{{content11<includeonly>|</includeonly>}}} |<tr><td style="padding-bottom:0.2em;font-size:85%; {{{contentstyle|}}} {{{content11style|}}}">{{{content11}}}<!----></td></tr>}}<!--
 
-------------------------------- below ----------------------------------
-->{{#if:{{{below<includeonly>|</includeonly>}}} |<tr><td style="padding:0.3em 0.4em 0.3em; font-weight:bold; {{{belowstyle|}}}">{{{below}}}<!----></td></tr>}}
 
</table>

Revision as of 05:19, 9 May 2010

{{Sidebar with collapsible lists

...Insert title/image/etc parameters per Template:Sidebar here...

|listtitlestyle = |liststyle =

|list1name = |list1title = |list1 =

|list2name = |list2title = |list2 =

......

|list15name = |list15title = |list15 =

...Possible portal/tnavbar-related parameters per Template:Sidebar...

}}