Template:InPart/doc

Description

 * This template is used to identify either:


 * This article contains content related to a chapter that is in a part, or
 * This article contains content related to a part.

It also has a convenience-side-effect: It adds it to the Parts category or the Chapters category depending on the type of article. This helps speed up this wiki's indev process.

Syntax
1?!

Parameters
For examples of how to use these parameters, see.

No arguments
Given no arguments, this template will bug out.

Produces:

Only 1st argument
The 1st argument is the only major (and required for proper usage) one, as it specifies the part title that this article belongs to, so omitting the 2nd argument should not cause any problems.

Produces:

Why this truly works is because, by default, the 2nd parameter will be evaluated as if something was specified that wasn't "chapter", since nothing is definitely not "chapter".

Bad part title
A bad (or irrelevant) part title will not cause this template to "bug out", per se, just a red link (if it doesn't exist) and a deceptive category will be used.

Only 1st argument
As mentioned before, the 1st argument is the only major (and required for proper usage) one, as it specifies the part title that this article belongs to, so omitting the 2nd argument should not cause any problems, and because a bad (or irrelevant) part title will not cause this template to "bug out", per se, this will work fine.

Produces:

As mentioned before, why this truly works is because, by default, the 2nd parameter will be evaluated as if something was specified that wasn't "chapter", since nothing is definitely not "chapter".

All arguments
Passing in the 2nd argument will be only better (or in this case, the same) than before, DUH!

Produces:

All arguments
Passing in all the arguments will allow all of the behavior from this template from before!

This will indicate that this article is a chapter within the part.

Produces:

(or anything else)
This will indicate that this article is the part itself.

Produces: