Difference between revisions of "Template:Characterbox"
From Ouroboros Portal
(testing a color add...) |
m (Typo) |
||
Line 24: | Line 24: | ||
<br /> | <br /> | ||
{{#if: {{{image|}}} | {{#if: {{{image|}}} | ||
− | |{{#ifeq: {{{image|}}}|Classified|[[Image:blankperson.png]]|[[Image:{{{image}}}|{{#ifexpr:216>={{#expr:{{{imagesize|}}}}}|{{{imagesize|}}}|216}}x432px|150x300px}}]]}} | + | |{{#ifeq: {{{image|}}}|Classified|[[Image:blankperson.png]]|[[Image:{{{image}}}|{{#if:{{{imagesize|}}}|{{#ifexpr:216>={{#expr:{{{imagesize|}}}}}|{{{imagesize|}}}|216}}x432px|150x300px}}]]}} |
|[[Image:blankperson.png]] | |[[Image:blankperson.png]] | ||
}} | }} |
Revision as of 17:45, 1 August 2009
|
Usage
Produces a formatted sidebar for character pages. See the formatted box below for a blank template for use in articles.
NOTE: Technically, all fields are optional.
Basic paramaters
- name = Registered hero/villain name
- image = JUST the image name, no formatting
- origin = Registered origin. Will link to Paragon Wiki.
- archetype = Registered archetype. Will link to Paragon Wiki.
- primary = Registered primary powerset. Will link to Paragon Wiki.
- secondary = Registered secondary powerset. Will link to Paragon Wiki.
- other = Other powers (pools, epics, temps, fictional). Can be linked to Paragon Wiki; not forced-linked.
- formal = Aliases, birth name, etc.
- gender = Gender.
- supergroup = Supergroup name.
- battlecry = The character's battle cry. (This will be hidden if there's no text.)
Advanced paramaters
- imagesize = The image defaults to 150 pixels across by 300 pixels high. This paramater allows that width to be changed, up to 216 pixels across.
Example
Example Girl
|
{{Characterbox | name = Example Girl | image = OliviaDarque1.jpg | origin = Magic | archetype = Scrapper | primary = Dark Blast | secondary = Dark Melee | other = [[paragonwiki:Leaping|Leaping]] | formal = Olivia Darque | gender = Female | supergroup = The Supergroup name | battlecry = I'm the example for this template! }}