Difference between revisions of "Template:Ethnic group sidebar"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(add optional collapsible lists)
imported>IznoRepeat
m (→‎top: clean up soon removed parameter, replaced: tnavbar → navbar (2))
 
(6 intermediate revisions by 4 users not shown)
Line 24: Line 24:
 
|contentclass  = {{{contentclass|}}}
 
|contentclass  = {{{contentclass|}}}
 
|contentstyle  = padding:0 0.4em 0.6em; border-bottom:1px solid #aaa; {{{contentstyle|}}}
 
|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|}}}
 
|list1titlestyle = {{{list1titlestyle|}}}
 +
|list1name = {{{list1name|}}}
 
|list1title = {{{list1title|}}}
 
|list1title = {{{list1title|}}}
 +
|list1 = {{{list1|}}}
 
|content1style = {{{content1style|}}}
 
|content1style = {{{content1style|}}}
 
|content1  = {{{content|{{{content1|}}}}}}
 
|content1  = {{{content|{{{content1|}}}}}}
Line 35: Line 39:
 
|heading2  = {{{heading2|}}}
 
|heading2  = {{{heading2|}}}
 
|list2titlestyle = {{{list2titlestyle|}}}
 
|list2titlestyle = {{{list2titlestyle|}}}
 +
|list2name = {{{list2name|}}}
 
|list2title = {{{list2title|}}}
 
|list2title = {{{list2title|}}}
 +
|list2 = {{{list2|}}}
 
|content2style = {{{content2style|}}}
 
|content2style = {{{content2style|}}}
 
|content2  = {{{content2|}}}
 
|content2  = {{{content2|}}}
Line 42: Line 48:
 
|heading3  = {{{heading3|}}}
 
|heading3  = {{{heading3|}}}
 
|list3titlestyle = {{{list3titlestyle|}}}
 
|list3titlestyle = {{{list3titlestyle|}}}
 +
|list3name = {{{list3name|}}}
 
|list3title = {{{list3title|}}}
 
|list3title = {{{list3title|}}}
 +
|list3 = {{{list3|}}}
 
|content3style = {{{content3style|}}}
 
|content3style = {{{content3style|}}}
 
|content3  = {{{content3|}}}
 
|content3  = {{{content3|}}}
Line 49: Line 57:
 
|heading4  = {{{heading4|}}}
 
|heading4  = {{{heading4|}}}
 
|list4titlestyle = {{{list4titlestyle|}}}
 
|list4titlestyle = {{{list4titlestyle|}}}
 +
|list4name = {{{list4name|}}}
 
|list4title = {{{list4title|}}}
 
|list4title = {{{list4title|}}}
 +
|list4 = {{{list4|}}}
 
|content4style = {{{content4style|}}}
 
|content4style = {{{content4style|}}}
 
|content4  = {{{content4|}}}
 
|content4  = {{{content4|}}}
Line 56: Line 66:
 
|heading5  = {{{heading5|}}}
 
|heading5  = {{{heading5|}}}
 
|list5titlestyle = {{{list5titlestyle|}}}
 
|list5titlestyle = {{{list5titlestyle|}}}
 +
|list5name = {{{list5name|}}}
 
|list5title = {{{list5title|}}}
 
|list5title = {{{list5title|}}}
 +
|list5 = {{{list5|}}}
 
|content5style = {{{content5style|}}}
 
|content5style = {{{content5style|}}}
 
|content5  = {{{content5|}}}
 
|content5  = {{{content5|}}}
Line 63: Line 75:
 
|heading6  = {{{heading6|}}}
 
|heading6  = {{{heading6|}}}
 
|list6titlestyle = {{{list6titlestyle|}}}
 
|list6titlestyle = {{{list6titlestyle|}}}
 +
|list6name = {{{list6name|}}}
 
|list6title = {{{list6title|}}}
 
|list6title = {{{list6title|}}}
 +
|list6 = {{{list6|}}}
 
|content6style = {{{content6style|}}}
 
