Actions

Template

Difference between revisions of "CharacterBob"

From Sonic Retro

m (Reverted edits by Spambot (talk) to last revision by Black Squirrel)
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; max-width:320px;" class="toc shadow"
+
{{BobTable|
|style=" text-align:center;"| {{ #if: {{{image1|}}} | [[Image:{{{image1}}}| {{ #if: {{{i1size|}}} | {{{i1size}}}px | 110px }}]] | }}{{
+
{{BobRow||{{{image1|}}}|align=center|content={{ #if: {{{image1|}}} | [[File:{{{image1}}}| {{ #if: {{{i1size|}}} | {{{i1size}}}px | 110px }}]] | }}{{
  #if: {{{image2|}}} | [[Image:{{{image2}}}| {{ #if: {{{i2size|}}} | {{{i2size}}}px | 110px }}]] | }}
+
  #if: {{{image2|}}} | [[File:{{{image2}}}| {{ #if: {{{i2size|}}} | {{{i2size}}}px | 110px }}]] | }} }}
|-
+
{{BobRow||{{{charname|}}}|content={{ #if: {{{charname|}}} | {{{charname}}} | {{PAGENAME}} }}|headline=yes|align=center|bgcolour={{{charcolor|}}}|fgcolour={{{textcolor|}}}}}
|style="padding: 0.3em; font-family: sans-serif; font-size: 0.9em; text-align:center; background-color: {{ #if: {{{charcolor|}}} | {{{charcolor}}} | black }}; color: {{ #if: {{{textcolor|}}} | {{{textcolor}}} | white }};"| '''{{ #if: {{{charname|}}} | {{{charname}}} | {{PAGENAME}} }}'''
+
{{BobRow||{{{debut|}}}|content='''First seen''': {{ #if: {{{debut|}}} | ''{{{debut}}}'' | Unknown }} {{ #if: {{{debutyear|}}} | ({{{debutyear}}}) | }}}}
|-
+
{{BobRow||{{{species|}}}|content='''Species''': {{{species}}}}}
|style="padding: 0.3em; line-height: 1.5em;" |
+
{{BobRow||{{{gender|}}}|content='''Gender''': {{{gender}}}}}
'''First Seen''': {{ #if: {{{debut|}}} | ''{{{debut}}}'' | Unknown }} {{ #if: {{{debutyear|}}} | ({{{debutyear}}}) | }}
+
{{BobRow||{{{age|}}}|content='''Age''': {{{age}}}}}
|-
+
{{BobRow||{{{height|}}}|content='''Height''': {{{height}}}}}
|style="padding: 0.3em; font-family: sans-serif; font-size: 0.9em; text-align:center; background-color: {{ #if: {{{charcolor|}}} | {{{charcolor}}} | black }}; color: {{ #if: {{{textcolor|}}} | {{{textcolor}}} | white }};"| Biography
+
{{BobRow||{{{weight|}}}|content='''Weight''': {{{weight}}}}}
|-
+
}}<noinclude>
|align="left"|
 
* '''Species''': {{ #if: {{{species|}}} | {{{species}}} | ''Unknown'' }}
 
* '''Gender''': {{ #if: {{{gender|}}} | {{{gender}}} | ''Unknown'' }}
 
* '''Age''': {{ #if: {{{age|}}} | {{{age}}} | ''Unknown'' }}
 
* '''Height''': {{ #if: {{{height|}}} | {{{height}}} | ''Unknown'' }}
 
* '''Weight''': {{ #if: {{{weight|}}} | {{{weight}}} | ''Unknown'' }}
 
|}<noinclude>
 
  
 
==Usage==
 
==Usage==

Revision as of 14:50, 20 February 2018

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 =
}}