Actions

Template

Difference between revisions of "CharacterBob"

From Sonic Retro

 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{BobTable|
+
{{#vardefine:tvsheetfix|{{{image1|}}}{{{screen|}}}}}<!-- fix with replacetext -->{{BobTable|
{{BobRow||{{{image1|}}}|align=center|content={{ #if: {{{image1|}}} | [[File:{{{image1}}}| {{ #if: {{{i1size|}}} | {{{i1size}}}px | 110px }}]] | }}{{
+
{{BobRow||{{#var:tvsheetfix}}|align=center|default=[[File:Notavailable.svg]]<includeonly>[[Category:Missing character image]]</includeonly>|content={{#if:{{{image2|}}}|{{bobscreenMulti|{{#var:tvsheetfix}}|{{{image2|}}}|{{{image3|}}}|{{{image4|}}}|{{{image5|}}}|{{{image6|}}}|{{{image7|}}}|{{{image8|}}}|{{{image9|}}}|{{{image10|}}}|width=300}}|[[File:{{#var:tvsheetfix}}|320x240px]]}}}}
#if: {{{image2|}}} | [[File:{{{image2}}}| {{ #if: {{{i2size|}}} | {{{i2size}}}px | 110px }}]] | }} }}
+
{{BobRow||test|content={{#if:{{{charname|}}}|{{{charname}}}|{{PAGENAME}}}}|headline=yes|align=center|bgcolour={{{charcolor|}}}|fgcolour={{{textcolor|}}}}}
{{BobRow||{{{charname|}}}|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}}}) | }}}}
 
 
{{BobRow||{{{species|}}}|content='''Species''': {{{species}}}}}
 
{{BobRow||{{{species|}}}|content='''Species''': {{{species}}}}}
 
{{BobRow||{{{gender|}}}|content='''Gender''': {{{gender}}}}}
 
{{BobRow||{{{gender|}}}|content='''Gender''': {{{gender}}}}}
Line 9: Line 8:
 
{{BobRow||{{{height|}}}|content='''Height''': {{{height}}}}}
 
{{BobRow||{{{height|}}}|content='''Height''': {{{height}}}}}
 
{{BobRow||{{{weight|}}}|content='''Weight''': {{{weight}}}}}
 
{{BobRow||{{{weight|}}}|content='''Weight''': {{{weight}}}}}
}}<noinclude>
+
{{BobRow||{{{blood|}}}|content='''Blood Type''': {{{blood}}}}}
 +
{{BobRow||{{{likes|}}}|content='''Likes''': {{{likes}}}}}
 +
{{BobRow||{{{dislikes|}}}|content='''Dislikes''': {{{dislikes}}}}}
 +
{{BobRow||{{{poweredby|}}}|content='''Power source''': {{{poweredby}}}}}
 +
{{BobRow||{{{basechar|}}}|content='''Base character''': {{{basechar}}}}}
 +
{{BobRow||{{{usedin|}}}|content='''Used in''': {{{usedin}}}}}
 +
{{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 15: Line 23:
  
 
<pre>
 
<pre>
{{CharacterSheet
+
{{CharacterBob
| image1 =
+
| image1=
| i1size =
+
| image2=
| image2 =
+
| charcolor=
| i2size =
+
| textcolor=
| charcolor =  
+
| charname=
| textcolor =  
+
| debut=
| charname =  
+
| debutyear=
| debut =  
+
| species=
| debutyear =  
+
| gender=
| gender =
+
| age=
| age =
+
| height=
| height =
+
| weight=
| weight =
+
| blood=
 +
| likes=
 +
| dislikes=
 +
| poweredby= <!-- Super forms only -->
 +
| basechar= <!-- For characters who are Super forms or alternate versions, e.g. Super Sonic, Mr. Tinker or Tails Nine -->
 +
| usedin= <!-- Super forms only -->
 +
| series= <!-- For characters from other media, e.g. AoStH, Sonic X or the comic universes. -->
 +
| episode= <!-- TV characters only. -->
 +
| creator=
 
}}
 
}}
 
</pre>
 
</pre>
  
Note that i1size and i2size default the picture size to 110px if left blank.
+
===Automatic links===
 +
Links are automatically generated for the "<tt>debut</tt>" and "<tt>episode</tt>" fields. If these fields have brackets, or requires namespaces (e.g. links to Sega Retro or Wikipedia), please format them like this:
 +
<pre>| debut=Sonic the Hedgehog (16-bit){{!}}Sonic the Hedgehog
 +
| debut=sega:Rad Mobile{{!}}Rad Mobile</pre>
  
===Example===
+
 
{{CharacterSheet
+
<pre>| episode=Mombot (episode){{!}}Mombot</pre>
| image1 = Hedgehog.jpg
+
 
| charcolor = brown
+
 
| textcolor = lime
+
For comic characters, format their debut field like the following examples:
| charname = Mr Hedgehog
+
<pre>| debut=Sonic the Hedgehog 001 (Archie){{!}}Sonic the Hedgehog #1
| debut = [[Sonic Retro]]
+
| debut=Sonic the Hedgehog 001 (IDW){{!}}Sonic the Hedgehog #1
| debutyear = 2007
+
| debut=Sonic the Comic 001{{!}}Sonic the Comic #1</pre>
| gender = male
+
 
| age = 9001
+
==Example==
| height =
+
{{CharacterBob
| weight =
+
| image1=Hedgehog.jpg
 +
| charcolor=brown
 +
| textcolor=lime
 +
| charname=Mr Hedgehog
 +
| debut=Sonic Retro
 +
| debutyear=2007
 +
| gender=male
 +
| age=9001
 +
| height=
 +
| weight=
 +
| creator=[[User:Hivebrain|Hivebrain]]
 
}}
 
}}
 
<pre>
 
<pre>
{{CharacterSheet
+
{{CharacterBob
| image1 = Hedgehog.jpg
+
| image1=Hedgehog.jpg
| charcolor = brown
+
| charcolor=brown
| textcolor = lime
+
| textcolor=lime
| charname = Mr Hedgehog
+
| charname=Mr Hedgehog
| debut = [[Sonic Retro]]
+
| debut=Sonic Retro
| debutyear = 2007
+
| debutyear=2007
| gender = male
+
| gender=male
| age = 9001
+
| age=9001
| height =
+
| height=
| weight =
+
| weight=
 +
| creator=[[User:Hivebrain|Hivebrain]]
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Breakout box templates|CharacterSheet]]
+
 
 +
[[Category:Breakout box templates|CharacterBob]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:44, 13 August 2023

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=
| image2=
| charcolor=
| textcolor=
| charname=
| debut=
| debutyear=
| species=
| gender=
| age=
| height=
| weight=
| blood=
| likes=
| dislikes=
| poweredby= <!-- Super forms only -->
| basechar= <!-- For characters who are Super forms or alternate versions, e.g. Super Sonic, Mr. Tinker or Tails Nine -->
| usedin= <!-- Super forms only -->
| series= <!-- For characters from other media, e.g. AoStH, Sonic X or the comic universes. -->
| episode= <!-- TV characters only. -->
| creator=
}}

Automatic links

Links are automatically generated for the "debut" and "episode" fields. If these fields have brackets, or requires namespaces (e.g. links to Sega Retro or Wikipedia), please format them like this:

| debut=Sonic the Hedgehog (16-bit){{!}}Sonic the Hedgehog
| debut=sega:Rad Mobile{{!}}Rad Mobile


| episode=Mombot (episode){{!}}Mombot


For comic characters, format their debut field like the following examples:

| debut=Sonic the Hedgehog 001 (Archie){{!}}Sonic the Hedgehog #1
| debut=Sonic the Hedgehog 001 (IDW){{!}}Sonic the Hedgehog #1
| debut=Sonic the Comic 001{{!}}Sonic the Comic #1

Example

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