Template:Chapter/doc
This is a documentation subpage for Template:Chapter. It may contain usage information, categories and other content that is not part of the original template page. |
{{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