Difference between revisions of "Template:Card table anime and manga appearances"
Dinoguy1000 (talk | contribs) (switch this over to accepting comma-delimited input (no point in waiting, really); add tracking categories for extra and extra2 since these should probably be handled by other params in CardTable2) |
Dinoguy1000 (talk | contribs) (woo cleanup/simplification! =D ) |
||
Line 1: | Line 1: | ||
{{IfSemantics | {{IfSemantics | ||
| {{ | | {{ | ||
− | #arraymap | + | #arraymap: {{{1}}} | , | $x$ | [[Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{padleft:$x$|3|0}}|{{padleft:$x$|3|0}}]] |
}} | }} | ||
| {{ | | {{ | ||
Line 9: | Line 9: | ||
#replace: {{ | #replace: {{ | ||
#replace: {{ | #replace: {{ | ||
− | #sub | + | #sub: {{{1}}} |
− | | 0 | {{ #pos | + | | 0 | {{ #pos: {{{1}}} |
}} | }} | ||
| , | @], [$Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}}  | | , | @], [$Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}}  | ||
Line 18: | Line 18: | ||
| @ | ] | | @ | ] | ||
}}]] | }}]] | ||
− | | | + | | {{{1}}} |
}} | }} | ||
}}{{ | }}{{ |
Revision as of 18:06, 3 October 2011
{{IfSemantics | [[Yu-Gi-Oh! - {{{type}}} {{{1}}}|{{{1}}}]] | {{
#ifexpr: 7 * 35 < 1000 | [[Yu-Gi-Oh! - {{{type}}} ]]
}}
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}} |