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

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
imported>Frietjes
Line 21: Line 21:
 
All optional except ''name'' and ''title''.
 
All optional except ''name'' and ''title''.
 
{| 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;"| '''''name''''' || Template's name (required for {{tl|navbar}}).</tr>
+
|style="width:7.0em;"| '''''name''''' || Template's name (required for {{tl|navbar}}).
| ''style''        || To apply extra [[Cascading Style Sheets|CSS styles]] to the whole template (e.g. background).</tr>
+
|-
| ''series''      || Category name, turning the wording "a series" into a link to that category.</tr>
+
| ''style''        || To apply extra [[Cascading Style Sheets|CSS styles]] to the whole template (e.g. background).
| '''''title'''''  || Template's title. Default formatting includes bolding.</tr>
+
|-
| ''titlestyle''  || Use to provide alterative CSS styling to the default.</tr>
+
| ''series''      || Category name, turning the wording "a series" into a link to that category.
| ''image''        || To include an image between the template's header and body.<br/>Full wikisyntax needed (i.e. <code><nowiki>[[Image:</nowiki>''Filename''...]]</code>).</tr>
+
|-
| ''headingstyle'' || Extra CSS styling to apply to headings.</tr>
+
| '''''title'''''  || Template's title. Default formatting includes bolding.
| ''heading1''    || First heading within template's body.</tr>
+
|-
| ''content1''    || Content below ''heading1'' (if used).</tr>
+
| ''titlestyle''  || Use to provide alterative CSS styling to the default.
| ''heading2''    || Second heading (if used).</tr>
+
|-
| ''content2''    || Content below ''heading2'' (if used).</tr>
+
| ''image''        || To include an image between the template's header and body.<br/>Full wikisyntax needed (i.e. <code><nowiki>[[Image:</nowiki>''Filename''...]]</code>).
|colspan="2"| ......</tr>
+
|-
| ''heading30''    || Currently the last possible heading.</tr>
+
| ''headingstyle'' || Extra CSS styling to apply to headings.
| ''content30''    || Content below ''heading30'' (if used).</tr>
+
|-
| ''below''        || Use for e.g. portal links. Default formatting includes bolding.</tr>
+
| ''heading1''    || First heading within template's body.
 +
|-
 +
| ''content1''    || Content below ''heading1'' (if used).
 +
|-
 +
| ''heading2''    || Second heading (if used).
 +
|-
 +
| ''content2''    || Content below ''heading2'' (if used).
 +
|-
 +
|colspan="2"| ......
 +
|-
 +
| ''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
 +
{| 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
 +
|-
 +
| '''list1''' || The first collapsible list
 +
|-
 +
|colspan="2"| ......
 +
|-
 +
| '''list30title''' || Currently the last possible collapsible list title
 +
|-
 +
| '''list30''' || Current the last possible collapsible list
 
|}
 
|}
 
 
<includeonly>
 
<includeonly>
 
[[Category:Ethnic group templates| ]]
 
[[Category:Ethnic group templates| ]]
 
[[Category:Exclude in print]]
 
[[Category:Exclude in print]]
 
</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