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

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (→‎Principal parameters: +missing "if used")
imported>Sardanaphalus
m (→‎Principal parameters: rm bolding (parameter not required))
Line 14: Line 14:
 
| ''headingstyle'' || Extra CSS styling to apply to headings.</tr>
 
| ''headingstyle'' || Extra CSS styling to apply to headings.</tr>
 
| ''heading1''    || First heading within template's body.</tr>
 
| ''heading1''    || First heading within template's body.</tr>
| '''''content1''''' || Content below ''heading1'' (if used).</tr>
+
| ''content1''     || Content below ''heading1'' (if used).</tr>
 
| ''heading2''    || Second heading (if used).</tr>
 
| ''heading2''    || Second heading (if used).</tr>
 
| ''content2''    || Content below ''heading2'' (if used).</tr>
 
| ''content2''    || Content below ''heading2'' (if used).</tr>

Revision as of 02:53, 10 November 2008

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 {{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.
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.