Difference between revisions of "Template:CastItem"

From Detective Conan Wiki
(Created page with '<includeonly>|- | {{#ifeq:{{{1|}}}|0||rowspan="{{{1}}}" style="text-align:center"{{!}}[[Image:{{{image|{{{2}}}}}}_60px.jpg|60px]] {{!}}{{!}}}} {{#if:{{{1|}}}|0||style="text-align...')
 
m
Line 1: Line 1:
 
<includeonly>|-
 
<includeonly>|-
| {{#ifeq:{{{1|}}}|0||rowspan="{{{1}}}" style="text-align:center"{{!}}[[Image:{{{image|{{{2}}}}}}_60px.jpg|60px]] {{!}}{{!}}}} {{#if:{{{1|}}}|0||style="text-align:center"{{!}}[[{{{link|{{{2}}}}}}|{{{2}}}]] {{!}}{{!}}}} style="text-align:center"|[[Image:{{{image-cast|{{{3}}}}}}_60px.jpg|60px]] || style="text-align:center"|[[{{{link-cast|{{{3}}}}}}|{{{3}}}]] || {{{4}}} || {{{5}}}</includeonly><noinclude>
+
| {{#ifeq:{{{1|}}}|0||rowspan="{{{1}}}" style="text-align:center"{{!}}[[Image:{{{image|{{{2}}}}}}_60px.jpg|60px]] {{!}}{{!}}}} {{#ifeq:{{{1|}}}|0||style="text-align:center"{{!}}[[{{{link|{{{2}}}}}}|{{{2}}}]] {{!}}{{!}}}} style="text-align:center"|[[Image:{{{image-cast|{{{3}}}}}}_60px.jpg|60px]] || style="text-align:center"|[[{{{link-cast|{{{3}}}}}}|{{{3}}}]] || {{{4|}}} || {{{5|}}}</includeonly><noinclude>
 
Displays an item of a cast list.
 
Displays an item of a cast list.
  

Revision as of 22:49, 2 November 2009

Displays an item of a cast list.

Usage

Here is the list of parameters that can be used:

{{CastItem|<number of cast members to show>|<character>|<voice actor>|<other work from actor>|<notes>
| image         = (Optional) Overrides the default character image which is based on the character name
| link          = (Optional) Overrides the default link to the character's page
| image-cast    = (Optional) Overrides the default actor image which is based on the actor name
| link-cast     = (Optional) Overrides the default link to the voice actor's page
}}

number of cast members to show    = Can be 1 or more. If using a number > 1, use 0 for the following row 
                                    to skip the first two columns