Template:Part

From Shifti
Revision as of 02:46, 5 August 2007 by ShadowWolf (talk | contribs)
Jump to navigation Jump to search


Usage:
{{part|name=Name|number=Number|seper=type}}
You can omit the parameters (as shown), but this gives you a "usage error" for the heading.
(Four or more headings automatically creates a Table of Contents.)
The "seper" parameter refers to one of the types of separators that can take a text argument. See Help:Templates and Template:Separator for more information. Use "seper=hr" if you want a horizontal rule type separator instead of one of the graphical ones.

{{part}} nets you a horizontal rule (<hr/>)

{{part|number=1}} nets you:

Part 1

{{part|name=Test}} nets you:

Test

{{part|name=Test|number=1}} nets you:

Part 1: Test

{{part|name=Test|number=1|seper=k}} nets you:

{{#if:k|{{#if:Part 1: Test|
 Part 1: Test 
|
}}|
}}

{{part|name=Test|number=1|seper=hr}} nets you:

{{#if:|{{#if:|

[[Image:Separator {{{1}}} left.png|100px]] {{{2}}} [[Image:Separator {{{1}}} right.png|100px]]

|[[Image:Separator {{{1}}}.png|200px|center]]}}|


}}

Part 1: Test