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

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (→‎Parameters: width)
imported>Sardanaphalus
m (updating)
Line 11: Line 11:
 
| '''''title'''''  || Template's title. Default formatting includes bolding.</tr>
 
| '''''title'''''  || Template's title. Default formatting includes bolding.</tr>
 
| ''titlestyle''  || Use to provide alterative CSS styling to the default&nbsp; <code>font-size:14pt; line-height:1.0em; font-weight:bold;</code>.</tr>
 
| ''titlestyle''  || Use to provide alterative CSS styling to the default&nbsp; <code>font-size:14pt; line-height:1.0em; font-weight:bold;</code>.</tr>
| ''image''        || To include an image between the template's header and body. Full wikisyntax needed (i.e. <code><nowiki>[[Image:</nowiki>''Filename''...]]</code>).</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>).</tr>
 
| ''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>
Line 18: Line 18:
 
| ''content2''    || Content below ''heading2'' (if used).</tr>
 
| ''content2''    || Content below ''heading2'' (if used).</tr>
 
|colspan="2"| ......</tr>
 
|colspan="2"| ......</tr>
| ''heading10''    || Currently the last possible heading.</tr>
+
| ''heading12''    || Currently the last possible heading.</tr>
| ''content10''    || Content below ''heading10'' (if used).</tr>
+
| ''content12''    || Content below ''heading12'' (if used).</tr>
 
|}
 
|}
  

Revision as of 05:03, 8 September 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).
......
heading12 Currently the last possible heading.
content12 Content below heading12 (if used).