Difference between revisions of "Template:Infobox character"

From Diary of a Wimpy Kid Wiki
Jump to navigation Jump to search
m (whi)
m
Tag: Manual revert
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox bordered vevent" style="float:right;background:white; width: 300px; font-size: 90%; text-align: left;padding:3px;border:1px solid black"
{| class="infobox bordered" style="float:right; width:264px; font-size:90%; text-align:left;" cellpadding="3"
|-
|-  
! colspan="2" style="font-size:110%; text-align:center; background-color:#eee;" class="summary" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="font-size:110%; text-align:center; background-color:#EEE; color:#000;" | ''{{{title|{{PAGENAME}}}}}''
|-
|-
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;padding-bottom:.5em;" {{!}}{{{image}}}
{{!}} colspan="2" style="text-align:center;background-color:#FFF;" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{age<includeonly>|</includeonly>}}} |
{{#if:{{{name<includeonly>|</includeonly>}}} |
{{!}} style="background:#EEEEEE"{{!}}'''Age'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Name'''
{{!}}{{{age}}}
{{!}}{{{name}}}
{{!}}-
{{!}}-
}}
}}
{{#if: {{{alias|}}}|
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Alias'''
{{!}} style="padding:3px" {{!}}{{{alias|}}}
{{!}}-|}}
{{#if:{{{gender<includeonly>|</includeonly>}}} |
{{#if:{{{gender<includeonly>|</includeonly>}}} |
{{!}} style="background:#EEEEEE;"{{!}}'''Gender'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Gender'''
{{!}}{{{gender}}}
{{!}}{{{gender}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{actor<includeonly>|</includeonly>}}} |
{{#if:{{{age<includeonly>|</includeonly>}}} |
{{!}} style="background:#EEEEEE;"{{!}}'''Actor'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Age'''
{{!}}{{{actor}}}
{{!}}{{{age}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{appearances<includeonly>|</includeonly>}}} |
{{#if: {{{occupation|}}}|
{{!}} style="background:#EEEEEE;"{{!}}'''Appearances'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Occupation'''
{{!}}{{{appearances}}}
{{!}} style="padding:3px" {{!}}{{{occupation|}}}
{{!}}-|}}
{{#if:{{{status<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Status'''
{{!}}{{{status}}}
{{!}}-
{{!}}-
}}
}}
|}<noinclude>
{{#if: {{{actor|}}}|
==Layout==
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Actor'''
{{!}} style="padding:3px" {{!}}{{{actor|}}}
{{!}}-|}}
{{#if: {{{first|}}}|
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''First appearance'''
{{!}} style="padding:3px" {{!}}{{{first|}}}
{{!}}-|}}
{{#if: {{{only|}}}|
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Only appearance'''
{{!}} style="padding:3px" {{!}}{{{only|}}}
{{!}}-|}}
{{#if: {{{last|}}}|
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Last appearance'''
{{!}} style="padding:3px" {{!}}{{{last|}}}
{{!}}-|}}
|}</div><noinclude><span style="margin:-10px 0 0 0; font-size:xx-small; clear:right; float:right;">[[Template:{{PAGENAME}}|[view]]] &bull; [[Template talk:{{PAGENAME}}|[talk]]]</span>
{{clear}}
 
==Info==
This is a template made specifically for fictional characters from the [[Diary of a Wimpy Kid (series)|Diary of a Wimpy Kid series]].
 
==Skeleton==
To use the template, copy and paste the following into the top of a character page.
<pre>
<pre>
{{Character infobox
{{infobox character
|image=
|image=
|caption=
|name=
|alias=
|gender=
|age=
|age=
|gender=
|occupation=
|status=
|actor=
|actor=
|appearances=
|first=
|only=
|last=
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]
<!--{{#if: {{{map|}}}|
</noinclude>
{{!}} '''{{{map}}}'''
{{!}}{{{info|Unknown}}}
{{!}}-|}}-->
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 04:30, 15 July 2022

Infobox character
{{{image}}}
Name {{{name}}}
Gender {{{gender}}}
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=
}}