Actions

Template

Difference between revisions of "CharacterBob"

From Sonic Retro

m (Black Squirrel moved page Template:CharacterSheet to Template:CharacterBob without leaving a redirect: Text replacement - "CharacterSheet" to "CharacterBob")
Line 1: Line 1:
 
{{#vardefine:tvsheetfix|{{{image1|}}}{{{screen|}}}}}<!-- fix with replacetext -->{{BobTable|
 
{{#vardefine:tvsheetfix|{{{image1|}}}{{{screen|}}}}}<!-- fix with replacetext -->{{BobTable|
{{BobRow||{{#var:tvsheetfix}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>|content={{bobscreenMulti|{{#var:tvsheetfix}}|{{{image2|}}}|{{{image3|}}}|{{{image4|}}}|{{{image5|}}}|{{{image6|}}}|{{{image7|}}}|{{{image8|}}}|{{{image9|}}}|{{{image10|}}}|width=320}}}}
+
{{BobRow||{{#var:tvsheetfix}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>|content={{#if:{{{image2|}}}|{{bobscreenMulti|{{#var:tvsheetfix}}|{{{image2|}}}|{{{image3|}}}|{{{image4|}}}|{{{image5|}}}|{{{image6|}}}|{{{image7|}}}|{{{image8|}}}|{{{image9|}}}|{{{image10|}}}|width=320}}|[[File:{{#var:tvsheetfix}}|320x240px]]}}}}
 
{{BobRow||test|content={{#if:{{{charname|}}}|{{{charname}}}|{{PAGENAME}}}}|headline=yes|align=center|bgcolour={{{charcolor|}}}|fgcolour={{{textcolor|}}}}}
 
{{BobRow||test|content={{#if:{{{charname|}}}|{{{charname}}}|{{PAGENAME}}}}|headline=yes|align=center|bgcolour={{{charcolor|}}}|fgcolour={{{textcolor|}}}}}
 
{{BobRow||{{{debut|}}}|content='''First seen''': {{ #if: {{{debut|}}} | ''{{{debut}}}'' | Unknown }} {{ #if: {{{debutyear|}}} | ({{{debutyear}}}) | }}}}
 
{{BobRow||{{{debut|}}}|content='''First seen''': {{ #if: {{{debut|}}} | ''{{{debut}}}'' | Unknown }} {{ #if: {{{debutyear|}}} | ({{{debutyear}}}) | }}}}

Revision as of 07:34, 3 November 2018

Notavailable.svg
CharacterBob

Usage

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

{{CharacterBob
| image1 = 
| i1size =
| image2 = 
| i2size =
| charcolor = 
| textcolor = 
| charname = 
| debut = 
| debutyear = 
| species = 
| gender =
| age =
| height =
| weight =
| poweredby =
| basechar =
| usedin =
| series =
| episode =
| creator =
}}

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

Example

Hedgehog.jpg
Mr Hedgehog
First seen: [[Sonic Retro]] (2007)
Gender: male
Age: 9001
{{CharacterBob
| image1 = Hedgehog.jpg
| charcolor = brown
| textcolor = lime
| charname = Mr Hedgehog
| debut = [[Sonic Retro]]
| debutyear = 2007
| gender = male
| age = 9001
| height =
| weight =
}}

Super fields

{{CharacterBob
| poweredby =
| basechar =
| usedin =
}}