Template:Part: Difference between revisions
Jump to navigation
Jump to search
ShadowWolf (talk | contribs) m blank TOC entries don't make any sense. Lets drop in a nice message :) |
ShadowWolf (talk | contribs) m Protected "Template:Part": It was hard enough to make this work. There is no reason for the average user to edit this template. [edit=sysop:move=sysop] |
(No difference)
| |
Revision as of 22:48, 20 July 2007
{{#ifeq: | |
{{#ifeq: | |
=== Usage Error! === |
=== Part {{{number}}} ===
}} |
{{#ifeq: | |
=== {{{name}}} === |
=== Part {{{number}}}: {{{name}}} ===
}}
}}
- Usage:
- {{part|name=Name|number=Number}}
- You can omit the parameters (as shown), but this gives you a "usage error" for the heading.
- (As you can see, four or more headings automatically creates a Table of Contents.)
{{part}} nets you:
Usage Error!
{{part|number=1}} nets you:
Part 1
{{part|name=Test}} nets you:
Test
{{part|name=Test|number=1}} nets you: