Difference between revisions of "Template:Card table anime and manga appearances"
Dinoguy1000 (talk | contribs) (try fixing the test code to at least output functioning links) |
Dinoguy1000 (talk | contribs) (trying something different) |
||
Line 1: | Line 1: | ||
− | {{ #if: {{{test|}}} | + | {{ #if: {{{test|}}} | [[Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{ #replace: {{ #sub: {{{1}}} | 0 | {{ #pos: {{{1}}} | // }} }} | / | ]], [[Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}} }}]]<br /><br /> }}{{IfSemantics |
− | | {{ # | + | | {{ #arraymap: {{{1}}} | / | x | [[Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{padleft:x|3|0}}|{{padleft:x|3|0}}]] }} |
− | + | | [[Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{ #replace: {{ #sub: {{{1}}} | 0 | {{ #pos: {{{1}}} | // }} }} | / | ]], [[Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}} }}]] | |
− | | {{ #arraymap: {{{1}}} | / | x | [[Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{padleft:x|3|0}}|{{padleft:x|3|0}}]] }} | ||
− | | {{ #replace: {{ #sub: {{{1}}} | 0 | {{ #pos: {{{1}}} | // }} }} | / | , | ||
}}{{ | }}{{ | ||
− | #if: {{{extra|}}} | , {{{extra}}}}}{{ | + | #if: {{{extra|}}} | , {{{extra}}} |
− | #if: {{{extra2|}}} | , {{{extra2 | + | }}{{ |
+ | #if: {{{extra2|}}} | , {{{extra2}}} | ||
}}<noinclude> | }}<noinclude> | ||
− | |||
− | |||
− | |||
− | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 07:24, 24 June 2011
{{ #if: | [[Yu-Gi-Oh! - {{{type}}} {{{1}}}{{IfSemantics
| [[Yu-Gi-Oh! - {{{type}}} {{{1}}}|{{{1}}}]] | [[Yu-Gi-Oh! - {{{type}}} {{{1}}}
This template is the root of the "anime and manga appearances" template series, and should not be used directly on articles.
Usage
It accepts two named parameters ({{{series}}}
and {{{type}}}
) and one comma-delimited, unnamed parameter (input might be e.g. 022, 054, 055, 056, 071
).
{{{series}}}
is the name of the series, minus the standard "Yu-Gi-Oh!" prefix, and must be spelled and capitalized the same way it is in article titles for that series' episode/chapter articles.{{{type}}}
should reflect the word used to describe episodes or chapters for that series - for most anime, this should be "Episode", but for manga, it might be "Duel" or something else.
See also
Manga | Anime | |
---|---|---|
Metatemplate | {{Card table anime and manga appearances}} | |
General links to articles | {{Chapter}}/{{Volume}} | {{Episode}} |
{{Video game chapter}} |