|content6style = {{{content6style|}}}
 
|content6  = {{{content6|}}}
 
|content6  = {{{content6|}}}
Line 70: Line 84:
 
|heading7  = {{{heading7|}}}
 
|heading7  = {{{heading7|}}}
 
|list7titlestyle = {{{list7titlestyle|}}}
 
|list7titlestyle = {{{list7titlestyle|}}}
 +
|list7name = {{{list7name|}}}
 
|list7title = {{{list7title|}}}
 
|list7title = {{{list7title|}}}
 +
|list7 = {{{list7|}}}
 
|content7style = {{{content7style|}}}
 
|content7style = {{{content7style|}}}
 
|content7  = {{{content7|}}}
 
|content7  = {{{content7|}}}
Line 77: Line 93:
 
|heading8  = {{{heading8|}}}
 
|heading8  = {{{heading8|}}}
 
|list8titlestyle = {{{list8titlestyle|}}}
 
|list8titlestyle = {{{list8titlestyle|}}}
 +
|list8name = {{{list8name|}}}
 
|list8title = {{{list8title|}}}
 
|list8title = {{{list8title|}}}
 +
|list8 = {{{list8|}}}
 
|content8style = {{{content8style|}}}
 
|content8style = {{{content8style|}}}
 
|content8  = {{{content8|}}}
 
|content8  = {{{content8|}}}
Line 84: Line 102:
 
|heading9  = {{{heading9|}}}
 
|heading9  = {{{heading9|}}}
 
|list9titlestyle = {{{list9titlestyle|}}}
 
|list9titlestyle = {{{list9titlestyle|}}}
 +
|list9name = {{{list9name|}}}
 
|list9title = {{{list9title|}}}
 
|list9title = {{{list9title|}}}
 +
|list9 = {{{list9|}}}
 
|content9style = {{{content9style|}}}
 
|content9style = {{{content9style|}}}
 
|content9  = {{{content9|}}}
 
|content9  = {{{content9|}}}
Line 91: Line 111:
 
|heading10 = {{{heading10|}}}
 
|heading10 = {{{heading10|}}}
 
|list10titlestyle = {{{list10titlestyle|}}}
 
|list10titlestyle = {{{list10titlestyle|}}}
 +
|list10name = {{{list10name|}}}
 
|list10title = {{{list10title|}}}
 
|list10title = {{{list10title|}}}
 +
|list10 = {{{list10|}}}
 
|content10style = {{{content10style|}}}
 
|content10style = {{{content10style|}}}
 
|content10 = {{{content10|}}}
 
|content10 = {{{content10|}}}
Line 98: Line 120:
 
|heading11 = {{{heading11|}}}
 
|heading11 = {{{heading11|}}}
 
|list11titlestyle = {{{list11titlestyle|}}}
 
|list11titlestyle = {{{list11titlestyle|}}}
 +
|list11name = {{{list11name|}}}
 
|list11title = {{{list11title|}}}
 
|list11title = {{{list11title|}}}
 +
|list11 = {{{list11|}}}
 
|content11style = {{{content11style|}}}
 
|content11style = {{{content11style|}}}
 
|content11 = {{{content11|}}}
 
|content11 = {{{content11|}}}
Line 105: Line 129:
 
|heading12 = {{{heading12|}}}
 
|heading12 = {{{heading12|}}}
 
|list12titlestyle = {{{list12titlestyle|}}}
 
|list12titlestyle = {{{list12titlestyle|}}}
 +
|list12name = {{{list12name|}}}
 
|list12title = {{{list12title|}}}
 
|list12title = {{{list12title|}}}
 +
|list12 = {{{list12|}}}
 
|content12style = {{{content12style|}}}
 
|content12style = {{{content12style|}}}
 
|content12 = {{{content12|}}}
 
|content12 = {{{content12|}}}
Line 112: Line 138:
 
|heading13 = {{{heading13|}}}
 
|heading13 = {{{heading13|}}}
 
|list13titlestyle = {{{list13titlestyle|}}}
 
|list13titlestyle = {{{list13titlestyle|}}}
 +
|list13name = {{{list13name|}}}
 
|list13title = {{{list13title|}}}
 
|list13title = {{{list13title|}}}
 +
|list13 = {{{list13|}}}
 
|content13style = {{{content13style|}}}
 
|content13style = {{{content13style|}}}
 
|content13 = {{{content13|}}}
 
|content13 = {{{content13|}}}
Line 119: Line 147:
 
|heading14 = {{{heading14|}}}
 
|heading14 = {{{heading14|}}}
 
|list14titlestyle = {{{list14titlestyle|}}}
 
|list14titlestyle = {{{list14titlestyle|}}}
 +
|list14name = {{{list14name|}}}
 
|list14title = {{{list14title|}}}
 
|list14title = {{{list14title|}}}
 +
|list14 = {{{list14|}}}
 
|content14style = {{{content14style|}}}
 
|content14style = {{{content14style|}}}
 
|content14 = {{{content14|}}}
 
|content14 = {{{content14|}}}
Line 126: Line 156:
 
|heading15 = {{{heading15|}}}
 
|heading15 = {{{heading15|}}}
 
|list15titlestyle = {{{list15titlestyle|}}}
 
|list15titlestyle = {{{list15titlestyle|}}}
 +
|list15name = {{{list15name|}}}
 
|list15title = {{{list15title|}}}
 
|list15title = {{{list15title|}}}
 +
|list15 = {{{list15|}}}
 
|content15style = {{{content15style|}}}
 
|content15style = {{{content15style|}}}
 
|content15 = {{{content15|}}}
 
|content15 = {{{content15|}}}
Line 133: Line 165:
 
|heading16 = {{{heading16|}}}
 
|heading16 = {{{heading16|}}}
 
|list16titlestyle = {{{list16titlestyle|}}}
 
|list16titlestyle = {{{list16titlestyle|}}}
 +
|list16name = {{{list16name|}}}
 
|list16title = {{{list16title|}}}
 
|list16title = {{{list16title|}}}
 +
|list16 = {{{list16|}}}
 
|content16style = {{{content16style|}}}
 
|content16style = {{{content16style|}}}
 
|content16 = {{{content16|}}}
 
|content16 = {{{content16|}}}
Line 140: Line 174:
 
|heading17 = {{{heading17|}}}
 
|heading17 = {{{heading17|}}}
 
|list17titlestyle = {{{list17titlestyle|}}}
 
|list17titlestyle = {{{list17titlestyle|}}}
 +
|list17name = {{{list17name|}}}
 
|list17title = {{{list17title|}}}
 
|list17title = {{{list17title|}}}
 +
|list17 = {{{list17|}}}
 
|content17style = {{{content17style|}}}
 
|content17style = {{{content17style|}}}
 
|content17 = {{{content17|}}}
 
|content17 = {{{content17|}}}
Line 147: Line 183:
 
|heading18 = {{{heading18|}}}
 
|heading18 = {{{heading18|}}}
 
|list18titlestyle = {{{list18titlestyle|}}}
 
|list18titlestyle = {{{list18titlestyle|}}}
 +
|list18name = {{{list18name|}}}
 
|list18title = {{{list18title|}}}
 
|list18title = {{{list18title|}}}
 +
|list18 = {{{list18|}}}
 
|content18style = {{{content18style|}}}
 
|content18style = {{{content18style|}}}
 
|content18 = {{{content18|}}}
 
|content18 = {{{content18|}}}
Line 154: Line 192:
 
|heading19 = {{{heading19|}}}
 
|heading19 = {{{heading19|}}}
 
|list19titlestyle = {{{list19titlestyle|}}}
 
|list19titlestyle = {{{list19titlestyle|}}}
 +
|list19name = {{{list19name|}}}
 
|list19title = {{{list19title|}}}
 
