Difference between revisions of "Template:Ethnic group sidebar"

From blackwiki
Jump to navigation Jump to search
imported>AGK
m (Protected Template:Ethnic group sidebar: Highly-visible template (TW) (‎[edit=autoconfirmed] (indefinite)))
imported>IznoRepeat
m (→‎top: clean up soon removed parameter, replaced: tnavbar → navbar (2))
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{sidebar
+
<includeonly>{{sidebar with collapsible lists
 
|name          = {{{name|{{PAGENAME}}}}}
 
|name          = {{{name|{{PAGENAME}}}}}
 
|wraplinks    = {{#ifeq: {{{nowraplinks|}}}|true||true}}
 
|wraplinks    = {{#ifeq: {{{nowraplinks|}}}|true||true}}
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|}}}
 +
|list1name = {{{list1name|}}}
 +
|list1title = {{{list1title|}}}
 +
|list1 = {{{list1|}}}
 
|content1style = {{{content1style|}}}
 
|content1style = {{{content1style|}}}
 
|content1  = {{{content|{{{content1|}}}}}}
 
|content1  = {{{content|{{{content1|}}}}}}
Line 32: 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 37: 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 42: 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 47: 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 52: 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 57: 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 62: 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 67: 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 72: 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 77: 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 82: 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 87: 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 92: 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 97: 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 102: 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 107: 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 112: 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 117: 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 122: 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 127: 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 132: 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 137: 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 142: 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 147: 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 152: 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 157: 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 162: 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 167: 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 172: 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|}}}
Line 177: 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

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