Difference between revisions of "Template:CharacterInfo"

From Bearscape Wiki
Jump to: navigation, search
(Created a template for character information.)
 
(Added information about the template for anyone wanting to view it.)
Line 29: Line 29:
 
|'''Relatives'''||{{{relatives|None}}}
 
|'''Relatives'''||{{{relatives|None}}}
 
|}
 
|}
 +
<noinclude>
 +
This is a template for character information.
 +
 +
To utilize it, add the following to a page:
 +
 +
<nowiki>{{CharacterInfo|PARAMETERS}}</nowiki>
 +
 +
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
 +
* occupation
 +
* birthday
 +
* dateofdeath
 +
* originalworld
 +
* currentworld
 +
* race
 +
* gender
 +
* height
 +
* weight
 +
* haircolor
 +
* eyecolor
 +
* relatives
 +
 +
If any parameter is not included, then the default value will be used instead. The current defaults can be seen to the right.
 +
 +
An example of how to use the template:
 +
 +
<nowiki>{{CharacterInfo|name=George|aliases=Blitz|occupation=Superhero|currentworld=Mega Man's|race=Human|gender=Male|haircolor=Blonde|relatives=Bob (''brother'')}}</nowiki>
 +
 +
This renders as (see to the right):
 +
{{CharacterInfo|name=George|aliases=Blitz|occupation=Superhero|currentworld=Mega Man's|race=Human|gender=Male|haircolor=Blonde|relatives=Bob (''brother'')}}
 +
</noinclude>

Revision as of 04:11, 4 June 2015

Unknown
Name Unknown
Aliases N/A
Occupation N/A
Birthday Unknown
Date of Death N/A
Original World ???
Current World ???
Race Unknown
Gender Unknown
Height Unknown
Weight Unknown
Hair Color Unknown
Eye Color Unknown
Relatives None

This is a template for character information.

To utilize it, add the following to a page:

{{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
  • occupation
  • birthday
  • dateofdeath
  • originalworld
  • currentworld
  • race
  • gender
  • height
  • weight
  • haircolor
  • eyecolor
  • relatives

If any parameter is not included, then the default value will be used instead. The current defaults can be seen to the right.

An example of how to use the template:

{{CharacterInfo|name=George|aliases=Blitz|occupation=Superhero|currentworld=Mega Man's|race=Human|gender=Male|haircolor=Blonde|relatives=Bob (''brother'')}}

This renders as (see to the right):

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