Template:Chapter/doc

From Yugipedia
< Template:Chapter
Revision as of 03:32, 28 December 2010 by Deltaneos (talk | contribs)
Jump to: navigation, search

{{chapter}} is used to create pre-formatted links to articles on manga chapters.

In the event that the extension Semantic MediaWiki gets disabled, this template has fallback outputs that are different than desired, but don't contain broken code.

Usage

{{chapter|series name|chapter number}}

This is used to provided the name of the chapter, linked to its article.

{{chapter|series name|chapter number|ref}}

This will produce the name of the chapter in reference format, including a link to its article.

{{chapter|series name|chapter number|ref|page=page number}}

This can be used to add the page number to the ref format.

{{chapter|series name|chapter number|number}}

This will produce the number of the chapter, linked to its article.

Examples

Input Output
{{chapter|Yu-Gi-Oh!|1}} "The Puzzle of the Gods"
{{chapter|Yu-Gi-Oh!|1|ref}} Yu-Gi-Oh! Duel 1: "The Puzzle of the Gods"
{{chapter|Yu-Gi-Oh!|1|ref|page=1}} Yu-Gi-Oh! Duel 1: "The Puzzle of the Gods"; page 1
{{chapter|Yu-Gi-Oh!|1|ref|page=1}} Yu-Gi-Oh! Duel 1: "The Puzzle of the Gods"; page 1
{{chapter|Yu-Gi-Oh!|1|number}} 001

See also