Difference between revisions of "Template:Ethnic group sidebar"
Jump to navigation
Jump to search
(pass class) |
|||
| Line 1: | Line 1: | ||
| − | <includeonly>{{ | + | <includeonly>{{sidebar |
|name = {{{name|{{PAGENAME}}}}} | |name = {{{name|{{PAGENAME}}}}} | ||
| − | | | + | |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}} | ||
| + | |pretitleclass = {{{pretitleclass|}}} | ||
|pretitlestyle = padding-top:0.4em; {{{pretitlestyle|}}} | |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|}}} | ||
| + | |||
| + | |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|}}} | |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|}}} | |contentstyle = padding:0 0.4em 0.6em; border-bottom:1px solid #aaa; {{{contentstyle|}}} | ||
| Line 163: | Line 175: | ||
|content30 = {{{content30|}}} | |content30 = {{{content30|}}} | ||
| + | |below = {{{below|}}} | ||
| + | |belowclass = {{{belowclass|}}} | ||
|belowstyle = border-bottom:1px solid #aaa; {{{belowstyle|}}} | |belowstyle = border-bottom:1px solid #aaa; {{{belowstyle|}}} | ||
| − | | | + | |
| + | |navbar = {{{navbar|{{{tnavbar|}}}}}} | ||
| + | |navbarstyle = {{{navbarstyle|{{{tnavbarstyle|}}}}}} | ||
| + | |navbaroptions = {{{navbaroptions|{{{tnavbaroptions|}}}}}} | ||
| + | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
Revision as of 03:17, 5 March 2012
File:Test Template Info-Icon - Version (2).svg 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 |
| 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. |