Difference between revisions of "Template:Appearances"
From Detective Conan Wiki
NakagawaRyou (talk | contribs) (just trying it out) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{# | + | <includeonly>{{#stats:{{{1}}}|{{{2}}}|{{{option|none}}}|{{#ifeq:{{{option}}}|inverse|{{Total {{{1}}}}}|0}}|{{PAGENAME}}| |
− | {{# | ||
{{{3}}} | {{{3}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Automatically displays or calculate the number of appearances for a given character. This template uses a unique [[Special:Version#Installed_extensions|DCW wiki extension]] specifically created for keeping track of character appearances in the show. | Automatically displays or calculate the number of appearances for a given character. This template uses a unique [[Special:Version#Installed_extensions|DCW wiki extension]] specifically created for keeping track of character appearances in the show. | ||
Line 14: | Line 8: | ||
The following is a list of required or optional parameters: | The following is a list of required or optional parameters: | ||
<pre> | <pre> | ||
− | {{Appearances|<type>|<character>| | + | {{Appearances|<type>|<character>|option=<option>| |
<list of appearances> | <list of appearances> | ||
}} | }} | ||
− | type = Type of appearance. Can be: chapters, episodes, movies, ovas, specials, openings or | + | type = Type of appearance. Can be: chapters, episodes, movies, ovas, specials, openings, closings or games. |
character = Name of the character. E.g. "Shinichi Kudo" | character = Name of the character. E.g. "Shinichi Kudo" | ||
+ | option = (Optional: will default to "none". Other choices are: inverse) | ||
list of appearances = List of episodes/movies/etc... in which the character was present | list of appearances = List of episodes/movies/etc... in which the character was present | ||
</pre> | </pre> |
Latest revision as of 21:34, 16 June 2018
Automatically displays or calculate the number of appearances for a given character. This template uses a unique DCW wiki extension specifically created for keeping track of character appearances in the show.
Usage
The following is a list of required or optional parameters:
{{Appearances|<type>|<character>|option=<option>| <list of appearances> }} type = Type of appearance. Can be: chapters, episodes, movies, ovas, specials, openings, closings or games. character = Name of the character. E.g. "Shinichi Kudo" option = (Optional: will default to "none". Other choices are: inverse) list of appearances = List of episodes/movies/etc... in which the character was present