Difference between revisions of "Template:Card table anime and manga appearances"
Dinoguy1000 (talk | contribs) (eureka?) |
Dinoguy1000 (talk | contribs) (slight refinement to replacement code - not seeing any way to achieve this without either using SMW features, or having access to loops) |
||
Line 5: | Line 5: | ||
#if: {{{extra|}}} | , {{{extra}}}}}{{ | #if: {{{extra|}}} | , {{{extra}}}}}{{ | ||
#if: {{{extra2|}}} | , {{{extra2}}}}}<noinclude> | #if: {{{extra2|}}} | , {{{extra2}}}}}<noinclude> | ||
+ | |||
:'''To get figured out later''' - <code>#arraymap</code> can probably be replaced by a "doubled" input array and some <code>#replace</code>s (still got a little bit to be worked out, and this can doubtless be refined somehow or another): | :'''To get figured out later''' - <code>#arraymap</code> can probably be replaced by a "doubled" input array and some <code>#replace</code>s (still got a little bit to be worked out, and this can doubtless be refined somehow or another): | ||
− | :<code><nowiki>{{ #replace: {{ #replace: {{ #replace: {{ #replace: .001,.002,.003: | . | [ | + | :<code><nowiki>{{ #replace: {{ #replace: {{ #replace: {{ #replace: .001, .002, .003: | . | [;Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}}  }} | ; | [ }} | , | ]], }} | : | ]] }}</nowiki></code> |
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 21:07, 10 April 2011
[[Yu-Gi-Oh! - {{{type}}} {{{1}}}|{{{1}}}]]
- To get figured out later -
#arraymap
can probably be replaced by a "doubled" input array and some#replace
s (still got a little bit to be worked out, and this can doubtless be refined somehow or another): {{ #replace: {{ #replace: {{ #replace: {{ #replace: .001, .002, .003: | . | [;Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{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}} |