Difference between revisions of "Template:Card table anime and manga appearances"
Dinoguy1000 (talk | contribs) (add padleft so people can be lazy with using wrapper templates) |
Dinoguy1000 (talk | contribs) (switching to #arraymap) |
||
Line 1: | Line 1: | ||
− | [[Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{padleft:{{{1}}}|3|0}}|{{padleft:{{{1}}}|3|0}}]]{{ | + | {{ #if: {{ #pos: {{{1}}} | / | {{ #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}}} {{padleft:{{{1}}}|3|0}}|{{padleft:{{{1}}}|3|0}}]]{{ | ||
#if: {{{2|}}} | /[[Yu-Gi-Oh! {{#if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{padleft:{{{2}}}|3|0}}|{{padleft:{{{2}}}|3|0}}]]}}{{ | #if: {{{2|}}} | /[[Yu-Gi-Oh! {{#if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{padleft:{{{2}}}|3|0}}|{{padleft:{{{2}}}|3|0}}]]}}{{ | ||
#if: {{{3|}}} | /[[Yu-Gi-Oh! {{#if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{padleft:{{{3}}}|3|0}}|{{padleft:{{{3}}}|3|0}}]]}}{{ | #if: {{{3|}}} | /[[Yu-Gi-Oh! {{#if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{padleft:{{{3}}}|3|0}}|{{padleft:{{{3}}}|3|0}}]]}}{{ | ||
Line 48: | Line 49: | ||
#if: {{{48|}}} | /[[Yu-Gi-Oh! {{#if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{padleft:{{{48}}}|3|0}}|{{padleft:{{{48}}}|3|0}}]]}}{{ | #if: {{{48|}}} | /[[Yu-Gi-Oh! {{#if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{padleft:{{{48}}}|3|0}}|{{padleft:{{{48}}}|3|0}}]]}}{{ | ||
#if: {{{49|}}} | /[[Yu-Gi-Oh! {{#if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{padleft:{{{49}}}|3|0}}|{{padleft:{{{49}}}|3|0}}]]}}{{ | #if: {{{49|}}} | /[[Yu-Gi-Oh! {{#if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{padleft:{{{49}}}|3|0}}|{{padleft:{{{49}}}|3|0}}]]}}{{ | ||
− | #if: {{{50|}}} | /[[Yu-Gi-Oh! {{#if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{padleft:{{{50}}}|3|0}}|{{padleft:{{{50}}}|3|0}}]]}}{{ | + | #if: {{{50|}}} | /[[Yu-Gi-Oh! {{#if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{padleft:{{{50}}}|3|0}}|{{padleft:{{{50}}}|3|0}}]]}}}}{{ |
#if: {{{extra|}}} | /{{{extra}}}}}{{ | #if: {{{extra|}}} | /{{{extra}}}}}{{ | ||
#if: {{{extra2|}}} | /{{{extra2}}}}}<noinclude> | #if: {{{extra2|}}} | /{{{extra2}}}}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 17:58, 11 January 2011
{{ #if:
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}} |