Difference between revisions of "Template:Video game chapter"
(fix) |
(class="citation", replace <i> with <cite>) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#switch:{{{3|}}} | + | <includeonly><span class="citation">{{#switch:{{{3|}}} |
|ref = <!-- | |ref = <!-- | ||
-->{{IfSemantics | -->{{IfSemantics | ||
− | | | + | |<cite>{{{1|}}}</cite> Chapter {{{2|}}}: "{{#ask:[[Chapter video game::{{{1|}}}]][[Video game chapter number::{{{2|}}}]]|?Asian English video game chapter name|?English video game chapter name|link=none|format=template|template=PipeLink}}" |
− | | | + | |<cite>{{{1|}}}</cite> Chapter {{{2|}}} |
}} | }} | ||
|number=<!-- | |number=<!-- | ||
Line 13: | Line 13: | ||
-->{{IfSemantics | -->{{IfSemantics | ||
|{{#ask:[[Chapter video game::{{{1|}}}]][[Video game chapter number::{{{2|}}}]]|?Asian English video game chapter name|?English video game chapter name|link=none|format=template|template=PipeLink}} | |{{#ask:[[Chapter video game::{{{1|}}}]][[Video game chapter number::{{{2|}}}]]|?Asian English video game chapter name|?English video game chapter name|link=none|format=template|template=PipeLink}} | ||
− | | | + | |<cite>{{{1|}}}</cite> Chapter: {{{2|}}} |
}} | }} | ||
− | }}</includeonly><noinclude> | + | }}</span></includeonly><noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 21:46, 10 January 2013
{{video game chapter}}
is used to create pre-formatted links to articles on video game 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
{{video game chapter|game name|chapter number}}
This is used to provided the name of the chapter, linked to its article.
{{chapter|game name|chapter number|ref}}
This will produce the name of the chapter in reference format, including a link to its article.
{{chapter|game name|chapter number|number}}
This will produce the number of the chapter, linked to its article.
Examples
Input | Output |
---|---|
{{video game chapter|Yu-Gi-Oh! 5D's World Championship 2011: Over the Nexus|1}} | "" |
{{video game chapter|Yu-Gi-Oh! 5D's World Championship 2011: Over the Nexus|1|ref}} | Yu-Gi-Oh! 5D's World Championship 2011: Over the Nexus chapter 1: "" |
{{video game chapter|Yu-Gi-Oh! 5D's World Championship 2011: Over the Nexus|1|number}} |
See also
Manga | Anime | |
---|---|---|
Metatemplate | {{Card table anime and manga appearances}} | |
General links to articles | {{Chapter}}/{{Volume}} | {{Episode}} |
{{Video game chapter}} |