Template:CharacterBob: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Added gender parameter.) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{{BobRow|headline=y|align=center|bgcolor={{{border}}}|textcolor={{{color|#fff}}}|title={{#if: {{{title|}}} | {{{title}}} | {{SUBPAGENAME}} }} }} | {{BobRow|headline=y|align=center|bgcolor={{{border}}}|textcolor={{{color|#fff}}}|title={{#if: {{{title|}}} | {{{title}}} | {{SUBPAGENAME}} }} }} | ||
{{ #if: {{{noimg|}}} | | {{BobRow|headline=y|align=center|title= | {{ #if: {{{noimg|}}} | | {{BobRow|headline=y|align=center|title= | ||
{{imageexists | {{imageexists | ||
| file = {{#if: {{{bobimg|}}} | {{{bobimg}}} | {{PAGENAME}}.png }} | | file = {{#if: {{{bobimg|}}} | {{{bobimg}}} | {{PAGENAME}}.png }} | ||
Line 8: | Line 7: | ||
| class = {{#if: {{{imgclass|}}} | {{{imgclass}}} | }} | | class = {{#if: {{{imgclass|}}} | {{{imgclass}}} | }} | ||
| caption= {{#if: {{{imgcap|}}} | {{{imgcap}}} | }} | | caption= {{#if: {{{imgcap|}}} | {{{imgcap}}} | }} | ||
}}}}}} | |||
{{#if: {{{name|}}} | {{BobRow|align=left|Full name:|{{{name}}}}} | }} | {{#if: {{{name|}}} | {{BobRow|align=left|Full name:|{{{name}}}}} | }} | ||
{{#if: {{{nickname|}}} | {{BobRow|align=left|Other names:|{{{nickname}}}}} | }} | |||
{{#if: {{{species|}}} | {{BobRow|align=left|Species:|{{{species}}}}} | }} | {{#if: {{{species|}}} | {{BobRow|align=left|Species:|{{{species}}}}} | }} | ||
{{#if: {{{gender|}}} | {{BobRow|align=left|Gender:|{{{gender}}}}} | }} | |||
{{#if: {{{firstappearance|}}} | {{BobRow|align=left|First appearance:|{{{firstappearance}}}}} | }} | {{#if: {{{firstappearance|}}} | {{BobRow|align=left|First appearance:|{{{firstappearance}}}}} | }} | ||
{{#if: {{{lastappearance|}}} | {{BobRow|align=left|Latest appearance:|{{{lastappearance}}}}} | }} | {{#if: {{{lastappearance|}}} | {{BobRow|align=left|Latest appearance:|{{{lastappearance}}}}} | }} | ||
{{#if: {{{actor|}}} | {{BobRow|align=left|Portrayed by:|{{{actor}}}}} | }} | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{CharacterBob | {{CharacterBob | ||
Line 19: | Line 21: | ||
|bobimg=Render_England_Seaside_Costume_Swimmer_Boy_Front.png | |bobimg=Render_England_Seaside_Costume_Swimmer_Boy_Front.png | ||
|name=Hector N.A.O.M.I | |name=Hector N.A.O.M.I | ||
|nickname=Hector Naomi, Big Stinky Poopoo Head <small>(by a mean ol' [[User:Sackinator20|bully]])</small> | |||
|species=Funny fella | |species=Funny fella | ||
|firstappearance=Yesterday | |firstappearance=Yesterday | ||
|lastappearance=Tomorrow | |lastappearance=Tomorrow | ||
|actor=[[Steven Isbell]] | |||
}} | }} | ||
Use this to provide a brief summary of information about characters. | Use this to provide a brief summary of information about characters. | ||
==Usage== | ==Usage== | ||
<pre>{{ | <pre> | ||
| noimg= Use this to omit the character render or placeholder image. Generally this shouldn't be used outside of specific circumstances, i.e. no | {{CharacterBob | ||
| noimg= y | |||
| bobimg= | |||
| imgwidth= | |||
| imgcap= | |||
| border= | |||
| color= | |||
| title= | |||
| name= | |||
| nickname= | |||
| species= | |||
| gender= | |||
| firstappearance= | |||
| lastappearance= | |||
| actor= | |||
}} | |||
</pre> | |||
===Legend=== | |||
* <code>noimg</code>: Use this to omit the character render or placeholder image. Generally this shouldn't be used outside of specific circumstances, i.e. no art exists. | |||
* <code>bobimg</code>: Image filename (e.g. Placeholder.png). This is typically a render of the character (if one exists). | |||
* <code>imgwidth</code>: Image width, in pixels. | |||
* <code>imgcap</code>: Description for the bob's image that will appear when hovering the mouse cursor over it. | |||
* <code>border</code>: Allows you to change the colour of the border, if you want it to be themed around a certain game. Hope you know your hex colours! | |||
* <code>color</code>: Change the colour of the bob's heading text. Typical use case would be changing it to black (#000) if the border colour makes the header hard to see. | |||
* <code>title</code>: The character's name, which will appear on the bob's header. This defaults to the page's title; it's only necessary to change this if the article's name has a disambiguation term, e.g. "Toggle (character)" | |||
* <code>name</code>: The character's full name. | |||
* <code>nickname</code>: Alternate names for the character, such as different formatting or nicknames. | |||
* <code>species</code>: What kind of creature is this character meant to be? | |||
* <code>gender</code>: What is this character's gender? (male, female, non-binary, etc) | |||
* <code>firstappearance</code>: The first official game or piece of media this character appeared in. | |||
* <code>lastappearance</code>: The last official game or piece of media this character was featured in. | |||
* <code>actor</code>: The English voice actor who portrayed this character, as listed in the credits. Omit if this character has no voice, or has only spoken with a non-human Gibberish Voice. | |||
The example on | The example on this page was made with the following code: | ||
<pre> | <pre> | ||
{{CharacterBob | {{CharacterBob | ||
Line 46: | Line 70: | ||
|bobimg=Render_England_Seaside_Costume_Swimmer_Boy_Front.png | |bobimg=Render_England_Seaside_Costume_Swimmer_Boy_Front.png | ||
|name=Hector N.A.O.M.I | |name=Hector N.A.O.M.I | ||
|nickname=Hector Naomi, Big Stinky Poopoo Head <small>(by a mean ol' [[User:Sackinator20|bully]])</small> | |||
|species=Funny fella | |species=Funny fella | ||
|firstappearance=Yesterday | |firstappearance=Yesterday | ||
|lastappearance=Tomorrow | |lastappearance=Tomorrow | ||
|actor=[[Steven Isbell]] | |||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Breakout box templates]]</noinclude> | [[Category:Breakout box templates]]</noinclude> |
Latest revision as of 03:28, 20 August 2024
Hector | |
---|---|
Full name: | Hector N.A.O.M.I |
Other names: | Hector Naomi, Big Stinky Poopoo Head (by a mean ol' bully) |
Species: | Funny fella |
First appearance: | Yesterday |
Latest appearance: | Tomorrow |
Portrayed by: | Steven Isbell |
Use this to provide a brief summary of information about characters.
Usage
{{CharacterBob | noimg= y | bobimg= | imgwidth= | imgcap= | border= | color= | title= | name= | nickname= | species= | gender= | firstappearance= | lastappearance= | actor= }}
Legend
noimg
: Use this to omit the character render or placeholder image. Generally this shouldn't be used outside of specific circumstances, i.e. no art exists.bobimg
: Image filename (e.g. Placeholder.png). This is typically a render of the character (if one exists).imgwidth
: Image width, in pixels.imgcap
: Description for the bob's image that will appear when hovering the mouse cursor over it.border
: Allows you to change the colour of the border, if you want it to be themed around a certain game. Hope you know your hex colours!color
: Change the colour of the bob's heading text. Typical use case would be changing it to black (#000) if the border colour makes the header hard to see.title
: The character's name, which will appear on the bob's header. This defaults to the page's title; it's only necessary to change this if the article's name has a disambiguation term, e.g. "Toggle (character)"name
: The character's full name.nickname
: Alternate names for the character, such as different formatting or nicknames.species
: What kind of creature is this character meant to be?gender
: What is this character's gender? (male, female, non-binary, etc)firstappearance
: The first official game or piece of media this character appeared in.lastappearance
: The last official game or piece of media this character was featured in.actor
: The English voice actor who portrayed this character, as listed in the credits. Omit if this character has no voice, or has only spoken with a non-human Gibberish Voice.
The example on this page was made with the following code:
{{CharacterBob |title=Hector |border=#888 |bobimg=Render_England_Seaside_Costume_Swimmer_Boy_Front.png |name=Hector N.A.O.M.I |nickname=Hector Naomi, Big Stinky Poopoo Head <small>(by a mean ol' [[User:Sackinator20|bully]])</small> |species=Funny fella |firstappearance=Yesterday |lastappearance=Tomorrow |actor=[[Steven Isbell]] }}