Difference between revisions of "Template:CharacterInfo"

From Bearscape Wiki
Jump to: navigation, search
m (Probably well-rounded)
m (No breakage or tangles!)
Line 29: Line 29:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td>'''Home World'''</td><td>{{{homeworld|{{{originalworld|???}}}}}}</td>
+
<td>'''Home&nbsp;World'''</td><td>{{{homeworld|{{{originalworld|???}}}}}}</td>
 
</tr>
 
</tr>
 
{{#if: {{{currentworld|}}}
 
{{#if: {{{currentworld|}}}
 
|<tr>
 
|<tr>
<td>'''Current World'''</td><td>{{{currentworld}}}</td>
+
<td>'''Current&nbsp;World'''</td><td>{{{currentworld}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 54: Line 54:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td>'''Hair Color'''</td><td>{{{haircolor|Unknown}}}</td>
+
<td>'''Hair&nbsp;Color'''</td><td>{{{haircolor|Unknown}}}</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td>'''Eye Color'''</td><td>{{{eyecolor|Unknown}}}</td>
+
<td>'''Eye&nbsp;Color'''</td><td>{{{eyecolor|Unknown}}}</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>

Revision as of 05:20, 6 April 2016

Unknown
AgeUnknown
BirthdayUnknown
Home World???
RaceUnknown
GenderUnknown
HeightUnknown
WeightUnknown
Hair ColorUnknown
Eye ColorUnknown
RelativesNone

This is a template for character information.

Usage

{{CharacterInfo|PARAMETERS}}

PARAMETERS is a list of items separated by the pipe symbol, |. Each parameter in the list is in the format of NAME=VALUE. The following is a list of acceptable parameters:

  • name
  • aliases
  • campaign
  • age
  • birthday
  • dateofdeath
  • homeworld (or originalworld for backwards compatibility)
  • currentworld
  • occupation
  • race
  • gender
  • height
  • weight
  • haircolor
  • eyecolor
  • relatives
  • player

If any parameter is not included, then the default value will be used instead. Because the pipe symbol is used to separate items, if you wish to include the pipe symbol as a value, use &#124; instead. The current defaults can be seen to the right, with the exceptions of Aliases, Campaign, Occupation, Current World, Date of Death and Player, which only show up if given.

In addition to the above, there are 3 additional parameters that are fields but control adding a profile image to the character information. They are as follows:

  • profileurl: This is an image URL for the profile image. If the URL starts with http or https, it'll be assumed to be external, otherwise it'll be assumed to be local to the wiki (and must be uploaded to the wiki).
  • profilesize: If given, the profile image will be locked into a maximum square of the size given (for example, 100 will max out at 100x100). If not given, it defaults to 150.
  • profilecaption: If given, it will add a caption under the profile image.

Example

{{CharacterInfo
|profileurl=http://bobandgeorge.com/images/George.png
|profilesize=100
|profilecaption=Ice Cream
|name=George
|aliases=Blitz
|campaign=Bob and George
|occupation=Superhero
|currentworld=Mega Man's
|race=Human
|gender=Male
|haircolor=Blonde
|relatives=Bob (''brother'')
}}

This renders as (see to the right):

George

Ice Cream
AliasesBlitz
CampaignBob and George
AgeUnknown
BirthdayUnknown
Birthplace???
Current LocationMega Man's
OccupationSuperhero
RaceHuman
GenderMale
HeightUnknown
WeightUnknown
Hair ColorBlonde
Eye ColorUnknown
RelativesBob (brother)