Difference between revisions of "Template:Characterbox"
From Ouroboros Portal
(Yes, it was) |
|||
Line 1: | Line 1: | ||
− | {| class="infobox" style="width: 250px; text-align: left; font-size: 70%; background-color: {{#switch: {{{archetype|}}} | + | {| class="infobox" style="width: 250px; text-align: left; font-size: 70%; background-color: #{{#switch: {{{archetype|}}} |
| Blaster | | Blaster | ||
| Controller | | Controller | ||
Line 6: | Line 6: | ||
| Tanker | | Tanker | ||
| Peacebringer | | Peacebringer | ||
− | | Warshade = | + | | Warshade = ADD8E6 |
| Brute | | Brute | ||
| Stalker | | Stalker | ||
Line 13: | Line 13: | ||
| Corruptor | | Corruptor | ||
| Arachnos Widow | | Arachnos Widow | ||
− | | Arachnos Soldier = | + | | Arachnos Soldier = E9967A |
− | | | + | | 778FE1 |
}}; padding: 2px; -moz-border-radius:10px;" cellspacing="2" | }}; padding: 2px; -moz-border-radius:10px;" cellspacing="2" | ||
|- | |- | ||
− | | align="center" style="background: {{#switch: {{{archetype|}}} | + | | align="center" style="background: #{{#switch: {{{archetype|}}} |
| Blaster | | Blaster | ||
| Controller | | Controller | ||
Line 24: | Line 24: | ||
| Tanker | | Tanker | ||
| Peacebringer | | Peacebringer | ||
− | | Warshade = | + | | Warshade = ADD8E6 |
| Brute | | Brute | ||
| Stalker | | Stalker | ||
Line 31: | Line 31: | ||
| Corruptor | | Corruptor | ||
| Arachnos Widow | | Arachnos Widow | ||
− | | Arachnos Soldier = | + | | Arachnos Soldier = E9967A |
− | | | + | | cedff2 |
}};font-size: 120%; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid ; padding: 2px; -moz-border-radius:10px;" | | }};font-size: 120%; font-family: Verdana, Arial, Helvetica, sans-serif; border: 1px solid ; padding: 2px; -moz-border-radius:10px;" | | ||
{{#if: {{{name|}}}| | {{#if: {{{name|}}}| | ||
Line 44: | Line 44: | ||
}} | }} | ||
<br /> | <br /> | ||
− | {| style="background: {{#switch: {{{archetype|}}} | + | {| style="background: #{{#switch: {{{archetype|}}} |
| Blaster | | Blaster | ||
| Controller | | Controller | ||
Line 51: | Line 51: | ||
| Tanker | | Tanker | ||
| Peacebringer | | Peacebringer | ||
− | | Warshade = | + | | Warshade = ADD8E6 |
| Brute | | Brute | ||
| Stalker | | Stalker | ||
Line 58: | Line 58: | ||
| Corruptor | | Corruptor | ||
| Arachnos Widow | | Arachnos Widow | ||
− | | Arachnos Soldier = | + | | Arachnos Soldier = E9967A |
− | | | + | | cedff2 |
}}; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #778FE1; padding: 2px; -moz-border-radius:10px;" | }}; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #778FE1; padding: 2px; -moz-border-radius:10px;" | ||
|- | |- | ||
Line 106: | Line 106: | ||
{{#if: {{{battlecry|}}}| | {{#if: {{{battlecry|}}}| | ||
<br /> | <br /> | ||
− | {{{!}} style="background: {{#switch: {{{archetype|}}} | + | {{{!}} style="background: #{{#switch: {{{archetype|}}} |
| Blaster | | Blaster | ||
| Controller | | Controller | ||
Line 113: | Line 113: | ||
| Tanker | | Tanker | ||
| Peacebringer | | Peacebringer | ||
− | | Warshade = | + | | Warshade = ADD8E6 |
| Brute | | Brute | ||
| Stalker | | Stalker | ||
Line 120: | Line 120: | ||
| Corruptor | | Corruptor | ||
| Arachnos Widow | | Arachnos Widow | ||
− | | Arachnos Soldier = | + | | Arachnos Soldier = E9967A |
− | | | + | | cedff2 |
}}; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #778FE1; padding: 2px; -moz-border-radius:10px;" | }}; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 120%; border: 1px solid #778FE1; padding: 2px; -moz-border-radius:10px;" | ||
{{!}}- | {{!}}- |
Revision as of 18:00, 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! }}