Difference between revisions of "Template:CharacterInfo"
m (More formatting to show linebreak allowances) |
m (MORE FORMATTING BECAUSE I AM A FUSSY PERFECTIONIST) |
||
| Line 95: | Line 95: | ||
* profilecaption: If given, it will add a caption under the profile image. | * profilecaption: If given, it will add a caption under the profile image. | ||
| − | + | === Example === | |
| − | + | {{CharacterInfo | |
|profileurl=http://bobandgeorge.com/images/George.png | |profileurl=http://bobandgeorge.com/images/George.png | ||
|profilesize=100 | |profilesize=100 | ||
| Line 110: | Line 110: | ||
|haircolor=Blonde | |haircolor=Blonde | ||
|relatives=Bob (''brother'') | |relatives=Bob (''brother'') | ||
| − | }} | + | }} |
| + | |||
| + | An example of how to use the template: | ||
| − | + | <div style="float: left;"> | |
| − | {{CharacterInfo | + | <pre>{{CharacterInfo |
|profileurl=http://bobandgeorge.com/images/George.png | |profileurl=http://bobandgeorge.com/images/George.png | ||
|profilesize=100 | |profilesize=100 | ||
| Line 126: | Line 128: | ||
|haircolor=Blonde | |haircolor=Blonde | ||
|relatives=Bob (''brother'') | |relatives=Bob (''brother'') | ||
| − | }}</noinclude> | + | }}</pre> |
| + | |||
| + | This renders as (see to the right):</div></noinclude> | ||
Revision as of 00:12, 11 January 2016
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
- campaign
- occupation
- age
- birthday
- dateofdeath
- originalworld
- currentworld
- race
- gender
- height
- weight
- haircolor
- eyecolor
- relatives
- player
If any parameter is not included, then the default value will be used instead. The current defaults can be seen to the right, with the exceptions of Aliases, Occupation, 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 external image URL for the profile image.
- 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
| Aliases | Blitz |
| Campaign | Bob and George |
| Age | Unknown |
| Birthday | Unknown |
| Birthplace | ??? |
| Current Location | Mega Man's |
| Occupation | Superhero |
| Race | Human |
| Gender | Male |
| Height | Unknown |
| Weight | Unknown |
| Hair Color | Blonde |
| Eye Color | Unknown |
| Relatives | Bob (brother) |
An example of how to use the template:
{{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):