Template:Sidebar with collapsible lists: Difference between revisions
From Vigyanwiki
Template>Sardanaphalus (correcting previous (rm pipes)) |
Template>Sardanaphalus (simplifying #ifeq: layout) |
||
Line 1: | Line 1: | ||
<noinclude>{{start sidebar page}} | <noinclude>{{start sidebar page}} | ||
</noinclude>{{Sidebar | </noinclude>{{Sidebar | ||
|name | |name = {{{name|{{PAGENAME}}}}} | ||
|class = {{{class|{{{bodyclass|}}}}}} | |class = {{{class|{{{bodyclass|}}}}}} | ||
|style = {{{style|{{{bodystyle|}}}}}} <noinclude>width:15.0em;</noinclude> | |style = {{{style|{{{bodystyle|}}}}}} <noinclude>width:15.0em;</noinclude> | ||
Line 7: | Line 7: | ||
|cellpadding = {{{cellpadding|}}} | |cellpadding = {{{cellpadding|}}} | ||
|sectdivider = {{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}} | |sectdivider = {{{sectdivider|padding-bottom:0.4em; border-bottom:1px solid #aaa;}}} | ||
|exttitle = {{{exttitle<includeonly>|</includeonly>}}} | |exttitle = {{{exttitle<includeonly>|</includeonly>}}} | ||
|exttitleclass = {{{exttitleclass|}}} | |exttitleclass = {{{exttitleclass|}}} | ||
|exttitlestyle = {{{exttitlestyle|}}} | |exttitlestyle = {{{exttitlestyle|}}} | ||
|topimage = {{{topimage<includeonly>|</includeonly>}}} | |topimage = {{{topimage<includeonly>|</includeonly>}}} | ||
|topimageclass = {{{topimageclass|}}} | |topimageclass = {{{topimageclass|}}} | ||
|topimagestyle = {{{topimagestyle|}}} | |topimagestyle = {{{topimagestyle|}}} | ||
|topcaption = {{{topcaption<includeonly>|</includeonly>}}} | |topcaption = {{{topcaption<includeonly>|</includeonly>}}} | ||
|topcaptionstyle = {{{topcaptionstyle|}}} | |topcaptionstyle = {{{topcaptionstyle|}}} | ||
|pretitle = {{{pretitle<includeonly>|</includeonly>}}} | |pretitle = {{{pretitle<includeonly>|</includeonly>}}} | ||
|pretitlestyle = {{{pretitlestyle|}}} | |pretitlestyle = {{{pretitlestyle|}}} | ||
|title | |title = {{{title<includeonly>|</includeonly>}}} | ||
|titleclass = {{{titleclass|}}} | |titleclass = {{{titleclass|}}} | ||
|titlestyle = {{{titlestyle|}}} | |titlestyle = {{{titlestyle|}}} | ||
|image | |image = {{{image<includeonly>|</includeonly>}}} | ||
|imageclass = {{{imageclass|}}} | |imageclass = {{{imageclass|}}} | ||
|imagestyle = {{{imagestyle|}}} | |imagestyle = {{{imagestyle|}}} | ||
Line 36: | Line 36: | ||
|title = {{{list1title<includeonly>|</includeonly>}}} | |title = {{{list1title<includeonly>|</includeonly>}}} | ||
|titlestyle = {{{listtitlestyle|}}}{{{list1titlestyle|}}} | |titlestyle = {{{listtitlestyle|}}}{{{list1titlestyle|}}} | ||
|liststyle = {{#ifeq:{{{expanded|}}}|all | |liststyle = {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list1name}}} |display:inline;}} {{{liststyle|}}}{{{list1style|}}} | ||
| {{{list1<includeonly>|</includeonly>}}} | | {{{list1<includeonly>|</includeonly>}}} | ||
}} | }} | ||
Line 50: | Line 48: | ||
|title = {{{list2title<includeonly>|</includeonly>}}} | |title = {{{list2title<includeonly>|</includeonly>}}} | ||
|titlestyle = {{{listtitlestyle|}}}{{{list2titlestyle|}}} | |titlestyle = {{{listtitlestyle|}}}{{{list2titlestyle|}}} | ||
|liststyle = {{#ifeq:{{{expanded|}}}|all | |liststyle = {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list2name}}} |display:inline;}} {{{liststyle|}}}{{{list2style|}}} | ||
| {{{list2<includeonly>|</includeonly>}}} | | {{{list2<includeonly>|</includeonly>}}} | ||
}}<!------>}} | }}<!------>}} | ||
Line 64: | Line 60: | ||
|title = {{{list3title<includeonly>|</includeonly>}}} | |title = {{{list3title<includeonly>|</includeonly>}}} | ||
|titlestyle = {{{listtitlestyle|}}}{{{list3titlestyle|}}} | |titlestyle = {{{listtitlestyle|}}}{{{list3titlestyle|}}} | ||
|liststyle = {{#ifeq:{{{expanded|}}}|all | |liststyle = {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list3name}}} |display:inline;}} {{{liststyle|}}}{{{list3style|}}} | ||
| {{{list3<includeonly>|</includeonly>}}} | | {{{list3<includeonly>|</includeonly>}}} | ||
}}<!------>}} | }}<!------>}} | ||
Line 79: | Line 73: | ||
|title = {{{list4title|}}} | |title = {{{list4title|}}} | ||
|titlestyle = {{{listtitlestyle|}}}{{{list4titlestyle|}}} | |titlestyle = {{{listtitlestyle|}}}{{{list4titlestyle|}}} | ||
|liststyle = {{#ifeq:{{{expanded|}}}|all | |liststyle = {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list4name}}} |display:inline;}} {{{liststyle|}}}{{{list4style|}}} | ||
| {{{list4|}}} | | {{{list4|}}} | ||
}}<!------>}}</includeonly> | }}<!------>}}</includeonly> | ||
Line 93: | Line 85: | ||
|title = {{{list5title|}}} | |title = {{{list5title|}}} | ||
|titlestyle = {{{listtitlestyle|}}}{{{list5titlestyle|}}} | |titlestyle = {{{listtitlestyle|}}}{{{list5titlestyle|}}} | ||
|liststyle = {{#ifeq:{{{expanded|}}}|all | |liststyle = {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list5name}}} |display:inline;}} {{{liststyle|}}}{{{list5style|}}} | ||
| {{{list5|}}} | | {{{list5|}}} | ||
}}<!------>}} | }}<!------>}} | ||
Line 107: | Line 97: | ||
|title = {{{list6title|}}} | |title = {{{list6title|}}} | ||
|titlestyle = {{{listtitlestyle|}}}{{{list6titlestyle|}}} | |titlestyle = {{{listtitlestyle|}}}{{{list6titlestyle|}}} | ||
|liststyle = {{#ifeq:{{{expanded|}}}|all | |liststyle = {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list6name}}} |display:inline;}} {{{liststyle|}}}{{{list6style|}}} | ||
| {{{list6|}}} | | {{{list6|}}} | ||
}}<!------>}} | }}<!------>}} | ||
Line 121: | Line 109: | ||
|title = {{{list7title|}}} | |title = {{{list7title|}}} | ||
|titlestyle = {{{listtitlestyle|}}}{{{list7titlestyle|}}} | |titlestyle = {{{listtitlestyle|}}}{{{list7titlestyle|}}} | ||
|liststyle = {{#ifeq:{{{expanded|}}}|all | |liststyle = {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list7name}}} |display:inline;}} {{{liststyle|}}}{{{list7style|}}} | ||
| {{{list7|}}} | | {{{list7|}}} | ||
}}<!------>}} | }}<!------>}} | ||
Line 135: | Line 121: | ||
|title = {{{list8title|}}} | |title = {{{list8title|}}} | ||
|titlestyle = {{{listtitlestyle|}}}{{{list8titlestyle|}}} | |titlestyle = {{{listtitlestyle|}}}{{{list8titlestyle|}}} | ||
|liststyle = {{#ifeq:{{{expanded|}}}|all | |liststyle = {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list8name}}} |display:inline;}} {{{liststyle|}}}{{{list8style|}}} | ||
| {{{list8|}}} | | {{{list8|}}} | ||
}}<!------>}} | }}<!------>}} | ||
Line 149: | Line 133: | ||
|title = {{{list9title|}}} | |title = {{{list9title|}}} | ||
|titlestyle = {{{listtitlestyle|}}}{{{list9titlestyle|}}} | |titlestyle = {{{listtitlestyle|}}}{{{list9titlestyle|}}} | ||
|liststyle = {{#ifeq:{{{expanded|}}}|all | |liststyle = {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list9name}}} |display:inline;}} {{{liststyle|}}}{{{list9style|}}} | ||
| {{{list9|}}} | | {{{list9|}}} | ||
}}<!------>}} | }}<!------>}} | ||
Line 163: | Line 145: | ||
|title = {{{list10title|}}} | |title = {{{list10title|}}} | ||
|titlestyle = {{{listtitlestyle|}}}{{{list10titlestyle|}}} | |titlestyle = {{{listtitlestyle|}}}{{{list10titlestyle|}}} | ||
|liststyle = {{#ifeq:{{{expanded|}}}|all | |liststyle = {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list10name}}} |display:inline;}} {{{liststyle|}}}{{{list10style|}}} | ||
| {{{list10|}}} | | {{{list10|}}} | ||
}}<!------>}} | }}<!------->}} | ||
|heading11style = {{{heading11style|}}} | |heading11style = {{{heading11style|}}} | ||
Line 177: | Line 157: | ||
|title = {{{list11title|}}} | |title = {{{list11title|}}} | ||
|titlestyle = {{{listtitlestyle|}}}{{{list11titlestyle|}}} | |titlestyle = {{{listtitlestyle|}}}{{{list11titlestyle|}}} | ||
|liststyle = {{#ifeq:{{{expanded|}}}|all | |liststyle = {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list11name}}} |display:inline;}} {{{liststyle|}}}{{{list11style|}}} | ||
| {{{list11|}}} | | {{{list11|}}} | ||
}}<!------>}} | }}<!------->}} | ||
|heading12style = {{{heading12style|}}} | |heading12style = {{{heading12style|}}} | ||
Line 191: | Line 169: | ||
|title = {{{list12title|}}} | |title = {{{list12title|}}} | ||
|titlestyle = {{{listtitlestyle|}}}{{{list12titlestyle|}}} | |titlestyle = {{{listtitlestyle|}}}{{{list12titlestyle|}}} | ||
|liststyle = {{#ifeq:{{{expanded|}}}|all | |liststyle = {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list12name}}} |display:inline;}} {{{liststyle|}}}{{{list12style|}}} | ||
| {{{list12|}}} | | {{{list12|}}} | ||
}}<!------>}} | }}<!------->}} | ||
|heading13style = {{{heading13style|}}} | |heading13style = {{{heading13style|}}} | ||
Line 205: | Line 181: | ||
|title = {{{list13title|}}} | |title = {{{list13title|}}} | ||
|titlestyle = {{{listtitlestyle|}}}{{{list13titlestyle|}}} | |titlestyle = {{{listtitlestyle|}}}{{{list13titlestyle|}}} | ||
|liststyle = {{#ifeq:{{{expanded|}}}|all | |liststyle = {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list13name}}} |display:inline;}} {{{liststyle|}}}{{{list13style|}}} | ||
| {{{list13|}}} | | {{{list13|}}} | ||
}}<!------>}} | }}<!------->}} | ||
|heading14style = {{{heading14style|}}} | |heading14style = {{{heading14style|}}} | ||
Line 219: | Line 193: | ||
|title = {{{list14title|}}} | |title = {{{list14title|}}} | ||
|titlestyle = {{{listtitlestyle|}}}{{{list14titlestyle|}}} | |titlestyle = {{{listtitlestyle|}}}{{{list14titlestyle|}}} | ||
|liststyle = {{#ifeq:{{{expanded|}}}|all | |liststyle = {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list14name}}} |display:inline;}} {{{liststyle|}}}{{{list14style|}}} | ||
| {{{list14|}}} | | {{{list14|}}} | ||
}}<!------>}} | }}<!------->}} | ||
|heading15style = {{{heading15style|}}} | |heading15style = {{{heading15style|}}} | ||
Line 233: | Line 205: | ||
|title = {{{list15title<includeonly>|</includeonly>}}} | |title = {{{list15title<includeonly>|</includeonly>}}} | ||
|titlestyle = {{{listtitlestyle|}}}{{{list15titlestyle|}}} | |titlestyle = {{{listtitlestyle|}}}{{{list15titlestyle|}}} | ||
|liststyle = {{#ifeq:{{{expanded|}}}|all | |liststyle = {{#ifeq:{{{expanded|}}}|all |display:inline;}} {{#ifeq:{{{expanded|}}}|{{{list15name}}} |display:inline;}} {{{liststyle|}}}{{{list15style|}}} | ||
| {{{list15<includeonly>|</includeonly>}}} | | {{{list15<includeonly>|</includeonly>}}} | ||
}}<!------>}} | }}<!------->}} | ||
|tnavbarstyle = {{{tnavbarstyle|}}} | |tnavbarstyle = {{{tnavbarstyle|}}} |
Revision as of 21:50, 24 September 2008
{{{topimage}}} |
{{{pretitle}}} |
{{{title}}} |
---|
{{{image}}} |
{{{list1title}}}
|
{{{list2title}}}
|
{{{list3title}}}
|
(......etc......) |
{{{list15title}}}
|