Difference between revisions of "Template:InfoCard"
From Ouroboros Portal
m (→Examples) |
m (Attempting a new template format) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{ | + | <includeonly>{| border=0 width=99% |
| − | + | | 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}};" | |
| − | + | |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> | |
| − | + | || Level {{{level|?}}} • {{OriginIcon|{{#switch: {{{archetype|}}}|Peacebringer|Warshade|Widow|Soldier=Natural|#default={{{origin}}}}}|18px}} • {{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}}}]]'''}} | |
| − | + | |- | |
| − | + | || {{#if:{{{pool1|}}}|[[paragonwiki:{{{pool1}}}|{{{pool1}}}]] }} {{#if:{{{pool2|}}}| • [[paragonwiki:{{{pool2}}}|{{{pool2}}}]] }} {{#if:{{{pool3|}}}| • [[paragonwiki:{{{pool3}}}|{{{pool3}}}]] }} {{#if:{{{pool4|}}}| • [[paragonwiki:{{{pool4}}}|{{{pool4}}}]]}} | |
| − | + | |} | |
| − | + | | 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}};" | |
| − | + | | {{#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]]}} | |
| − | + | |} | |
| − | + | |} | |
| − | + | ||
| − | + | ||
| − | | | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | | | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | { | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | | # | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | {{ | + | |
| − | + | ||
| − | {{ | + | |
| − | + | ||
| − | { | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
<br style="clear:both;" /></includeonly> | <br style="clear:both;" /></includeonly> | ||
<noinclude> | <noinclude> | ||
| Line 99: | Line 23: | ||
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. | 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. | ||
| − | Due to the branching nature of | + | 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 == | == How to use == | ||
Fill in the following parameters: | Fill in the following parameters: | ||
| Line 111: | Line 35: | ||
| origin = | | origin = | ||
| archetype = (REQUIRED) | | archetype = (REQUIRED) | ||
| + | | align = (REQUIRED) | ||
| primary = | | primary = | ||
| secondary = | | secondary = | ||
| Line 123: | Line 48: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{InfoCard | {{InfoCard | ||
| − | | name = Hero | + | | name = Henry Hero |
| − | | realname = | + | | realname = Henry Sterling |
| portrait = | | portrait = | ||
| image = | | image = | ||
| level = 44 | | level = 44 | ||
| − | | origin = | + | | origin = Mutation |
| − | | archetype = | + | | archetype = Blaster |
| − | | primary = | + | | align = Hero |
| − | | secondary = | + | | primary = Energy Blast |
| − | | epic = | + | | secondary = Energy Manipulation |
| − | | pool1 = | + | | epic = Flame Mastery |
| + | | pool1 = Fighting | ||
| pool2 = Medicine | | pool2 = Medicine | ||
| pool3 = Speed | | pool3 = Speed | ||
| Line 140: | Line 66: | ||
</nowiki></pre> | </nowiki></pre> | ||
{{InfoCard | {{InfoCard | ||
| − | | name = Hero | + | | name = Henry Hero |
| − | | realname = | + | | realname = Henry Sterling |
| portrait = | | portrait = | ||
| image = | | image = | ||
| level = 44 | | level = 44 | ||
| − | | origin = | + | | origin = Mutation |
| − | | archetype = | + | | archetype = Blaster |
| − | | primary = | + | | align = Hero |
| − | | secondary = | + | | primary = Energy Blast |
| − | | epic = | + | | secondary = Energy Manipulation |
| − | | pool1 = | + | | epic = Flame Mastery |
| + | | pool1 = Fighting | ||
| pool2 = Medicine | | pool2 = Medicine | ||
| pool3 = Speed | | pool3 = Speed | ||
| Line 158: | Line 85: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{InfoCard | {{InfoCard | ||
| − | | name = Villain | + | | name = Victor Villain |
| − | | realname = | + | | realname = Victor Black |
| portrait = | | portrait = | ||
| image = | | image = | ||
| level = 41 | | level = 41 | ||
| − | | origin = | + | | origin = Magic |
| archetype = Mastermind | | archetype = Mastermind | ||
| + | | align = Villain | ||
| primary = Ninjas | | primary = Ninjas | ||
| secondary = Force Field | | secondary = Force Field | ||
| − | | epic = | + | | epic = Mu Mastery |
| − | | pool1 = | + | | pool1 = Concealment |
| pool2 = Medicine | | pool2 = Medicine | ||
| pool3 = Speed | | pool3 = Speed | ||
| Line 175: | Line 103: | ||
</nowiki></pre> | </nowiki></pre> | ||
{{InfoCard | {{InfoCard | ||
| − | | name = Villain | + | | name = Victor Villain |
| − | | realname = | + | | realname = Victor Black |
| portrait = | | portrait = | ||
| image = | | image = | ||
| level = 41 | | level = 41 | ||
| − | | origin = | + | | origin = Magic |
| archetype = Mastermind | | archetype = Mastermind | ||
| + | | align = Villain | ||
| primary = Ninjas | | primary = Ninjas | ||
| secondary = Force Field | | secondary = Force Field | ||
| − | | epic = | + | | epic = Mu Mastery |
| − | | pool1 = | + | | pool1 = Concealment |
| pool2 = Medicine | | pool2 = Medicine | ||
| pool3 = Speed | | pool3 = Speed | ||
| Line 193: | Line 122: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{InfoCard | {{InfoCard | ||
| − | | name = | + | | name = Robert Rogue |
| − | | level = | + | | realname = Robert Chance |
| + | | portrait = | ||
| + | | image = | ||
| + | | level = 44 | ||
| origin = Technology | | origin = Technology | ||
| − | | archetype = | + | | archetype = Stalker |
| + | | align = Rogue | ||
| + | | primary = Ninja Blade | ||
| + | | secondary = Ninjutsu | ||
| + | | epic = Mace Mastery | ||
| + | | pool1 = Fighting | ||
| + | | pool2 = Medicine | ||
| + | | pool3 = Teleportation | ||
| + | | pool4 = Presence | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
{{InfoCard | {{InfoCard | ||
| − | | name = | + | | name = Robert Rogue |
| − | | level = | + | | realname = Robert Chance |
| + | | portrait = | ||
| + | | image = | ||
| + | | level = 44 | ||
| origin = Technology | | origin = Technology | ||
| − | | archetype = | + | | archetype = Stalker |
| + | | align = Rogue | ||
| + | | primary = Ninja Blade | ||
| + | | secondary = Ninjutsu | ||
| + | | epic = Mace Mastery | ||
| + | | pool1 = Fighting | ||
| + | | pool2 = Medicine | ||
| + | | pool3 = Teleportation | ||
| + | | pool4 = Presence | ||
}} | }} | ||
<pre><nowiki> | <pre><nowiki> | ||
{{InfoCard | {{InfoCard | ||
| − | | name = | + | | name = Vivian Vigilante |
| − | | level = | + | | realname = Vivian Best |
| − | | archetype = | + | | portrait = |
| − | | pool1 = | + | | 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 | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
{{InfoCard | {{InfoCard | ||
| − | | name = | + | | name = Vivian Vigilante |
| − | | level = | + | | realname = Vivian Best |
| − | | archetype = | + | | portrait = |
| − | | pool1 = | + | | 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 | ||
}} | }} | ||
<pre><nowiki> | <pre><nowiki> | ||
{{InfoCard | {{InfoCard | ||
| − | | name = | + | | name = Linda Loyalist |
| − | | level = | + | | realname = Linda Peters |
| − | | archetype = | + | | portrait = |
| − | | primary = | + | | image = |
| − | | secondary = | + | | level = 41 |
| − | | pool1 = | + | | origin = Natural |
| − | | pool2 = Presence | + | | archetype = Dominator |
| + | | align = Loyalist | ||
| + | | primary = Electric Control | ||
| + | | secondary = Energy Assault | ||
| + | | epic = Psionic Mastery | ||
| + | | pool1 = Fighting | ||
| + | | pool2 = Medicine | ||
| + | | pool3 = Flight | ||
| + | | pool4 = Presence | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
{{InfoCard | {{InfoCard | ||
| − | | name = | + | | name = Linda Loyalist |
| − | | level = | + | | realname = Linda Peters |
| − | | archetype = | + | | portrait = |
| − | | primary = | + | | image = |
| − | | secondary = | + | | level = 41 |
| − | | pool1 = | + | | origin = Natural |
| − | | pool2 = Presence | + | | archetype = Dominator |
| + | | align = Loyalist | ||
| + | | primary = Electric Control | ||
| + | | secondary = Energy Assault | ||
| + | | epic = Psionic Mastery | ||
| + | | pool1 = Fighting | ||
| + | | pool2 = Medicine | ||
| + | | pool3 = Flight | ||
| + | | pool4 = Presence | ||
| + | }} | ||
| + | |||
| + | <pre><nowiki> | ||
| + | {{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 | ||
| + | }} | ||
| + | </nowiki></pre> | ||
| + | {{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 | ||
}} | }} | ||
[[Category:Character templates]] | [[Category:Character templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 08:42, 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
}}
|
| |||||||
{{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
}}
|
| |||||||
{{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
}}
|
| |||||||
{{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
}}
|
| |||||||
{{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
}}
|
| |||||||
{{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
}}
|
| |||||||