Difference between revisions of "Template:Infobox character"

From Diary of a Wimpy Kid Wiki
Jump to navigation Jump to search
m (Undo revision 80098 by Username (talk))
Tag: Undo
m
Tag: Reverted
Line 16: Line 16:
{{!}} style="padding:3px" {{!}}{{{alias|}}}
{{!}} style="padding:3px" {{!}}{{{alias|}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{gender<includeonly>|</includeonly>}}} |
{{#switch:{{{gender|}}}|Male=<includeonly>[[Category:Male actors]]</includeonly>|Female=&nbsp;<includeonly>[[Category:Female actors]]</includeonly>|}}
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Gender'''
{{#if: {{{name|}}} |
{{!}}{{{gender}}}
{{!}} class="left" {{!}} <small>'''Gender'''</small>
{{!}}-
{{!}} style="text-align:right;" {{!}} <small>{{{gender}}}</small> }}
}}
{{#if: {{{name|}}} |
{{!}} class="left" {{!}} <small>'''Gender'''</small>
{{!}} style="text-align:right;" {{!}} <small>{{{gender}}}</small> }}
{{#if: {{{name|}}} |
{{!}} class="left" {{!}} <small>'''Gender'''</small>
{{!}} style="text-align:right;" {{!}} <small>{{{gender}}}</small> }}
{{#if:{{{age<includeonly>|</includeonly>}}} |
{{#if:{{{age<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Age'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Age'''

Revision as of 22:20, 16 May 2022

Infobox character
{{{image}}}
Name {{{name}}}
Age {{{age}}}
Status {{{status}}}

[view][talk]

Info

This is a template made specifically for fictional characters from the Diary of a Wimpy Kid series.

Skeleton

To use the template, copy and paste the following into the top of a character page.

{{Infobox character
|image=
|caption=
|name=
|alias=
|gender=
|age=
|occupation=
|status=
|actor=
|first=
|only=
|last=
}}