Difference between revisions of "Template:Ethnic group sidebar"

From blackwiki
Jump to navigation Jump to search
imported>IznoRepeat
m (→‎top: clean up soon removed parameter, replaced: tnavbar → navbar (2))
 
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>{{Sidebar
+
<includeonly>{{sidebar with collapsible lists
 
|name          = {{{name|{{PAGENAME}}}}}
 
|name          = {{{name|{{PAGENAME}}}}}
|style        = {{{style|{{{bodystyle|}}}}}}
+
|wraplinks    = {{#ifeq: {{{nowraplinks|}}}|true||true}}
 +
|bodyclass    = {{{bodyclass|{{{class|}}}}}}
 +
|bodystyle    = {{{bodystyle|{{{style|}}}}}}
 
|pretitle      = {{#if:{{{pretitle|}}} |{{{pretitle}}} |Part of {{#if:{{{series|}}} |[[:Category:{{{series}}}{{!}}a series]] |a series}} on}}
 
|pretitle      = {{#if:{{{pretitle|}}} |{{{pretitle}}} |Part of {{#if:{{{series|}}} |[[:Category:{{{series}}}{{!}}a series]] |a series}} on}}
|pretitlestyle = {{{pretitlestyle|}}}
+
|pretitleclass = {{{pretitleclass|}}}
 +
|pretitlestyle = padding-top:0.4em; {{{pretitlestyle|}}}
 
|title        = {{{title}}}
 
|title        = {{{title}}}
 +
|titleclass    = {{{titleclass|}}}
 
|titlestyle    = font-size:175%; line-height:1.0em; padding-bottom:0.4em; {{{titlestyle|}}}
 
|titlestyle    = font-size:175%; line-height:1.0em; padding-bottom:0.4em; {{{titlestyle|}}}
 
|image        = {{{image|}}}
 
|image        = {{{image|}}}
 +
|imageclass    = {{{imageclass|}}}
 
|imagestyle    = border:none; padding:0.6em 0.4em; {{{imagestyle|}}}
 
|imagestyle    = border:none; padding:0.6em 0.4em; {{{imagestyle|}}}
 
|caption      = {{{caption|}}}
 
|caption      = {{{caption|}}}
 
|captionstyle  = {{{captionstyle|}}}
 
|captionstyle  = {{{captionstyle|}}}
|headingstyle  = border-top:1px solid #aaa; {{{headingstyle|}}}
+
 
|contentstyle  = border-bottom:1px solid #aaa; {{{contentstyle|}}}
+
|above = {{{above|}}}
 +
|aboveclass = {{{aboveclass|}}}
 +
|abovestyle = border-bottom:1px solid #aaa; {{{abovestyle|}}}
 +
 
 +
|headingclass  = {{{headingclass|}}}
 +
|headingstyle  = padding:0.2em 0.4em 0; border-top:1px solid #aaa; {{{headingstyle|}}}
 +
|contentclass  = {{{contentclass|}}}
 +
|contentstyle  = padding:0 0.4em 0.6em; border-bottom:1px solid #aaa; {{{contentstyle|}}}
 +
 
 +
|expanded = {{{expanded|}}}
  
 
|heading1style = {{{heading1style|}}}
 
|heading1style = {{{heading1style|}}}
 
|heading1  = {{{heading|{{{heading1|}}}}}}
 
|heading1  = {{{heading|{{{heading1|}}}}}}
 +
|list1titlestyle = {{{list1titlestyle|}}}
 +
|list1name = {{{list1name|}}}
 +
|list1title = {{{list1title|}}}
 +
|list1 = {{{list1|}}}
 
|content1style = {{{content1style|}}}
 
|content1style = {{{content1style|}}}
 
|content1  = {{{content|{{{content1|}}}}}}
 
|content1  = {{{content|{{{content1|}}}}}}
Line 20: Line 38:
 
|heading2style = {{{heading2style|}}}
 
|heading2style = {{{heading2style|}}}
 
|heading2  = {{{heading2|}}}
 
|heading2  = {{{heading2|}}}
 +
|list2titlestyle = {{{list2titlestyle|}}}
 +
|list2name = {{{list2name|}}}
 +
|list2title = {{{list2title|}}}
 +
|list2 = {{{list2|}}}
 
|content2style = {{{content2style|}}}
 
|content2style = {{{content2style|}}}
 
|content2  = {{{content2|}}}
 
|content2  = {{{content2|}}}
Line 25: Line 47:
 
|heading3style = {{{heading3style|}}}
 
|heading3style = {{{heading3style|}}}
 
|heading3  = {{{heading3|}}}
 
|heading3  = {{{heading3|}}}
 +
|list3titlestyle = {{{list3titlestyle|}}}
 +
|list3name = {{{list3name|}}}
 +
|list3title = {{{list3title|}}}
 +
|list3 = {{{list3|}}}
 
|content3style = {{{content3style|}}}
 
|content3style = {{{content3style|}}}
 
|content3  = {{{content3|}}}
 
|content3  = {{{content3|}}}
Line 30: Line 56:
 
|heading4style = {{{heading4style|}}}
 
|heading4style = {{{heading4style|}}}
 
|heading4  = {{{heading4|}}}
 
|heading4  = {{{heading4|}}}
 +
|list4titlestyle = {{{list4titlestyle|}}}
 +
|list4name = {{{list4name|}}}
 +
|list4title = {{{list4title|}}}
 +
|list4 = {{{list4|}}}
 
|content4style = {{{content4style|}}}
 
|content4style = {{{content4style|}}}
 
|content4  = {{{content4|}}}
 
|content4  = {{{content4|}}}
Line 35: Line 65:
 
|heading5style = {{{heading5style|}}}
 
|heading5style = {{{heading5style|}}}
 
|heading5  = {{{heading5|}}}
 
|heading5  = {{{heading5|}}}
 +
|list5titlestyle = {{{list5titlestyle|}}}
 +
|list5name = {{{list5name|}}}
 +
|list5title = {{{list5title|}}}
 +
|list5 = {{{list5|}}}
 
|content5style = {{{content5style|}}}
 
|content5style = {{{content5style|}}}
 
|content5  = {{{content5|}}}
 
|content5  = {{{content5|}}}
Line 40: Line 74:
 
|heading6style = {{{heading6style|}}}
 
|heading6style = {{{heading6style|}}}
 
|heading6  = {{{heading6|}}}
 
|heading6  = {{{heading6|}}}
 +
|list6titlestyle = {{{list6titlestyle|}}}
 +
|list6name = {{{list6name|}}}
 +
|list6title = {{{list6title|}}}
 +
|list6 = {{{list6|}}}
 
|content6style = {{{content6style|}}}
 
|content6style = {{{content6style|}}}
 
|content6  = {{{content6|}}}
 
|content6  = {{{content6|}}}
Line 45: Line 83:
 
|heading7style = {{{heading7style|}}}
 
|heading7style = {{{heading7style|}}}
 
|heading7  = {{{heading7|}}}
 
|heading7  = {{{heading7|}}}
 +
|list7titlestyle = {{{list7titlestyle|}}}
 +
|list7name = {{{list7name|}}}
 +
|list7title = {{{list7title|}}}
 +
|list7 = {{{list7|}}}
 
|content7style = {{{content7style|}}}
 
|content7style = {{{content7style|}}}
 
|content7  = {{{content7|}}}
 
|content7  = {{{content7|}}}
Line 50: Line 92:
 
|heading8style = {{{heading8style|}}}
 
|heading8style = {{{heading8style|}}}
 
|heading8  = {{{heading8|}}}
 
|heading8  = {{{heading8|}}}
 +
|list8titlestyle = {{{list8titlestyle|}}}
 +
|list8name = {{{list8name|}}}
 +
|list8title = {{{list8title|}}}
 +
|list8 = {{{list8|}}}
 
|content8style = {{{content8style|}}}
 
|content8style = {{{content8style|}}}
 
|content8  = {{{content8|}}}
 
|content8  = {{{content8|}}}
Line 55: Line 101:
 
|heading9style = {{{heading9style|}}}
 
|heading9style = {{{heading9style|}}}
 
|heading9  = {{{heading9|}}}
 
|heading9  = {{{heading9|}}}
 +
|list9titlestyle = {{{list9titlestyle|}}}
 +
|list9name = {{{list9name|}}}
 +
|list9title = {{{list9title|}}}
 +
|list9 = {{{list9|}}}
 
|content9style = {{{content9style|}}}
 
|content9style = {{{content9style|}}}
 
|content9  = {{{content9|}}}
 
|content9  = {{{content9|}}}
Line 60: Line 110:
 
|heading10style = {{{heading10style|}}}
 
|heading10style = {{{heading10style|}}}
 
|heading10 = {{{heading10|}}}
 
|heading10 = {{{heading10|}}}
 +
|list10titlestyle = {{{list10titlestyle|}}}
 +
|list10name = {{{list10name|}}}
 +
|list10title = {{{list10title|}}}
 +
|list10 = {{{list10|}}}
 
|content10style = {{{content10style|}}}
 
|content10style = {{{content10style|}}}
 
|content10 = {{{content10|}}}
 
|content10 = {{{content10|}}}
Line 65: Line 119:
 
|heading11style = {{{heading11style|}}}
 
|heading11style = {{{heading11style|}}}
 
|heading11 = {{{heading11|}}}
 
|heading11 = {{{heading11|}}}
 +
|list11titlestyle = {{{list11titlestyle|}}}
 +
|list11name = {{{list11name|}}}
 +
|list11title = {{{list11title|}}}
 +
|list11 = {{{list11|}}}
 
|content11style = {{{content11style|}}}
 
|content11style = {{{content11style|}}}
 
|content11 = {{{content11|}}}
 
|content11 = {{{content11|}}}
Line 70: Line 128:
 
|heading12style = {{{heading12style|}}}
 
|heading12style = {{{heading12style|}}}
 
|heading12 = {{{heading12|}}}
 
|heading12 = {{{heading12|}}}
 +
|list12titlestyle = {{{list12titlestyle|}}}
 +
|list12name = {{{list12name|}}}
 +
|list12title = {{{list12title|}}}
 +
|list12 = {{{list12|}}}
 
|content12style = {{{content12style|}}}
 
|content12style = {{{content12style|}}}
 
|content12 = {{{content12|}}}
 
|content12 = {{{content12|}}}
Line 75: Line 137:
 
|heading13style = {{{heading13style|}}}
 
|heading13style = {{{heading13style|}}}
 
|heading13 = {{{heading13|}}}
 
|heading13 = {{{heading13|}}}
 +
|list13titlestyle = {{{list13titlestyle|}}}
 +
|list13name = {{{list13name|}}}
 +
|list13title = {{{list13title|}}}
 +
|list13 = {{{list13|}}}
 
|content13style = {{{content13style|}}}
 
|content13style = {{{content13style|}}}
 
|content13 = {{{content13|}}}
 
|content13 = {{{content13|}}}
Line 80: Line 146:
 
|heading14style = {{{heading14style|}}}
 
|heading14style = {{{heading14style|}}}
 
|heading14 = {{{heading14|}}}
 
|heading14 = {{{heading14|}}}
 +
|list14titlestyle = {{{list14titlestyle|}}}
 +
|list14name = {{{list14name|}}}
 +
|list14title = {{{list14title|}}}
 +
|list14 = {{{list14|}}}
 
|content14style = {{{content14style|}}}
 
|content14style = {{{content14style|}}}
 
|content14 = {{{content14|}}}
 
|content14 = {{{content14|}}}
Line 85: Line 155:
 
|heading15style = {{{heading15style|}}}
 
|heading15style = {{{heading15style|}}}
 
|heading15 = {{{heading15|}}}
 
|heading15 = {{{heading15|}}}
 +
|list15titlestyle = {{{list15titlestyle|}}}
 +
|list15name = {{{list15name|}}}
 +
|list15title = {{{list15title|}}}
 +
|list15 = {{{list15|}}}
 
|content15style = {{{content15style|}}}
 
|content15style = {{{content15style|}}}
 
|content15 = {{{content15|}}}
 
|content15 = {{{content15|}}}
Line 90: Line 164:
 
|heading16style = {{{heading16style|}}}
 
|heading16style = {{{heading16style|}}}
 
|heading16 = {{{heading16|}}}
 
|heading16 = {{{heading16|}}}
 +
|list16titlestyle = {{{list16titlestyle|}}}
 +
|list16name = {{{list16name|}}}
 +
|list16title = {{{list16title|}}}
 +
|list16 = {{{list16|}}}
 
|content16style = {{{content16style|}}}
 
|content16style = {{{content16style|}}}
 
|content16 = {{{content16|}}}
 
|content16 = {{{content16|}}}
Line 95: Line 173:
 
|heading17style = {{{heading17style|}}}
 
|heading17style = {{{heading17style|}}}
 
|heading17 = {{{heading17|}}}
 
|heading17 = {{{heading17|}}}
 +
|list17titlestyle = {{{list17titlestyle|}}}
 +
|list17name = {{{list17name|}}}
 +
|list17title = {{{list17title|}}}
 +
|list17 = {{{list17|}}}
 
|content17style = {{{content17style|}}}
 
|content17style = {{{content17style|}}}
 
|content17 = {{{content17|}}}
 
|content17 = {{{content17|}}}
Line 100: Line 182:
 
|heading18style = {{{heading18style|}}}
 
|heading18style = {{{heading18style|}}}
 
|heading18 = {{{heading18|}}}
 
|heading18 = {{{heading18|}}}
 +
|list18titlestyle = {{{list18titlestyle|}}}
 +
|list18name = {{{list18name|}}}
 +
|list18title = {{{list18title|}}}
 +
|list18 = {{{list18|}}}
 
|content18style = {{{content18style|}}}
 
|content18style = {{{content18style|}}}
 
|content18 = {{{content18|}}}
 
|content18 = {{{content18|}}}
Line 105: Line 191:
 
|heading19style = {{{heading19style|}}}
 
|heading19style = {{{heading19style|}}}
 
|heading19 = {{{heading19|}}}
 
|heading19 = {{{heading19|}}}
 +
|list19titlestyle = {{{list19titlestyle|}}}
 +
|list19name = {{{list19name|}}}
 +
|list19title = {{{list19title|}}}
 +
|list19 = {{{list19|}}}
 
|content19style = {{{content19style|}}}
 
|content19style = {{{content19style|}}}
 
|content19 = {{{content19|}}}
 
|content19 = {{{content19|}}}
Line 110: Line 200:
 
|heading20style = {{{heading20style|}}}
 
|heading20style = {{{heading20style|}}}
 
|heading20 = {{{heading20|}}}
 
|heading20 = {{{heading20|}}}
 +
|list20titlestyle = {{{list20titlestyle|}}}
 +
|list20name = {{{list20name|}}}
 +
|list20title = {{{list20title|}}}
 +
|list20 = {{{list20|}}}
 
|content20style = {{{content20style|}}}
 
|content20style = {{{content20style|}}}
 
|content20 = {{{content20|}}}
 
|content20 = {{{content20|}}}
Line 115: Line 209:
 
|heading21style = {{{heading21style|}}}
 
|heading21style = {{{heading21style|}}}
 
|heading21 = {{{heading21|}}}
 
|heading21 = {{{heading21|}}}
 +
|list21titlestyle = {{{list21titlestyle|}}}
 +
|list21name = {{{list21name|}}}
 +
|list21title = {{{list21title|}}}
 +
|list21 = {{{list21|}}}
 
|content21style = {{{content21style|}}}
 
|content21style = {{{content21style|}}}
 
|content21 = {{{content21|}}}
 
|content21 = {{{content21|}}}
Line 120: Line 218:
 
|heading22style = {{{heading22style|}}}
 
|heading22style = {{{heading22style|}}}
 
|heading22 = {{{heading22|}}}
 
|heading22 = {{{heading22|}}}
 +
|list22titlestyle = {{{list22titlestyle|}}}
 +
|list22name = {{{list22name|}}}
 +
|list22title = {{{list22title|}}}
 +
|list22 = {{{list22|}}}
 
|content22style = {{{content22style|}}}
 
|content22style = {{{content22style|}}}
 
|content22 = {{{content22|}}}
 
|content22 = {{{content22|}}}
Line 125: Line 227:
 
|heading23style = {{{heading23style|}}}
 
|heading23style = {{{heading23style|}}}
 
|heading23 = {{{heading23|}}}
 
|heading23 = {{{heading23|}}}
 +
|list23titlestyle = {{{list23titlestyle|}}}
 +
|list23name = {{{list23name|}}}
 +
|list23title = {{{list23title|}}}
 +
|list23 = {{{list23|}}}
 
|content23style = {{{content23style|}}}
 
|content23style = {{{content23style|}}}
 
|content23 = {{{content23|}}}
 
|content23 = {{{content23|}}}
Line 130: Line 236:
 
|heading24style = {{{heading24style|}}}
 
|heading24style = {{{heading24style|}}}
 
|heading24 = {{{heading24|}}}
 
|heading24 = {{{heading24|}}}
 +
|list24titlestyle = {{{list24titlestyle|}}}
 +
|list24name = {{{list24name|}}}
 +
|list24title = {{{list24title|}}}
 +
|list24 = {{{list24|}}}
 
|content24style = {{{content24style|}}}
 
|content24style = {{{content24style|}}}
 
|content24 = {{{content24|}}}
 
|content24 = {{{content24|}}}
Line 135: Line 245:
 
|heading25style = {{{heading25style|}}}
 
|heading25style = {{{heading25style|}}}
 
|heading25 = {{{heading25|}}}
 
|heading25 = {{{heading25|}}}
 +
|list25titlestyle = {{{list25titlestyle|}}}
 +
|list25name = {{{list25name|}}}
 +
|list25title = {{{list25title|}}}
 +
|list25 = {{{list25|}}}
 
|content25style = {{{content25style|}}}
 
|content25style = {{{content25style|}}}
 
|content25 = {{{content25|}}}
 
|content25 = {{{content25|}}}
Line 140: Line 254:
 
|heading26style = {{{heading26style|}}}
 
|heading26style = {{{heading26style|}}}
 
|heading26 = {{{heading26|}}}
 
|heading26 = {{{heading26|}}}
 +
|list26titlestyle = {{{list26titlestyle|}}}
 +
|list26name = {{{list26name|}}}
 +
|list26title = {{{list26title|}}}
 +
|list26 = {{{list26|}}}
 
|content26style = {{{content26style|}}}
 
|content26style = {{{content26style|}}}
 
|content26 = {{{content26|}}}
 
|content26 = {{{content26|}}}
Line 145: Line 263:
 
|heading27style = {{{heading27style|}}}
 
|heading27style = {{{heading27style|}}}
 
|heading27 = {{{heading27|}}}
 
|heading27 = {{{heading27|}}}
 +
|list27titlestyle = {{{list27titlestyle|}}}
 +
|list27name = {{{list27name|}}}
 +
|list27title = {{{list27title|}}}
 +
|list27 = {{{list27|}}}
 
|content27style = {{{content27style|}}}
 
|content27style = {{{content27style|}}}
 
|content27 = {{{content27|}}}
 
|content27 = {{{content27|}}}
Line 150: Line 272:
 
|heading28style = {{{heading28style|}}}
 
|heading28style = {{{heading28style|}}}
 
|heading28 = {{{heading28|}}}
 
|heading28 = {{{heading28|}}}
 +
|list28titlestyle = {{{list28titlestyle|}}}
 +
|list28name = {{{list28name|}}}
 +
|list28title = {{{list28title|}}}
 +
|list28 = {{{list28|}}}
 
|content28style = {{{content28style|}}}
 
|content28style = {{{content28style|}}}
 
|content28 = {{{content28|}}}
 
|content28 = {{{content28|}}}
Line 155: Line 281:
 
|heading29style = {{{heading29style|}}}
 
|heading29style = {{{heading29style|}}}
 
|heading29 = {{{heading29|}}}
 
|heading29 = {{{heading29|}}}
 +
|list29titlestyle = {{{list29titlestyle|}}}
 +
|list29name = {{{list29name|}}}
 +
|list29title = {{{list29title|}}}
 +
|list29 = {{{list29|}}}
 
|content29style = {{{content29style|}}}
 
|content29style = {{{content29style|}}}
 
|content29 = {{{content29|}}}
 
|content29 = {{{content29|}}}
Line 160: Line 290:
 
|heading30style = {{{heading30style|}}}
 
|heading30style = {{{heading30style|}}}
 
|heading30 = {{{heading30|}}}
 
|heading30 = {{{heading30|}}}
 +
|list30titlestyle = {{{list30titlestyle|}}}
 +
|list30name = {{{list30name|}}}
 +
|list30title = {{{list30title|}}}
 +
|list30 = {{{list30|}}}
 
|content30style = {{{content30style|}}}
 
|content30style = {{{content30style|}}}
 
|content30 = {{{content30|}}}
 
|content30 = {{{content30|}}}
  
|belowstyle = border-bottom:1px solid #aaa; {{{belowstyle|}}}
 
 
|below = {{{below|}}}
 
|below = {{{below|}}}
 +
|belowclass = {{{belowclass|}}}
 +
|belowstyle = border-top:none; border-bottom:1px solid #aaa; {{{belowstyle|}}}
 +
 +
|navbar = {{{navbar|}}}
 +
|navbarstyle = padding-top:0; {{{navbarstyle|}}}
 +
|navbarfontstyle = {{{navbarfontstyle|}}}
 +
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}

Latest revision as of 18:36, 1 January 2021

Template documentation[view] [edit] [history] [purge]
Part of a series on
{{{title}}}
{{{image}}}
{{{heading1}}}
{{{content1}}}
{{{heading2}}}
{{{content2}}}
{{{heading3}}}
{{{content3}}}
...
{{{heading30}}}
{{{content30}}}
{{{below}}}

For examples of this template in use, see Ethnic group templates.

Principal parameters

All optional except name and title.

name Template's name (required for {{navbar}}).
style To apply extra CSS styles to the whole template (e.g. background).
series Category name, turning the wording "a series" into a link to that category.
title Template's title. Default formatting includes bolding.
titlestyle Use to provide alterative CSS styling to the default.
image To include an image between the template's header and body.
Full wikisyntax needed (i.e. [[Image:Filename...]]).
headingstyle Extra CSS styling to apply to headings.
heading1 First heading within template's body.
content1 Content below heading1 (if used).
heading2 Second heading (if used).
content2 Content below heading2 (if used).
......
heading30 Currently the last possible heading.
content30 Content below heading30 (if used).
below Use for e.g. portal links. Default formatting includes bolding.

Collapsible lists

For collapsible lists use

list1title Title for the first collapsible list
list1 The first collapsible list
......
list30title Currently the last possible collapsible list title
list30 Current the last possible collapsible list