|list19title = {{{list19title|}}}
 +
|list19 = {{{list19|}}}
 
|content19style = {{{content19style|}}}
 
|content19style = {{{content19style|}}}
 
|content19 = {{{content19|}}}
 
|content19 = {{{content19|}}}
Line 161: Line 201:
 
|heading20 = {{{heading20|}}}
 
|heading20 = {{{heading20|}}}
 
|list20titlestyle = {{{list20titlestyle|}}}
 
|list20titlestyle = {{{list20titlestyle|}}}
 +
|list20name = {{{list20name|}}}
 
|list20title = {{{list20title|}}}
 
|list20title = {{{list20title|}}}
 +
|list20 = {{{list20|}}}
 
|content20style = {{{content20style|}}}
 
|content20style = {{{content20style|}}}
 
|content20 = {{{content20|}}}
 
|content20 = {{{content20|}}}
Line 168: Line 210:
 
|heading21 = {{{heading21|}}}
 
|heading21 = {{{heading21|}}}
 
|list21titlestyle = {{{list21titlestyle|}}}
 
|list21titlestyle = {{{list21titlestyle|}}}
 +
|list21name = {{{list21name|}}}
 
|list21title = {{{list21title|}}}
 
|list21title = {{{list21title|}}}
 +
|list21 = {{{list21|}}}
 
|content21style = {{{content21style|}}}
 
|content21style = {{{content21style|}}}
 
|content21 = {{{content21|}}}
 
|content21 = {{{content21|}}}
Line 175: Line 219:
 
|heading22 = {{{heading22|}}}
 
|heading22 = {{{heading22|}}}
 
|list22titlestyle = {{{list22titlestyle|}}}
 
|list22titlestyle = {{{list22titlestyle|}}}
 +
|list22name = {{{list22name|}}}
 
|list22title = {{{list22title|}}}
 
|list22title = {{{list22title|}}}
 +
|list22 = {{{list22|}}}
 
|content22style = {{{content22style|}}}
 
|content22style = {{{content22style|}}}
 
|content22 = {{{content22|}}}
 
|content22 = {{{content22|}}}
Line 182: Line 228:
 
|heading23 = {{{heading23|}}}
 
|heading23 = {{{heading23|}}}
 
|list23titlestyle = {{{list23titlestyle|}}}
 
|list23titlestyle = {{{list23titlestyle|}}}
 +
|list23name = {{{list23name|}}}
 
|list23title = {{{list23title|}}}
 
|list23title = {{{list23title|}}}
 +
|list23 = {{{list23|}}}
 
|content23style = {{{content23style|}}}
 
|content23style = {{{content23style|}}}
 
|content23 = {{{content23|}}}
 
|content23 = {{{content23|}}}
Line 189: Line 237:
 
|heading24 = {{{heading24|}}}
 
|heading24 = {{{heading24|}}}
 
|list24titlestyle = {{{list24titlestyle|}}}
 
|list24titlestyle = {{{list24titlestyle|}}}
 +
|list24name = {{{list24name|}}}
 
|list24title = {{{list24title|}}}
 
|list24title = {{{list24title|}}}
 +
|list24 = {{{list24|}}}
 
|content24style = {{{content24style|}}}
 
|content24style = {{{content24style|}}}
 
|content24 = {{{content24|}}}
 
|content24 = {{{content24|}}}
Line 196: Line 246:
 
|heading25 = {{{heading25|}}}
 
|heading25 = {{{heading25|}}}
 
|list25titlestyle = {{{list25titlestyle|}}}
 
|list25titlestyle = {{{list25titlestyle|}}}
 +
|list25name = {{{list25name|}}}
 
|list25title = {{{list25title|}}}
 
|list25title = {{{list25title|}}}
 +
|list25 = {{{list25|}}}
 
|content25style = {{{content25style|}}}
 
|content25style = {{{content25style|}}}
 
|content25 = {{{content25|}}}
 
|content25 = {{{content25|}}}
Line 203: Line 255:
 
