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

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(→‎Parameters: +entry)
imported>Sardanaphalus
m (→‎Parameters: width)
Line 6: Line 6:
 
All optional except ''name'', ''title'' and ''content1''.
 
All optional except ''name'', ''title'' and ''content1''.
 
{| 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:6.0em;"| '''''name''''' || Template's name (required for {{tl|Tnavbar}}).</tr>
+
|style="width:7.0em;"| '''''name''''' || Template's name (required for {{tl|Tnavbar}}).</tr>
 
| ''style''        || To apply extra [[Cascading Style Sheets|CSS styles]] to the whole template (e.g. background).</tr>
 
| ''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>
 
| ''series''      || Category name, turning the wording "a series" into a link to that category.</tr>

Revision as of 06:50, 22 August 2008

For examples of this template in use, see Ethnic group templates.

Parameters

All optional except name, title and content1.

name Template's name (required for {{Tnavbar}}).
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  font-size:14pt; line-height:1.0em; font-weight:bold;.
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.
content2 Content below heading2 (if used).
......
heading10 Currently the last possible heading.
content10 Content below heading10 (if used).