Difference between revisions of "Template:Video game chapter"
(class="citation", replace <i> with <cite>) |
Dinoguy1000 (talk | contribs) (rewrite per {{Chapter}}, {{Episode}}, and {{Volume}}) |
||
Line 1: | Line 1: | ||
− | <includeonly><span class="citation">{{# | + | <includeonly><span class="citation">{{IfSemantics |
− | | | + | | {{ #ifeq: {{ lc: {{{3}}} }} | number |
− | + | | {{ #ask: [[Chapter video game::{{{1}}}]] [[Video game chapter number::{{{2}}}]] |?Video game chapter number |link=none |format=template |template=PipeLink }} | |
− | + | | {{ #ifeq: {{ lc: {{{3}}} }} | ref | <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 }}" | |
− | + | }} | |
− | + | | {{ #ifeq: {{ lc: {{{3}}} }} | number | {{{2}}} | <cite>{{{1}}}</cite> chapter {{{2}}} }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}</span></includeonly><noinclude> | }}</span></includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 04:33, 7 January 2015
{{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[edit]
{{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[edit]
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[edit]
Manga | Anime | |
---|---|---|
Metatemplate | {{Card table anime and manga appearances}} | |
General links to articles | {{Chapter}}/{{Volume}} | {{Episode}} |
{{Video game chapter}} |