Difference between revisions of "Template:Cast"

From Diary of a Wimpy Kid Wiki
Jump to navigation Jump to search
(In the process of cleaning up!)
m
 
(8 intermediate revisions by the same user not shown)
Line 3: Line 3:
!{{#if: colspan="2" style="background-color: #00FFFF;-moz-border-radius-topleft:10px;-moz-border-radius-topright:10px;-moz-border-radius-bottomleft:10px;-moz-border-radius-bottomright:10px; text-align: center; font-size: larger;" | '''{{{name}}}'''
!{{#if: colspan="2" style="background-color: #00FFFF;-moz-border-radius-topleft:10px;-moz-border-radius-topright:10px;-moz-border-radius-bottomleft:10px;-moz-border-radius-bottomright:10px; text-align: center; font-size: larger;" | '''{{{name}}}'''
|-
|-
{{#if: {{{image|}}} | {{!}} align=center colspan=2 {{!}} [[Image:{{{image}}}|center|250px]] }}
{{#if: {{{image|}}} | {{!}} align=center colspan=2 {{!}} [[File:{{{image}}}|center|250px]]}}<br>{{#if: {{{caption|}}} | <center>{{{caption}}}</center>}}
|-
|-
|-
{{#if: {{{name|}}} |
{{#if: {{{name|}}} |
Line 11: Line 10:
|-
|-
{{#if: {{{name|}}} | {{!}} colspan="5" style="background: #dddddd; height: 1px;" {{!}}  }}
{{#if: {{{name|}}} | {{!}} colspan="5" style="background: #dddddd; height: 1px;" {{!}}  }}
|-
{{#if: {{{alias|}}} |
{{!}} class="left" {{!}} <small>'''Alias'''</small>
{{!}} style="text-align:right;" {{!}} <small>{{{born}}}</small> }}
|-
{{#if: {{{alias|}}} | {{!}} colspan="5" style="background: #dddddd; height: 1px;" {{!}}  }}
|-
{{#switch:{{{gender|}}}|Male=<includeonly>[[Category:Male actors]]</includeonly>|Female=&nbsp;<includeonly>[[Category:Female actors]]</includeonly>|}}
{{#if: {{{name|}}} |
{{!}} class="left" {{!}} <small>'''Gender'''</small>
{{!}} style="text-align:right;" {{!}} <small>{{{gender}}}</small> }}
|-
{{#if: {{{gender|}}} | {{!}} colspan="5" style="background: #dddddd; height: 1px;" {{!}}  }}
|-
{{#if: {{{height|}}} |
{{!}} class="left" {{!}} <small>'''Height'''</small>
{{!}} style="text-align:right;" {{!}} <small>{{{height}}}</small> }}
|-
{{#if: {{{height|}}} | {{!}} colspan="5" style="background: #dddddd; height: 1px;" {{!}}  }}
|-
|-
{{#if: {{{birthplace|}}} |
{{#if: {{{birthplace|}}} |
Line 23: Line 41:
|-
|-
{{#if: {{{born|}}} | {{!}} colspan="5" style="background: #dddddd; height: 1px;" {{!}}  }}
{{#if: {{{born|}}} | {{!}} colspan="5" style="background: #dddddd; height: 1px;" {{!}}  }}
|-
{{#if: {{{age|}}} |
{{!}} class="left" {{!}} <small>'''Age'''</small>
{{!}} style="text-align:right;" {{!}} <small>{{{age}}}</small> }}
|-
{{#if: {{{age|}}} | {{!}} colspan="5" style="background: #dddddd; height: 1px;" {{!}}  }}
|-
|-
{{#if: {{{died|}}} |
{{#if: {{{died|}}} |
Line 31: Line 55:
|-
|-
{{#if: {{{role|}}} |
{{#if: {{{role|}}} |
{{!}} class="left" {{!}} <small>'''Role on ''Wimpy Kid''</small>
{{!}} class="left" {{!}} <small>'''Role(s) on ''Wimpy Kid''</small>
{{!}} style="text-align:right;" {{!}} <small>{{{role}}}</small> }}
{{!}} style="text-align:right;" {{!}} <small>{{{role}}}</small> }}
|-
|-
Line 46: Line 70:
{{!}} style="text-align:right;" {{!}} <small>{{{imdb}}}</small> }}
{{!}} style="text-align:right;" {{!}} <small>{{{imdb}}}</small> }}
|-
|-
|}<includeonly>[[Category:Actors]]</includeonly><noinclude>
|}{{#if:{{{reprising|}}}|<includeonly>[[Category:Reprising actors]]</includeonly>|}}{{#if:{{{uncredited|}}}|<includeonly>[[Category:Uncredited actors]]</includeonly>|}}<noinclude>
{{clear}}
{{clear}}


Line 54: Line 78:
==Skeleton==
==Skeleton==
To use the template, copy and paste the following to the top of an actor page.
To use the template, copy and paste the following to the top of an actor page.
<pre>
<pre>
{{cast
{{cast
|image=
|image=
|caption=
|name=
|name=
|alias=
|gender=
|height=
|birthplace=
|birthplace=
|born=
|born=
|age=
|died=
|died=
|role=
|role=
|link=
|link=
|imdb=
|imdb=
|reprising=
|uncredited=
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 23:56, 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=
|reprising=
|uncredited=
}}