Difference between revisions of "Template:CastItem"
From Detective Conan Wiki
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}}}]] {{!}}{{!}}}} {{#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> | + | | {{#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"|{{#ifeq:{{{no-link-cast|}}}|true|{{{3}}}|[[{{{link-cast|{{{3}}}}}}|{{{3}}}]]}} || {{{4|}}}</includeonly><noinclude> |
Displays an item of a cast list. | Displays an item of a cast list. | ||
Line 14: | Line 14: | ||
| 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 | | no-image-cast = (Optional) Omit Cast image column | ||
+ | | no-link-cast = (Optional) Omit link on Cast name | ||
}} | }} | ||
Latest revision as of 15:47, 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 | no-link-cast = (Optional) Omit link on Cast name }} 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