|heading26 = {{{heading26|}}}
 
|heading26 = {{{heading26|}}}
 
|list26titlestyle = {{{list26titlestyle|}}}
 
|list26titlestyle = {{{list26titlestyle|}}}
 +
|list26name = {{{list26name|}}}
 
|list26title = {{{list26title|}}}
 
|list26title = {{{list26title|}}}
 +
|list26 = {{{list26|}}}
 
|content26style = {{{content26style|}}}
 
|content26style = {{{content26style|}}}
 
|content26 = {{{content26|}}}
 
|content26 = {{{content26|}}}
Line 210: Line 264:
 
|heading27 = {{{heading27|}}}
 
|heading27 = {{{heading27|}}}
 
|list27titlestyle = {{{list27titlestyle|}}}
 
|list27titlestyle = {{{list27titlestyle|}}}
 +
|list27name = {{{list27name|}}}
 
|list27title = {{{list27title|}}}
 
|list27title = {{{list27title|}}}
 +
|list27 = {{{list27|}}}
 
|content27style = {{{content27style|}}}
 
|content27style = {{{content27style|}}}
 
|content27 = {{{content27|}}}
 
|content27 = {{{content27|}}}
Line 217: Line 273:
 
|heading28 = {{{heading28|}}}
 
|heading28 = {{{heading28|}}}
 
|list28titlestyle = {{{list28titlestyle|}}}
 
|list28titlestyle = {{{list28titlestyle|}}}
 +
|list28name = {{{list28name|}}}
 
|list28title = {{{list28title|}}}
 
|list28title = {{{list28title|}}}
 +
|list28 = {{{list28|}}}
 
|content28style = {{{content28style|}}}
 
|content28style = {{{content28style|}}}
 
|content28 = {{{content28|}}}
 
|content28 = {{{content28|}}}
Line 224: Line 282:
 
|heading29 = {{{heading29|}}}
 
|heading29 = {{{heading29|}}}
 
|list29titlestyle = {{{list29titlestyle|}}}
 
|list29titlestyle = {{{list29titlestyle|}}}
 +
|list29name = {{{list29name|}}}
 
|list29title = {{{list29title|}}}
 
|list29title = {{{list29title|}}}
 +
|list29 = {{{list29|}}}
 
|content29style = {{{content29style|}}}
 
|content29style = {{{content29style|}}}
 
|content29 = {{{content29|}}}
 
|content29 = {{{content29|}}}
Line 231: Line 291:
 
|heading30 = {{{heading30|}}}
 
|heading30 = {{{heading30|}}}
 
|list30titlestyle = {{{list30titlestyle|}}}
 
|list30titlestyle = {{{list30titlestyle|}}}
 +
|list30name = {{{list30name|}}}
 
|list30title = {{{list30title|}}}
 
|list30title = {{{list30title|}}}
 +
|list30 = {{{list30|}}}
 
|content30style = {{{content30style|}}}
 
|content30style = {{{content30style|}}}
 
|content30 = {{{content30|}}}
 
|content30 = {{{content30|}}}
Line 237: Line 299:
 
|below = {{{below|}}}
 
|below = {{{below|}}}
 
|belowclass = {{{belowclass|}}}
 
|belowclass = {{{belowclass|}}}
|belowstyle = border-bottom:1px solid #aaa; {{{belowstyle|}}}
+
|belowstyle = border-top:none; border-bottom:1px solid #aaa; {{{belowstyle|}}}
  
|navbar = {{{navbar|{{{tnavbar|}}}}}}
+
|navbar = {{{navbar|}}}
|navbarstyle = {{{navbarstyle|{{{tnavbarstyle|}}}}}}
+
|navbarstyle = padding-top:0; {{{navbarstyle|}}}
|navbarfontstyle = {{{navbarfontstyle|{{{tnavbarfontstyle|}}}}}}
+
|navbarfontstyle = {{{navbarfontstyle|}}}
  
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>

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