Actions

Template

Difference between revisions of "CharacterBob"

From Sonic Retro

Line 1: Line 1:
 
{|cellpadding="0" cellspacing="0" style="padding: 0.1em; float:right; margin-left:15px; border-right-width: 2px; border-bottom-width: 2px; text-align:center;" class="toc"
 
{|cellpadding="0" cellspacing="0" style="padding: 0.1em; float:right; margin-left:15px; border-right-width: 2px; border-bottom-width: 2px; text-align:center;" class="toc"
 
| {{ #if: {{{image1|}}} | [[Image:{{{image1}}}| {{ #if: {{{i1size|}}} | {{{i1size}}}px | 110px }}]] | }}{{
 
| {{ #if: {{{image1|}}} | [[Image:{{{image1}}}| {{ #if: {{{i1size|}}} | {{{i1size}}}px | 110px }}]] | }}{{
  #if: {{{image2|}}} | [[Image:{{{image2}}}|110px]] | }}
+
  #if: {{{image2|}}} | [[Image:{{{image2}}}| {{ #if: {{{i2size|}}} | {{{i2size}}}px | 110px }}]] | }}
 
|-
 
|-
 
|style="padding: 0.3em; font-family: sans-serif; font-size: 0.9em; background-color: {{ #if: {{{charcolor|}}} | {{{charcolor}}} | black }}; color: {{ #if: {{{textcolor|}}} | {{{textcolor}}} | white }};"| '''{{ #if: {{{charname|}}} | {{{charname}}} | {{PAGENAME}} }}'''
 
|style="padding: 0.3em; font-family: sans-serif; font-size: 0.9em; background-color: {{ #if: {{{charcolor|}}} | {{{charcolor}}} | black }}; color: {{ #if: {{{textcolor|}}} | {{{textcolor}}} | white }};"| '''{{ #if: {{{charname|}}} | {{{charname}}} | {{PAGENAME}} }}'''
Line 24: Line 24:
 
{{CharacterSheet
 
{{CharacterSheet
 
| image1 =  
 
| image1 =  
 +
| i1size =
 
| image2 =  
 
| image2 =  
 +
| i2size =
 
| charcolor =  
 
| charcolor =  
 
| textcolor =  
 
| textcolor =  
Line 36: Line 38:
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
Note that i1size and i2size default the picture size to 110px if left blank.
  
 
===Example===
 
===Example===

Revision as of 07:48, 10 November 2010

CharacterBob

First Seen: Unknown

Biography
  • Species: Unknown
  • Gender: Unknown
  • Age: Unknown
  • Height: Unknown
  • Weight: Unknown

Usage

This template should be used on articles about fictional characters. Place the following at the top of the page:

{{CharacterSheet
| image1 = 
| i1size =
| image2 = 
| i2size =
| charcolor = 
| textcolor = 
| charname = 
| debut = 
| debutyear = 
| gender =
| age =
| height =
| weight =
}}

Note that i1size and i2size default the picture size to 110px if left blank.

Example

Template:CharacterSheet

{{CharacterSheet
| image1 = Hedgehog.jpg
| charcolor = brown
| textcolor = lime
| charname = Mr Hedgehog
| debut = [[Sonic Retro]]
| debutyear = 2007
| gender = male
| age = 9001
| height =
| weight =
}}