Difference between revisions of "Template:Ethnic group sidebar/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
Line 55: Line 55:
 
For collapsible lists use
 
For collapsible lists use
 
{| style="background:transparent; font-size:95%; line-height:1.3em;" cellspacing="0" cellpadding="2"
 
{| style="background:transparent; font-size:95%; line-height:1.3em;" cellspacing="0" cellpadding="2"
|style="width:7.0em;"| '''list1title''' || Title for the first collapsible list
+
|style="width:7.0em;"| list1title || Title for the first collapsible list
 
|-
 
|-
| '''list1''' || The first collapsible list
+
| list1 || The first collapsible list
 
|-
 
|-
 
|colspan="2"| ......
 
|colspan="2"| ......
 
|-
 
|-
| '''list30title''' || Currently the last possible collapsible list title
+
| list30title || Currently the last possible collapsible list title
 
|-
 
|-
| '''list30''' || Current the last possible collapsible list
+
| list30 || Current the last possible collapsible list
 
|}
 
|}
 
<includeonly>
 
<includeonly>

Revision as of 18:39, 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