Difference between revisions of "Template:CastItem"
From Detective Conan Wiki
m |
|||
| 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" | + | | {{#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}}}]] {{!}}{{!}}}} {{#ifeq:{{{no-image-cast|}}}|true||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 13: | Line 13: | ||
| image-cast = (Optional) Overrides the default actor image which is based on the actor name | | 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 | | link-cast = (Optional) Overrides the default link to the voice actor's page | ||
| + | | no-image-cast = (Optional) Omit Cast image column | ||
}} | }} | ||
Revision as of 15:42, 5 July 2011
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
| no-image-cast = (Optional) Omit Cast image column
}}
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