Actions

Template

Difference between revisions of "CharacterBob"

From Sonic Retro

m (Reverted edits by Spambot (talk) to last revision by Black Squirrel)
(3 intermediate revisions by the same user 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; max-width:320px;" class="toc shadow"
+
{{BobTable|
|style=" text-align:center;"| {{ #if: {{{image1|}}} | [[Image:{{{image1}}}| {{ #if: {{{i1size|}}} | {{{i1size}}}px | 110px }}]] | }}{{
+
{{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}}}}
#if: {{{image2|}}} | [[Image:{{{image2}}}| {{ #if: {{{i2size|}}} | {{{i2size}}}px | 110px }}]] | }}
+
{{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}}}) | }}}}
|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||{{{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; text-align:center; background-color: {{ #if: {{{charcolor|}}} | {{{charcolor}}} | black }}; color: {{ #if: {{{textcolor|}}} | {{{textcolor}}} | white }};"| Biography
+
{{BobRow||{{{poweredby|}}}|content='''Power source''': {{{poweredby}}}}}
|-
+
{{BobRow||{{{basechar|}}}|content='''Base character''': {{{basechar}}}}}
|align="left"|
+
{{BobRow||{{{usedin|}}}|content='''Used in''': {{{usedin}}}}}
* '''Species''': {{ #if: {{{species|}}} | {{{species}}} | ''Unknown'' }}
+
}}<includeonly>[[Category:Characters]]</includeonly><noinclude>
* '''Gender''': {{ #if: {{{gender|}}} | {{{gender}}} | ''Unknown'' }}
 
* '''Age''': {{ #if: {{{age|}}} | {{{age}}} | ''Unknown'' }}
 
* '''Height''': {{ #if: {{{height|}}} | {{{height}}} | ''Unknown'' }}
 
* '''Weight''': {{ #if: {{{weight|}}} | {{{weight}}} | ''Unknown'' }}
 
|}<noinclude>
 
  
 
==Usage==
 
==Usage==
Line 68: Line 63:
 
}}
 
}}
 
</pre>
 
</pre>
 +
====Super fields====
 +
<pre>
 +
{{CharacterSheet
 +
| poweredby =
 +
| basechar =
 +
| usedin =
 +
}}
 +
</pre>
 +
 
[[Category:Breakout box templates|CharacterSheet]]
 
[[Category:Breakout box templates|CharacterSheet]]
 
</noinclude>
 
</noinclude>

Revision as of 15:04, 20 February 2018

Notavailable.svg

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

Super fields

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