Difference between revisions of "Template:InfoCard"

From Ouroboros Portal
Jump to: navigation, search
m (Attempting a new template format)
m
Line 1: Line 1:
<includeonly>{| border=0 width=99%
+
<includeonly>
 +
{| border=0 width=99%
 
| width=75% valign="top" |
 
| width=75% valign="top" |
{| border=0 style="background-color: {{#switch: {{{align|}}}|Hero|hero|blue=#CFF|Villain|villain|red=#FCC|Rogue|rogue=#FFC|Vigilante|vigilante=#F93|Loyalist|loyalist|Resistance|resistance=#9F9|#default=#CCC}}; border:medium double {{#switch: {{{align|}}}|Hero|hero|blue=#00C|Villain|villain|red=#600|Rogue|rogue=#990|Vigilante|vigilante=#630|Loyalist|loyalist|Resistance|resistance=#060|#default=#333}};"
+
{| border=0 style="background-color: #{{#switch: {{{align|}}}|Hero|hero|blue=CFF|Villain|villain|red=FCC|Rogue|rogue=FFC|Vigilante|vigilante=F93|Loyalist|loyalist|Resistance|resistance=9F9|#default=CCC}}; border:medium double #{{#switch: {{{align|}}}|Hero|hero|blue=00C|Villain|villain|red=600|Rogue|rogue=990|Vigilante|vigilante=630|Loyalist|loyalist|Resistance|resistance=060|#default=333}};"
|align=left style="color:white; background=color: {{#switch: {{{align|}}}|Hero|hero|blue=#00C|Villain|villain|red=#600|Rogue|rogue=#990|Vigilante|vigilante=#630|Loyalist|loyalist|Resistance|resistance=#060|#default=#333}};" colspan=2 | [[Image:{{#switch: {{{align|}}}|Hero|hero|blue=Align Status Hero|Villain|villain|red=Align Status Villain|Rogue|rogue=Align Status Rogue|Vigilante|vigilante=Align Status Vigilante|Loyalist|loyalist=Align Status Loyalist|Resistance|resistance=Align Status Resistance|#default=Icon clue generic}}.png|18px]] '''{{{name|Name}}}''' {{#if:{{{realname|}}}|({{{realname}}})}}
+
|align=left style="color:white; background=color: #{{#switch: {{{align|}}}|Hero|hero|blue=00C|Villain|villain|red=600|Rogue|rogue=990|Vigilante|vigilante=630|Loyalist|loyalist|Resistance|resistance=060|#default=333}};" colspan=2 | [[Image:{{#switch: {{{align|}}}|Hero|hero|blue=Align Status Hero|Villain|villain|red=Align Status Villain|Rogue|rogue=Align Status Rogue|Vigilante|vigilante=Align Status Vigilante|Loyalist|loyalist=Align Status Loyalist|Resistance|resistance=Align Status Resistance|#default=Icon clue generic}}.png|18px]] '''{{{name|Name}}}''' {{#if:{{{realname|}}}|({{{realname}}})}}
 
|-
 
|-
| rowspan=3 width=2% | <div style="border:medium ridge {{#switch: {{{align|}}}|Hero|hero|blue=#00C|Villain|villain|red=#600|Rogue|rogue=#990|Vigilante|vigilante=#630|Loyalist|loyalist|Resistance|resistance=#060|#default=#333}};">{{#if:{{{image|}}}|{{{image|[[Image:Icon clue generic.png|80px]]}}}|[[Image:Icon clue generic.png|80px]]}}</div>
+
| rowspan=3 width=2% | <div style="border:medium ridge #{{#switch: {{{align|}}}|Hero|hero|blue=00C|Villain|villain|red=600|Rogue|rogue=990|Vigilante|vigilante630|Loyalist|loyalist|Resistance|resistance=#060|#default=333}};">{{#if:{{{image|}}}|{{{image|[[Image:Icon clue generic.png|80px]]}}}|[[Image:Icon clue generic.png|80px]]}}</div>
 
|| Level {{{level|?}}} &#149; {{OriginIcon|{{#switch: {{{archetype|}}}|Peacebringer|Warshade|Widow|Soldier=Natural|#default={{{origin}}}}}|18px}} &#149; {{ArchetypeIcon|{{{archetype}}}|18px}}
 
|| Level {{{level|?}}} &#149; {{OriginIcon|{{#switch: {{{archetype|}}}|Peacebringer|Warshade|Widow|Soldier=Natural|#default={{{origin}}}}}|18px}} &#149; {{ArchetypeIcon|{{{archetype}}}|18px}}
 
|-
 
|-
|| [[paragonwiki:{{#switch: {{{archetype|}}}|Peacebringer=Luminous Blast|Warshade=Umbral Blast|#default={{{primary}}}}}]] / [[paragonwiki:{{#switch: {{{archetype|}}}|Peacebringer=Luminous Aura|Warshade=Umbral Aura|#default={{{secondary}}}}}]]<br/> {{#if:{{{epic|}}}|'''[[paragonwiki:{{{epic}}}|{{{epic}}}]]'''}}
+
|| [[paragonwiki:{{#switch: {{{archetype|}}}|Peacebringer=Luminous Blast|Warshade=Umbral Blast|#default={{{primary}}}}}|]] / [[paragonwiki:{{#switch: {{{archetype|}}}|Peacebringer=Luminous Aura|Warshade=Umbral Aura|#default={{{secondary}}}}}|]]<br/> {{#if:{{{epic|}}}|'''[[paragonwiki:{{{epic}}}|]]'''}}
 
|-
 
|-
|| {{#if:{{{pool1|}}}|[[paragonwiki:{{{pool1}}}|{{{pool1}}}]] }}&#160;{{#if:{{{pool2|}}}| &#149; [[paragonwiki:{{{pool2}}}|{{{pool2}}}]] }}&#160;{{#if:{{{pool3|}}}| &#149; [[paragonwiki:{{{pool3}}}|{{{pool3}}}]] }}&#160;{{#if:{{{pool4|}}}| &#149; [[paragonwiki:{{{pool4}}}|{{{pool4}}}]]}}
+
|| {{#if:{{{pool1|}}}|[[paragonwiki:{{{pool1}}}|]] }}&#160;{{#if:{{{pool2|}}}| &#149; [[paragonwiki:{{{pool2}}}|]] }}&#160;{{#if:{{{pool3|}}}| &#149; [[paragonwiki:{{{pool3}}}|]] }}&#160;{{#if:{{{pool4|}}}| &#149; [[paragonwiki:{{{pool4}}}|]]}}
 
|}
 
|}
 
| width=25% valign="middle" align="center" |
 
| width=25% valign="middle" align="center" |
{| border=0 style="background-color:white; border:medium inset {{#switch: {{{align|}}}|Hero|hero|blue=#CFF|Villain|villain|red=#FCC|Rogue|rogue=#FFC|Vigilante|vigilante=#F93|Loyalist|loyalist|Resistance|resistance=#9F9|#default=#CCC}};"
+
{| border=0 style="background-color:white; border:medium inset #{{#switch: {{{align|}}}|Hero|hero|blue=CFF|Villain|villain|red=FCC|Rogue|rogue=FFC|Vigilante|vigilante=F93|Loyalist|loyalist|Resistance|resistance=9F9|#default=CCC}};"
 
| {{#if:{{{portrait|}}}|{{{portrait}}}|[[Image:{{#switch: {{{align|}}}|Hero|hero|blue=Align Status Hero|Villain|villain|red=Align Status Villain|Rogue|rogue=Align Status Rogue|Vigilante|vigilante=Align Status Vigilante|Loyalist|loyalist=Align Status Loyalist|Resistance|resistance=Align Status Resistance|#default=Icon clue generic}}.png]]}}
 
| {{#if:{{{portrait|}}}|{{{portrait}}}|[[Image:{{#switch: {{{align|}}}|Hero|hero|blue=Align Status Hero|Villain|villain|red=Align Status Villain|Rogue|rogue=Align Status Rogue|Vigilante|vigilante=Align Status Vigilante|Loyalist|loyalist=Align Status Loyalist|Resistance|resistance=Align Status Resistance|#default=Icon clue generic}}.png]]}}
 
|}
 
|}

Revision as of 08:47, 8 January 2011


Overview

A switch-based template that detects your archetype and changes color accordingly.

Kheldians need specify only their archetype; the template will automatically fill in their origin and powersets. However, if they wish to specify a different origin, they may do so.

VEATs may specify only their archetype; the template will automatically fill in their origin. If they wish to specify a different origin, they may do so. Due to the branching nature of VEAT powersets, they must be specified manually.

How to use

Fill in the following parameters:

{{InfoCard
| name =     
| realname =  (optional)
| portrait =  (optional, use full URL or image syntax)
| image =     (optional, use full URL or image syntax)
| level = 
| origin = 
| archetype = (REQUIRED)
| align =     (REQUIRED)
| primary = 
| secondary = 
| epic =      (optional)
| pool1 =     (optional)
| pool2 =     (optional)
| pool3 =     (optional)
| pool4 =     (optional)
}}

Examples

{{InfoCard
| name = Henry Hero
| realname = Henry Sterling
| portrait = 
| image = 
| level = 44
| origin = Mutation
| archetype = Blaster
| align = Hero
| primary = Energy Blast
| secondary = Energy Manipulation
| epic = Flame Mastery
| pool1 = Fighting
| pool2 = Medicine
| pool3 = Speed
| pool4 = Presence
}}
CoH Game Icon.png Henry Hero (Henry Sterling)
Icon clue generic.png
Level 44 • Originicon mutation.pngArchetypeicon blaster.png
Energy Blast / Energy Manipulation
Flame Mastery
Fighting • Medicine • Speed • Presence
CoH Game Icon.png



{{InfoCard
| name = Victor Villain
| realname = Victor Black
| portrait = 
| image = 
| level = 41
| origin = Magic
| archetype = Mastermind
| align = Villain
| primary = Ninjas
| secondary = Force Field
| epic = Mu Mastery
| pool1 = Concealment
| pool2 = Medicine
| pool3 = Speed
| pool4 = Presence
}}
CoV Game Icon.png Victor Villain (Victor Black)
Icon clue generic.png
Level 41 • Originicon magic.pngV archetypeicon mastermind.png
Ninjas / Force Field
Mu Mastery
Concealment • Medicine • Speed • Presence
CoV Game Icon.png



{{InfoCard
| name = Robert Rogue
| realname = Robert Chance
| portrait = 
| image = 
| level = 44
| origin = Technology
| archetype = Stalker
| align = Rogue
| primary = Ninja Blade
| secondary = Ninjutsu
| epic = Mace Mastery
| pool1 = Fighting
| pool2 = Medicine
| pool3 = Teleportation
| pool4 = Presence
}}
CoV Game Icon.png Robert Rogue (Robert Chance)
Icon clue generic.png
Level 44 • Originicon technology.pngV archetypeicon stalker.png
Ninja Blade / Ninjutsu
Mace Mastery
Fighting • Medicine • Teleportation • Presence
CoV Game Icon.png



{{InfoCard
| name = Vivian Vigilante
| realname = Vivian Best
| portrait = 
| image = 
| level = 41
| origin = Science
| archetype = Controller
| align = Vigilante
| primary = Plant Control
| secondary = Empathy
| epic = Energy Mastery
| pool1 = Fighting
| pool2 = Medicine
| pool3 = Flight
| pool4 = Presence
}}
CoH Game Icon.png Vivian Vigilante (Vivian Best)
Icon clue generic.png
Level 41 • Originicon science.pngArchetypeicon controller.png
Plant Control / Empathy
Energy Mastery
Fighting • Medicine • Flight • Presence
CoH Game Icon.png



{{InfoCard
| name = Linda Loyalist
| realname = Linda Peters
| portrait = 
| image = 
| level = 41
| origin = Natural
| archetype = Dominator
| align = Loyalist
| primary = Electric Control
| secondary = Energy Assault
| epic = Psionic Mastery
| pool1 = Fighting
| pool2 = Medicine
| pool3 = Flight
| pool4 = Presence
}}
CoV Game Icon.png Linda Loyalist (Linda Peters)
Icon clue generic.png
Level 41 • Originicon natural.pngV archetypeicon dominator.png
Electric Control / Energy Assault
Psionic Mastery
Fighting • Medicine • Flight • Presence
CoV Game Icon.png



{{InfoCard
| name = Roy Resistance
| realname = Roy Wilde
| portrait = 
| image = 
| level = 41
| origin = Natural
| archetype = Defender
| align = Resistance
| primary = Trick Arrow
| secondary = Archery
| epic = Soul Mastery
| pool1 = Leadership
| pool2 = Medicine
| pool3 = Teleportation
| pool4 = Presence
}}
CoH Game Icon.png Roy Resistance (Roy Wilde)
Icon clue generic.png
Level 41 • Originicon natural.pngArchetypeicon defender.png
Trick Arrow / Archery
Soul Mastery
Leadership • Medicine • Teleportation • Presence
CoH Game Icon.png