Difference between revisions of "Template:Ethnic group sidebar/doc"
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}}). | + | |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). | + | |- |
| − | | ''series'' || Category name, turning the wording "a series" into a link to that category. | + | | ''style'' || To apply extra [[Cascading Style Sheets|CSS styles]] to the whole template (e.g. background). |
| − | | '''''title''''' || Template's title. Default formatting includes bolding. | + | |- |
| − | | ''titlestyle'' || Use to provide alterative CSS styling to the default. | + | | ''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>). | + | |- |
| − | | ''headingstyle'' || Extra CSS styling to apply to headings. | + | | '''''title''''' || Template's title. Default formatting includes bolding. |
| − | | ''heading1'' || First heading within template's body. | + | |- |
| − | | ''content1'' || Content below ''heading1'' (if used). | + | | ''titlestyle'' || Use to provide alterative CSS styling to the default. |
| − | | ''heading2'' || Second heading (if used). | + | |- |
| − | | ''content2'' || Content below ''heading2'' (if used). | + | | ''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"| ...... | + | |- |
| − | | ''heading30'' || Currently the last possible heading. | + | | ''headingstyle'' || Extra CSS styling to apply to headings. |
| − | | ''content30'' || Content below ''heading30'' (if used). | + | |- |
| − | | ''below'' || Use for e.g. portal links. Default formatting includes bolding. | + | | ''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
| This is a documentation subpage for Template:Ethnic group sidebar. It contains usage information, categories and other content that is not part of the original template page. |
| 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 |