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!)
(More selectables.)
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;" {{!}}  }}
|-
|-
{{#if: {{{birthplace|}}} |
{{#if: {{{birthplace|}}} |
Line 23: Line 28:
|-
|-
{{#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 42:
|-
|-
{{#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 54: Line 65:
==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=
|birthplace=
|birthplace=
|born=
|born=
|age=
|died=
|died=
|role=
|role=

Revision as of 05:49, 24 April 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=
|birthplace=
|born=
|age=
|died=
|role=
|link=
|imdb=
}}