Difference between revisions of "Template:Ethnic group sidebar"
Jump to navigation
Jump to search
imported>AGK m (Changed protection level of Template:Ethnic group sidebar: Highly-visible template ([edit=autoconfirmed] (indefinite) [move=sysop] (indefinite))) |
imported>Frietjes (add optional collapsible lists) |
||
| 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 27: | Line 27: | ||
|heading1style = {{{heading1style|}}} | |heading1style = {{{heading1style|}}} | ||
|heading1 = {{{heading|{{{heading1|}}}}}} | |heading1 = {{{heading|{{{heading1|}}}}}} | ||
| + | |list1titlestyle = {{{list1titlestyle|}}} | ||
| + | |list1title = {{{list1title|}}} | ||
|content1style = {{{content1style|}}} | |content1style = {{{content1style|}}} | ||
|content1 = {{{content|{{{content1|}}}}}} | |content1 = {{{content|{{{content1|}}}}}} | ||
| Line 32: | Line 34: | ||
|heading2style = {{{heading2style|}}} | |heading2style = {{{heading2style|}}} | ||
|heading2 = {{{heading2|}}} | |heading2 = {{{heading2|}}} | ||
| + | |list2titlestyle = {{{list2titlestyle|}}} | ||
| + | |list2title = {{{list2title|}}} | ||
|content2style = {{{content2style|}}} | |content2style = {{{content2style|}}} | ||
|content2 = {{{content2|}}} | |content2 = {{{content2|}}} | ||
| Line 37: | Line 41: | ||
|heading3style = {{{heading3style|}}} | |heading3style = {{{heading3style|}}} | ||
|heading3 = {{{heading3|}}} | |heading3 = {{{heading3|}}} | ||
| + | |list3titlestyle = {{{list3titlestyle|}}} | ||
| + | |list3title = {{{list3title|}}} | ||
|content3style = {{{content3style|}}} | |content3style = {{{content3style|}}} | ||
|content3 = {{{content3|}}} | |content3 = {{{content3|}}} | ||
| Line 42: | Line 48: | ||
|heading4style = {{{heading4style|}}} | |heading4style = {{{heading4style|}}} | ||
|heading4 = {{{heading4|}}} | |heading4 = {{{heading4|}}} | ||
| + | |list4titlestyle = {{{list4titlestyle|}}} | ||
| + | |list4title = {{{list4title|}}} | ||
|content4style = {{{content4style|}}} | |content4style = {{{content4style|}}} | ||
|content4 = {{{content4|}}} | |content4 = {{{content4|}}} | ||
| Line 47: | Line 55: | ||
|heading5style = {{{heading5style|}}} | |heading5style = {{{heading5style|}}} | ||
|heading5 = {{{heading5|}}} | |heading5 = {{{heading5|}}} | ||
| + | |list5titlestyle = {{{list5titlestyle|}}} | ||
| + | |list5title = {{{list5title|}}} | ||
|content5style = {{{content5style|}}} | |content5style = {{{content5style|}}} | ||
|content5 = {{{content5|}}} | |content5 = {{{content5|}}} | ||
| Line 52: | Line 62: | ||
|heading6style = {{{heading6style|}}} | |heading6style = {{{heading6style|}}} | ||
|heading6 = {{{heading6|}}} | |heading6 = {{{heading6|}}} | ||
| + | |list6titlestyle = {{{list6titlestyle|}}} | ||
| + | |list6title = {{{list6title|}}} | ||
|content6style = {{{content6style|}}} | |content6style = {{{content6style|}}} | ||
|content6 = {{{content6|}}} | |content6 = {{{content6|}}} | ||
| Line 57: | Line 69: | ||
|heading7style = {{{heading7style|}}} | |heading7style = {{{heading7style|}}} | ||
|heading7 = {{{heading7|}}} | |heading7 = {{{heading7|}}} | ||
| + | |list7titlestyle = {{{list7titlestyle|}}} | ||
| + | |list7title = {{{list7title|}}} | ||
|content7style = {{{content7style|}}} | |content7style = {{{content7style|}}} | ||
|content7 = {{{content7|}}} | |content7 = {{{content7|}}} | ||
| Line 62: | Line 76: | ||
|heading8style = {{{heading8style|}}} | |heading8style = {{{heading8style|}}} | ||
|heading8 = {{{heading8|}}} | |heading8 = {{{heading8|}}} | ||
| + | |list8titlestyle = {{{list8titlestyle|}}} | ||
| + | |list8title = {{{list8title|}}} | ||
|content8style = {{{content8style|}}} | |content8style = {{{content8style|}}} | ||
|content8 = {{{content8|}}} | |content8 = {{{content8|}}} | ||
| Line 67: | Line 83: | ||
|heading9style = {{{heading9style|}}} | |heading9style = {{{heading9style|}}} | ||
|heading9 = {{{heading9|}}} | |heading9 = {{{heading9|}}} | ||
| + | |list9titlestyle = {{{list9titlestyle|}}} | ||
| + | |list9title = {{{list9title|}}} | ||
|content9style = {{{content9style|}}} | |content9style = {{{content9style|}}} | ||
|content9 = {{{content9|}}} | |content9 = {{{content9|}}} | ||
| Line 72: | Line 90: | ||
|heading10style = {{{heading10style|}}} | |heading10style = {{{heading10style|}}} | ||
|heading10 = {{{heading10|}}} | |heading10 = {{{heading10|}}} | ||
| + | |list10titlestyle = {{{list10titlestyle|}}} | ||
| + | |list10title = {{{list10title|}}} | ||
|content10style = {{{content10style|}}} | |content10style = {{{content10style|}}} | ||
|content10 = {{{content10|}}} | |content10 = {{{content10|}}} | ||
| Line 77: | Line 97: | ||
|heading11style = {{{heading11style|}}} | |heading11style = {{{heading11style|}}} | ||
|heading11 = {{{heading11|}}} | |heading11 = {{{heading11|}}} | ||
| + | |list11titlestyle = {{{list11titlestyle|}}} | ||
| + | |list11title = {{{list11title|}}} | ||
|content11style = {{{content11style|}}} | |content11style = {{{content11style|}}} | ||
|content11 = {{{content11|}}} | |content11 = {{{content11|}}} | ||
| Line 82: | Line 104: | ||
|heading12style = {{{heading12style|}}} | |heading12style = {{{heading12style|}}} | ||
|heading12 = {{{heading12|}}} | |heading12 = {{{heading12|}}} | ||
| + | |list12titlestyle = {{{list12titlestyle|}}} | ||
| + | |list12title = {{{list12title|}}} | ||
|content12style = {{{content12style|}}} | |content12style = {{{content12style|}}} | ||
|content12 = {{{content12|}}} | |content12 = {{{content12|}}} | ||
| Line 87: | Line 111: | ||
|heading13style = {{{heading13style|}}} | |heading13style = {{{heading13style|}}} | ||
|heading13 = {{{heading13|}}} | |heading13 = {{{heading13|}}} | ||
| + | |list13titlestyle = {{{list13titlestyle|}}} | ||
| + | |list13title = {{{list13title|}}} | ||
|content13style = {{{content13style|}}} | |content13style = {{{content13style|}}} | ||
|content13 = {{{content13|}}} | |content13 = {{{content13|}}} | ||
| Line 92: | Line 118: | ||
|heading14style = {{{heading14style|}}} | |heading14style = {{{heading14style|}}} | ||
|heading14 = {{{heading14|}}} | |heading14 = {{{heading14|}}} | ||
| + | |list14titlestyle = {{{list14titlestyle|}}} | ||
| + | |list14title = {{{list14title|}}} | ||
|content14style = {{{content14style|}}} | |content14style = {{{content14style|}}} | ||
|content14 = {{{content14|}}} | |content14 = {{{content14|}}} | ||
| Line 97: | Line 125: | ||
|heading15style = {{{heading15style|}}} | |heading15style = {{{heading15style|}}} | ||
|heading15 = {{{heading15|}}} | |heading15 = {{{heading15|}}} | ||
| + | |list15titlestyle = {{{list15titlestyle|}}} | ||
| + | |list15title = {{{list15title|}}} | ||
|content15style = {{{content15style|}}} | |content15style = {{{content15style|}}} | ||
|content15 = {{{content15|}}} | |content15 = {{{content15|}}} | ||
| Line 102: | Line 132: | ||
|heading16style = {{{heading16style|}}} | |heading16style = {{{heading16style|}}} | ||
|heading16 = {{{heading16|}}} | |heading16 = {{{heading16|}}} | ||
| + | |list16titlestyle = {{{list16titlestyle|}}} | ||
| + | |list16title = {{{list16title|}}} | ||
|content16style = {{{content16style|}}} | |content16style = {{{content16style|}}} | ||
|content16 = {{{content16|}}} | |content16 = {{{content16|}}} | ||
| Line 107: | Line 139: | ||
|heading17style = {{{heading17style|}}} | |heading17style = {{{heading17style|}}} | ||
|heading17 = {{{heading17|}}} | |heading17 = {{{heading17|}}} | ||
| + | |list17titlestyle = {{{list17titlestyle|}}} | ||
| + | |list17title = {{{list17title|}}} | ||
|content17style = {{{content17style|}}} | |content17style = {{{content17style|}}} | ||
|content17 = {{{content17|}}} | |content17 = {{{content17|}}} | ||
| Line 112: | Line 146: | ||
|heading18style = {{{heading18style|}}} | |heading18style = {{{heading18style|}}} | ||
|heading18 = {{{heading18|}}} | |heading18 = {{{heading18|}}} | ||
| + | |list18titlestyle = {{{list18titlestyle|}}} | ||
| + | |list18title = {{{list18title|}}} | ||
|content18style = {{{content18style|}}} | |content18style = {{{content18style|}}} | ||
|content18 = {{{content18|}}} | |content18 = {{{content18|}}} | ||
| Line 117: | Line 153: | ||
|heading19style = {{{heading19style|}}} | |heading19style = {{{heading19style|}}} | ||
|heading19 = {{{heading19|}}} | |heading19 = {{{heading19|}}} | ||
| + | |list19titlestyle = {{{list19titlestyle|}}} | ||
| + | |list19title = {{{list19title|}}} | ||
|content19style = {{{content19style|}}} | |content19style = {{{content19style|}}} | ||
|content19 = {{{content19|}}} | |content19 = {{{content19|}}} | ||
| Line 122: | Line 160: | ||
|heading20style = {{{heading20style|}}} | |heading20style = {{{heading20style|}}} | ||
|heading20 = {{{heading20|}}} | |heading20 = {{{heading20|}}} | ||
| + | |list20titlestyle = {{{list20titlestyle|}}} | ||
| + | |list20title = {{{list20title|}}} | ||
|content20style = {{{content20style|}}} | |content20style = {{{content20style|}}} | ||
|content20 = {{{content20|}}} | |content20 = {{{content20|}}} | ||
| Line 127: | Line 167: | ||
|heading21style = {{{heading21style|}}} | |heading21style = {{{heading21style|}}} | ||
|heading21 = {{{heading21|}}} | |heading21 = {{{heading21|}}} | ||
| + | |list21titlestyle = {{{list21titlestyle|}}} | ||
| + | |list21title = {{{list21title|}}} | ||
|content21style = {{{content21style|}}} | |content21style = {{{content21style|}}} | ||
|content21 = {{{content21|}}} | |content21 = {{{content21|}}} | ||
| Line 132: | Line 174: | ||
|heading22style = {{{heading22style|}}} | |heading22style = {{{heading22style|}}} | ||
|heading22 = {{{heading22|}}} | |heading22 = {{{heading22|}}} | ||
| + | |list22titlestyle = {{{list22titlestyle|}}} | ||
| + | |list22title = {{{list22title|}}} | ||
|content22style = {{{content22style|}}} | |content22style = {{{content22style|}}} | ||
|content22 = {{{content22|}}} | |content22 = {{{content22|}}} | ||
| Line 137: | Line 181: | ||
|heading23style = {{{heading23style|}}} | |heading23style = {{{heading23style|}}} | ||
|heading23 = {{{heading23|}}} | |heading23 = {{{heading23|}}} | ||
| + | |list23titlestyle = {{{list23titlestyle|}}} | ||
| + | |list23title = {{{list23title|}}} | ||
|content23style = {{{content23style|}}} | |content23style = {{{content23style|}}} | ||
|content23 = {{{content23|}}} | |content23 = {{{content23|}}} | ||
| Line 142: | Line 188: | ||
|heading24style = {{{heading24style|}}} | |heading24style = {{{heading24style|}}} | ||
|heading24 = {{{heading24|}}} | |heading24 = {{{heading24|}}} | ||
| + | |list24titlestyle = {{{list24titlestyle|}}} | ||
| + | |list24title = {{{list24title|}}} | ||
|content24style = {{{content24style|}}} | |content24style = {{{content24style|}}} | ||
|content24 = {{{content24|}}} | |content24 = {{{content24|}}} | ||
| Line 147: | Line 195: | ||
|heading25style = {{{heading25style|}}} | |heading25style = {{{heading25style|}}} | ||
|heading25 = {{{heading25|}}} | |heading25 = {{{heading25|}}} | ||
| + | |list25titlestyle = {{{list25titlestyle|}}} | ||
| + | |list25title = {{{list25title|}}} | ||
|content25style = {{{content25style|}}} | |content25style = {{{content25style|}}} | ||
|content25 = {{{content25|}}} | |content25 = {{{content25|}}} | ||
| Line 152: | Line 202: | ||
|heading26style = {{{heading26style|}}} | |heading26style = {{{heading26style|}}} | ||
|heading26 = {{{heading26|}}} | |heading26 = {{{heading26|}}} | ||
| + | |list26titlestyle = {{{list26titlestyle|}}} | ||
| + | |list26title = {{{list26title|}}} | ||
|content26style = {{{content26style|}}} | |content26style = {{{content26style|}}} | ||
|content26 = {{{content26|}}} | |content26 = {{{content26|}}} | ||
| Line 157: | Line 209: | ||
|heading27style = {{{heading27style|}}} | |heading27style = {{{heading27style|}}} | ||
|heading27 = {{{heading27|}}} | |heading27 = {{{heading27|}}} | ||
| + | |list27titlestyle = {{{list27titlestyle|}}} | ||
| + | |list27title = {{{list27title|}}} | ||
|content27style = {{{content27style|}}} | |content27style = {{{content27style|}}} | ||
|content27 = {{{content27|}}} | |content27 = {{{content27|}}} | ||
| Line 162: | Line 216: | ||
|heading28style = {{{heading28style|}}} | |heading28style = {{{heading28style|}}} | ||
|heading28 = {{{heading28|}}} | |heading28 = {{{heading28|}}} | ||
| + | |list28titlestyle = {{{list28titlestyle|}}} | ||
| + | |list28title = {{{list28title|}}} | ||
|content28style = {{{content28style|}}} | |content28style = {{{content28style|}}} | ||
|content28 = {{{content28|}}} | |content28 = {{{content28|}}} | ||
| Line 167: | Line 223: | ||
|heading29style = {{{heading29style|}}} | |heading29style = {{{heading29style|}}} | ||
|heading29 = {{{heading29|}}} | |heading29 = {{{heading29|}}} | ||
| + | |list29titlestyle = {{{list29titlestyle|}}} | ||
| + | |list29title = {{{list29title|}}} | ||
|content29style = {{{content29style|}}} | |content29style = {{{content29style|}}} | ||
|content29 = {{{content29|}}} | |content29 = {{{content29|}}} | ||
| Line 172: | Line 230: | ||
|heading30style = {{{heading30style|}}} | |heading30style = {{{heading30style|}}} | ||
|heading30 = {{{heading30|}}} | |heading30 = {{{heading30|}}} | ||
| + | |list30titlestyle = {{{list30titlestyle|}}} | ||
| + | |list30title = {{{list30title|}}} | ||
|content30style = {{{content30style|}}} | |content30style = {{{content30style|}}} | ||
|content30 = {{{content30|}}} | |content30 = {{{content30|}}} | ||
Revision as of 18:31, 7 December 2013
| 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 |
| The above documentation is transcluded from Template:Ethnic group sidebar/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |