Actions

Template

Difference between revisions of "CharacterBob"

From Sonic Retro

Line 1: Line 1:
{{BobTable|
+
{{#vardefine:tvsheetfix|{{{image1|}}}{{{screen|}}}}}<!-- fix with replacetext -->{{BobTable|
{{BobRow||{{{image1|}}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:No titlescreen]]</includeonly>|content={{bobscreenMulti|{{{image1|}}}|{{{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={{bobscreenMulti|{{#var:tvsheetfix}}|{{{image2|}}}|{{{image3|}}}|{{{image4|}}}|{{{image5|}}}|{{{image6|}}}|{{{image7|}}}|{{{image8|}}}|{{{image9|}}}|{{{image10|}}}|width=320}}}}
 
{{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 14:05, 23 March 2018

Notavailable.svg
CharacterBob

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

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

Super fields

{{CharacterSheet
| poweredby =
| basechar =
| usedin =
}}