Difference between revisions of "Template:Infobox character"
Jump to navigation
Jump to search
m (Results May Vary moved page Template:InfoCharacter to Template:Character infobox without leaving a redirect: better name) |
m Tag: Manual revert |
||
(34 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox bordered | {| 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:# | ! 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; | {{!}} colspan="2" style="text-align:center;background-color:#FFF;" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{name<includeonly>|</includeonly>}}} | | ||
{{!}} style="background:# | {{!}} style="background-color:#EEE; color:#000;" {{!}}'''Name''' | ||
{{!}}{{{ | {{!}}{{{name}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{alias|}}}| | |||
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Alias''' | |||
{{!}} style="padding:3px" {{!}}{{{alias|}}} | |||
{{!}}-|}} | |||
{{#if:{{{gender<includeonly>|</includeonly>}}} | | {{#if:{{{gender<includeonly>|</includeonly>}}} | | ||
{{!}} style="background:# | {{!}} style="background-color:#EEE; color:#000;" {{!}}'''Gender''' | ||
{{!}}{{{gender}}} | {{!}}{{{gender}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{age<includeonly>|</includeonly>}}} | | ||
{{!}} style="background:# | {{!}} style="background-color:#EEE; color:#000;" {{!}}'''Age''' | ||
{{!}}{{{ | {{!}}{{{age}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{ | {{#if: {{{occupation|}}}| | ||
{{!}} style="background:# | {{!}} style="background-color:#EEE; color:#000;" {{!}}'''Occupation''' | ||
{{!}}{{{ | {{!}} style="padding:3px" {{!}}{{{occupation|}}} | ||
{{!}}-|}} | |||
{{#if:{{{status<includeonly>|</includeonly>}}} | | |||
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Status''' | |||
{{!}}{{{status}}} | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
|}<noinclude> | {{#if: {{{actor|}}}| | ||
== | {{!}} 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]]] • [[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> | ||
{{ | {{infobox character | ||
|image= | |image= | ||
|caption= | |||
|name= | |||
|alias= | |||
|gender= | |||
|age= | |age= | ||
| | |occupation= | ||
|status= | |||
|actor= | |actor= | ||
| | |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}}} |
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= }}