Difference between revisions of "Template:Cast"

From Diary of a Wimpy Kid Wiki
Jump to navigation Jump to search
m
m (Category choices)
Line 17: Line 17:
{{#if: {{{alias|}}} | {{!}} colspan="5" style="background: #dddddd; height: 1px;" {{!}}  }}
{{#if: {{{alias|}}} | {{!}} colspan="5" style="background: #dddddd; height: 1px;" {{!}}  }}
|-
|-
{{#if: {{{gender|}}} |
{{#switch:{{{gender|}}}|male=n <includeonly>[[Category:Male actors]]</includeonly|female=&nbsp;<includeonly>[[Category:Female actors]]</includeonly>|}}
 
{{#if: {{{gender|}}} |  
{{!}} class="left" {{!}} <small>'''Gender'''</small>
{{!}} class="left" {{!}} <small>'''Gender'''</small>
{{!}} style="text-align:right;" {{!}} <small>{{{gender}}}</small> }}
{{!}} style="text-align:right;" {{!}} <small>{{{gender}}}</small> }}
Line 69: Line 71:
{{!}} style="text-align:right;" {{!}} <small>{{{imdb}}}</small> }}
{{!}} style="text-align:right;" {{!}} <small>{{{imdb}}}</small> }}
|-
|-
|}<includeonly>[[Category:Actors]]</includeonly><noinclude>
|}{{#if:{{{uncredited|}}}|<includeonly>[[Category:Uncredited actors]]</includeonly>|}}<noinclude>
{{clear}}
{{clear}}


Line 92: Line 94:
|link=
|link=
|imdb=
|imdb=
|uncredited=
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 22:43, 7 May 2022


{{{name}}}

Info

This template is specifically made for actors who participated in the Diary of a Wimpy Kid films.

Skeleton

To use the template, copy and paste the following to the top of an actor page.

{{cast
|image=
|caption=
|name=
|alias=
|gender=
|height=
|birthplace=
|born=
|age=
|died=
|role=
|link=
|imdb=
|uncredited=
}}