Difference between revisions of "Template:CastItem"

From Detective Conan Wiki
m
(Removed "notable work" for now to compact the table and allow for possible expansions)
Line 1: Line 1:
 
<includeonly>|-
 
<includeonly>|-
| {{#ifeq:{{{1|}}}|0||rowspan="{{{1}}}" style="text-align:center"{{!}}[[Image:{{{image|{{{2}}}}}}_60px.jpg|60px]] {{!}}{{!}}}} {{#ifeq:{{{1|}}}|0||rowspan="{{{1}}}" 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||rowspan="{{{1}}}" 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|}}}</includeonly><noinclude>
 
Displays an item of a cast list.
 
Displays an item of a cast list.
  
Line 8: Line 8:
  
 
<pre>
 
<pre>
{{CastItem|<number of cast members to show>|<character>|<voice actor>|<other work from actor>|<notes>
+
{{CastItem|<number of cast members to show>|<character>|<voice actor>|<notes>
 
| image        = (Optional) Overrides the default character image which is based on the character name
 
| 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
 
| link          = (Optional) Overrides the default link to the character's page

Revision as of 22:53, 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>|<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