Actions

Template

Difference between revisions of "CharacterBob"

From Sonic Retro

m (Fixing category for sorting purposes)
(Blood type added)
(35 intermediate revisions by 10 users not shown)
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;"
+
{{#vardefine:tvsheetfix|{{{image1|}}}{{{screen|}}}}}<!-- fix with replacetext -->{{BobTable|
| {{ #if: {{{image1|}}} | [[Image:{{{image1}}}|110px]] | }}{{
+
{{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=300}}|[[File:{{#var:tvsheetfix}}|320x240px]]}}}}
#if: {{{image2|}}} | [[Image:{{{image2}}}|110px]] | }}
+
{{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}}}) | }}}}
|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}} }}'''
+
{{BobRow||{{{species|}}}|content='''Species''': {{{species}}}}}
|-
+
{{BobRow||{{{gender|}}}|content='''Gender''': {{{gender}}}}}
|style="padding: 0.3em; line-height: 1.5em;" |
+
{{BobRow||{{{age|}}}|content='''Age''': {{{age}}}}}
'''First Seen''': {{ #if: {{{debut|}}} | ''{{{debut}}}'' | Unknown }} {{ #if: {{{debutyear|}}} | ({{{debutyear}}}) | }}
+
{{BobRow||{{{height|}}}|content='''Height''': {{{height}}}}}
|-
+
{{BobRow||{{{weight|}}}|content='''Weight''': {{{weight}}}}}
|style="padding: 0.3em; font-family: sans-serif; font-size: 0.9em; background-color: {{ #if: {{{charcolor|}}} | {{{charcolor}}} | black }}; color: {{ #if: {{{textcolor|}}} | {{{textcolor}}} | white }};"| Biography
+
{{BobRow||{{{blood|}}}|content='''Blood Type''': {{{blood}}}}}
|-
+
{{BobRow||{{{likes|}}}|content='''Likes''': {{{likes}}}}}
|align="left"|
+
{{BobRow||{{{dislikes|}}}|content='''Dislikes''': {{{dislikes}}}}}
* '''Species''': {{ #if: {{{species|}}} | {{{species}}} | ''Unknown'' }}
+
{{BobRow||{{{poweredby|}}}|content='''Power source''': {{{poweredby}}}}}
* '''Gender''': {{ #if: {{{gender|}}} | {{{gender}}} | ''Unknown'' }}
+
{{BobRow||{{{basechar|}}}|content='''Base character''': {{{basechar}}}}}
* '''Age''': {{ #if: {{{age|}}} | {{{age}}} | ''Unknown'' }}
+
{{BobRow||{{{usedin|}}}|content='''Used in''': {{{usedin}}}}}
|}<noinclude>
+
{{BobRow||{{{series|}}}|content='''Series''': ''[[{{{series}}}]]''}}
 +
{{BobRow||{{{episode|}}}|content='''First seen''': [[{{{episode}}}]]}}
 +
{{BobRow||{{{creator|}}}|content='''Created by''': {{{creator}}}}}
 +
}}<includeonly>{{ #if: {{{series|}}} | [[Category:{{{series}}} characters]] | [[Category:Characters]] }}</includeonly><noinclude>
  
 
==Usage==
 
==Usage==
Line 20: Line 23:
  
 
<pre>
 
<pre>
{{CharacterSheet
+
{{CharacterBob
 
| image1 =  
 
| image1 =  
 +
| i1size =
 
| image2 =  
 
| image2 =  
 +
| i2size =
 
| charcolor =  
 
| charcolor =  
 
| textcolor =  
 
| textcolor =  
Line 28: Line 33:
 
| debut =  
 
| debut =  
 
| debutyear =  
 
| debutyear =  
 +
| species =
 
| gender =
 
| gender =
 
| age =
 
| age =
 +
| height =
 +
| weight =
 +
| blood =
 +
| likes =
 +
| dislikes =
 +
| poweredby =
 +
| basechar =
 +
| usedin =
 +
| series =
 +
| episode =
 +
| creator =
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
Note that i1size and i2size default the picture size to 110px if left blank.
  
 
===Example===
 
===Example===
{{CharacterSheet
+
{{CharacterBob
 
| image1 = Hedgehog.jpg
 
| image1 = Hedgehog.jpg
 
| charcolor = brown
 
| charcolor = brown
Line 43: Line 62:
 
| gender = male
 
| gender = male
 
| age = 9001
 
| age = 9001
 +
| height =
 +
| weight =
 
}}
 
}}
 
<pre>
 
<pre>
{{CharacterSheet
+
{{CharacterBob
 
| image1 = Hedgehog.jpg
 
| image1 = Hedgehog.jpg
 
| charcolor = brown
 
| charcolor = brown
Line 54: Line 75:
 
| gender = male
 
| gender = male
 
| age = 9001
 
| age = 9001
 +
| height =
 +
| weight =
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Breakout Box Templates|C]]
+
====Super fields====
 +
<pre>
 +
{{CharacterBob
 +
| poweredby =
 +
| basechar =
 +
| usedin =
 +
}}
 +
</pre>
 +
 
 +
[[Category:Breakout box templates|CharacterBob]]
 
</noinclude>
 
</noinclude>

Revision as of 16:01, 16 March 2020

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 =
| blood =
| likes =
| dislikes =
| 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 =
}}