Difference between revisions of "Template:InfoCard"

From Ouroboros Portal
Jump to: navigation, search
m
m
Line 1: Line 1:
 
<includeonly>{{#switch: {{{archetype|}}} | Blaster | Defender | Controller | Scrapper
 
<includeonly>{{#switch: {{{archetype|}}} | Blaster | Defender | Controller | Scrapper
 
| Tanker =
 
| Tanker =
{{{!}} border=0 width=99% style="background-color:powderblue; border:medium double darkblue;"
+
{{{!}} border=0 width=75% style="background-color:powderblue; border:medium double darkblue;"
 
{{!}} align=left style="color:white; background-color:darkblue;" colspan=2 {{!}} [[Image:CoH Game Icon.png{{!}}18px]] '''{{{name|Name}}}''' {{#if:{{{realname|}}}|({{{realname}}})}}
 
{{!}} align=left style="color:white; background-color:darkblue;" colspan=2 {{!}} [[Image:CoH Game Icon.png{{!}}18px]] '''{{{name|Name}}}''' {{#if:{{{realname|}}}|({{{realname}}})}}
{{!}} rowspan=4 width=25% bgcolor="white" valign="middle" align="center" {{!}} {{#if:{{{portrait|}}}|{{{portrait}}}|(No photo)}}
 
{{!}}-
 
 
{{!}} rowspan=3 width=2% {{!}} <div style="border:medium ridge darkblue;">{{#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 darkblue;">{{#if:{{{image|}}}|{{{image|[[Image:Icon clue generic.png|80px]]}}}|[[Image:Icon clue generic.png|80px]]}}</div>
 
{{!}}{{!}} Level {{{level|?}}} &#149; {{OriginIcon|{{{origin}}}|18px}} &#149; {{ArchetypeIcon|{{{archetype}}}|18px}}
 
{{!}}{{!}} Level {{{level|?}}} &#149; {{OriginIcon|{{{origin}}}|18px}} &#149; {{ArchetypeIcon|{{{archetype}}}|18px}}
Line 11: Line 9:
 
{{!}}-
 
{{!}}-
 
{{!}}{{!}} {{#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}}}|{{{pool1}}}]] }}&#160;{{#if:{{{pool2|}}}| &#149; [[paragonwiki:{{{pool2}}}|{{{pool2}}}]] }}&#160;{{#if:{{{pool3|}}}| &#149; [[paragonwiki:{{{pool3}}}|{{{pool3}}}]] }}&#160;{{#if:{{{pool4|}}}| &#149; [[paragonwiki:{{{pool4}}}|{{{pool4}}}]]}}
 +
{{!}}}
 +
{{{!}} border=0 width=25% style="background-color:white; border:medium inset darkblue;"
 +
{{!}} valign="middle" align="center"  {{#if:{{{portrait|}}}|{{{portrait}}}|(No photo)}}
 
{{!}}}
 
{{!}}}
 
| Peacebringer =
 
| Peacebringer =
{{{!}} border=0 width=99% style="background-color:powderblue; border:medium double darkblue;"
+
{{{!}} border=0 width=75% style="background-color:powderblue; border:medium double darkblue;"
 
{{!}} align=left style="color:white; background-color:darkblue;" colspan=2 {{!}} [[Image:CoH Game Icon.png{{!}}18px]] '''{{{name|Name}}}''' {{#if:{{{realname|}}}|({{{realname}}})}}
 
{{!}} align=left style="color:white; background-color:darkblue;" colspan=2 {{!}} [[Image:CoH Game Icon.png{{!}}18px]] '''{{{name|Name}}}''' {{#if:{{{realname|}}}|({{{realname}}})}}
{{!}} rowspan=4 width=25% bgcolor="white" valign="middle" align="center" {{!}} {{#if:{{{portrait|}}}|{{{portrait}}}|(No photo)}}
 
{{!}}-
 
 
{{!}} rowspan=3 width=2% {{!}} <div style="border:medium ridge darkblue;">{{#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 darkblue;">{{#if:{{{image|}}}|{{{image|[[Image:Icon clue generic.png|80px]]}}}|[[Image:Icon clue generic.png|80px]]}}</div>
 
{{!}}{{!}} Level {{{level|?}}} &#149; {{OriginIcon|{{#if:{{{origin|}}}|{{{origin}}}|Natural}}|18px}} &#149; {{ArchetypeIcon|Peacebringer|18px}}
 
{{!}}{{!}} Level {{{level|?}}} &#149; {{OriginIcon|{{#if:{{{origin|}}}|{{{origin}}}|Natural}}|18px}} &#149; {{ArchetypeIcon|Peacebringer|18px}}
Line 23: Line 22:
 
{{!}}-
 
{{!}}-
 
{{!}}{{!}} {{#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}}}|{{{pool1}}}]] }}&#160;{{#if:{{{pool2|}}}| &#149; [[paragonwiki:{{{pool2}}}|{{{pool2}}}]] }}&#160;{{#if:{{{pool3|}}}| &#149; [[paragonwiki:{{{pool3}}}|{{{pool3}}}]] }}&#160;{{#if:{{{pool4|}}}| &#149; [[paragonwiki:{{{pool4}}}|{{{pool4}}}]]}}
 +
{{!}}}
 +
{{{!}} border=0 width=25% style="background-color:white; border:medium inset darkblue;"
 +
{{!}} valign="middle" align="center"  {{#if:{{{portrait|}}}|{{{portrait}}}|(No photo)}}
 
{{!}}}
 
{{!}}}
 
| Warshade =
 
| Warshade =
{{{!}} border=0 width=99% style="background-color:powderblue; border:medium double darkblue;"
+
{{{!}} border=0 width=75% style="background-color:powderblue; border:medium double darkblue;"
 
{{!}} align=left style="color:white; background-color:darkblue;" colspan=2 {{!}} [[Image:CoH Game Icon.png{{!}}18px]] '''{{{name|Name}}}''' {{#if:{{{realname|}}}|({{{realname}}})}}
 
{{!}} align=left style="color:white; background-color:darkblue;" colspan=2 {{!}} [[Image:CoH Game Icon.png{{!}}18px]] '''{{{name|Name}}}''' {{#if:{{{realname|}}}|({{{realname}}})}}
{{!}} rowspan=4 width=25% bgcolor="white" valign="middle" align="center" {{!}} {{#if:{{{portrait|}}}|{{{portrait}}}|(No photo)}}
 
{{!}}-
 
 
{{!}} rowspan=3 width=2% {{!}} <div style="border:medium ridge darkblue;">{{#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 darkblue;">{{#if:{{{image|}}}|{{{image|[[Image:Icon clue generic.png|80px]]}}}|[[Image:Icon clue generic.png|80px]]}}</div>
 
{{!}}{{!}} Level {{{level|?}}} &#149; {{OriginIcon|{{#if:{{{origin|}}}|{{{origin}}}|Science}}|18px}} &#149; {{ArchetypeIcon|Warshade|18px}}
 
{{!}}{{!}} Level {{{level|?}}} &#149; {{OriginIcon|{{#if:{{{origin|}}}|{{{origin}}}|Science}}|18px}} &#149; {{ArchetypeIcon|Warshade|18px}}
Line 35: Line 35:
 
{{!}}-
 
{{!}}-
 
{{!}}{{!}} {{#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}}}|{{{pool1}}}]] }}&#160;{{#if:{{{pool2|}}}| &#149; [[paragonwiki:{{{pool2}}}|{{{pool2}}}]] }}&#160;{{#if:{{{pool3|}}}| &#149; [[paragonwiki:{{{pool3}}}|{{{pool3}}}]] }}&#160;{{#if:{{{pool4|}}}| &#149; [[paragonwiki:{{{pool4}}}|{{{pool4}}}]]}}
 +
{{!}}}
 +
{{{!}} border=0 width=25% style="background-color:white; border:medium inset darkblue;"
 +
{{!}} valign="middle" align="center"  {{#if:{{{portrait|}}}|{{{portrait}}}|(No photo)}}
 
{{!}}}
 
{{!}}}
 
| Brute | Corruptor | Dominator | Mastermind | Stalker | Arachnos Soldier
 
| Brute | Corruptor | Dominator | Mastermind | Stalker | Arachnos Soldier
 
| Arachnos Widow =
 
| Arachnos Widow =
{{{!}} border=0 width=99% style="background-color:gainsboro; border:medium double darkred;"
+
{{{!}} border=0 width=75% style="background-color:gainsboro; border:medium double darkred;"
 
{{!}} align=left style="color:white; background-color:darkred;" colspan=2 {{!}} [[Image:CoV Game Icon.png{{!}}18px]] '''{{{name|Name}}}''' {{#if:{{{realname|}}}|({{{realname}}})}}
 
{{!}} align=left style="color:white; background-color:darkred;" colspan=2 {{!}} [[Image:CoV Game Icon.png{{!}}18px]] '''{{{name|Name}}}''' {{#if:{{{realname|}}}|({{{realname}}})}}
 
{{!}} rowspan=4 width=25% bgcolor="white" valign="middle" align="center" {{!}} {{#if:{{{portrait|}}}|{{{portrait}}}|(No photo)}}
 
{{!}} rowspan=4 width=25% bgcolor="white" valign="middle" align="center" {{!}} {{#if:{{{portrait|}}}|{{{portrait}}}|(No photo)}}
Line 48: Line 51:
 
{{!}}-
 
{{!}}-
 
{{!}}{{!}} {{#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}}}|{{{pool1}}}]] }}&#160;{{#if:{{{pool2|}}}| &#149; [[paragonwiki:{{{pool2}}}|{{{pool2}}}]] }}&#160;{{#if:{{{pool3|}}}| &#149; [[paragonwiki:{{{pool3}}}|{{{pool3}}}]] }}&#160;{{#if:{{{pool4|}}}| &#149; [[paragonwiki:{{{pool4}}}|{{{pool4}}}]]}}
 +
{{!}}}
 +
{{{!}} border=0 width=25% style="background-color:white; border:medium inset darkred;"
 +
{{!}} valign="middle" align="center"  {{#if:{{{portrait|}}}|{{{portrait}}}|(No photo)}}
 
{{!}}}
 
{{!}}}
 
| #default =
 
| #default =
{{{!}} border=0 width=99% style="background-color:silver; border:thin solid darkgray;"
+
{{{!}} border=0 width=75% style="background-color:silver; border:thin solid darkgray;"
 
{{!}} align=left style="color:white; background-color:darkgray;" colspan=2 {{!}} [[Image:Icon clue generic.png{{!}}18px]] '''Name''' (realname)
 
{{!}} align=left style="color:white; background-color:darkgray;" colspan=2 {{!}} [[Image:Icon clue generic.png{{!}}18px]] '''Name''' (realname)
 
{{!}} rowspan=4 width=25% bgcolor="white" valign="middle" align="center" {{!}} (No photo)
 
{{!}} rowspan=4 width=25% bgcolor="white" valign="middle" align="center" {{!}} (No photo)
Line 60: Line 66:
 
{{!}}-
 
{{!}}-
 
{{!}}{{!}} Pool 1 &#149; Pool 2 &#149; Pool 3 &#149; Pool 4
 
{{!}}{{!}} Pool 1 &#149; Pool 2 &#149; Pool 3 &#149; Pool 4
 +
{{!}}}
 +
{{{!}} border=0 width=25% style="background-color:white; border:medium inset darkgray;"
 +
{{!}} valign="middle" align="center"  {{#if:{{{portrait|}}}|{{{portrait}}}|(No photo)}}
 
{{!}}}
 
{{!}}}
 
}}
 
}}

Revision as of 19:30, 11 December 2009


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.

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)
| primary = 
| secondary = 
| epic =      (optional)
| pool1 =     (optional)
| pool2 =     (optional)
| pool3 =     (optional)
| pool4 =     (optional)
}}

Examples

{{InfoCard
| name = Hero
| realname = Joe Ordinary
| portrait = 
| image = 
| level = 44
| origin = Science
| archetype = Scrapper
| primary = Claws
| secondary = Super Reflexes
| epic = Body Mastery
| pool1 = Fitness
| pool2 = Medicine
| pool3 = Speed
| pool4 = Presence
}}
CoH Game Icon.png Hero (Joe Ordinary)
Icon clue generic.png
Level 44 • Originicon science.pngArchetypeicon scrapper.png
Claws / Super Reflexes
Body Mastery
Fitness • Medicine • Speed • Presence
CoH Game Icon.png



{{InfoCard
| name = Villain
| realname = Jack Skulk
| portrait = 
| image = 
| level = 41
| origin = Mutation
| archetype = Mastermind
| primary = Ninjas
| secondary = Force Field
| epic = Mace Mastery
| pool1 = Fitness
| pool2 = Medicine
| pool3 = Speed
| pool4 = Presence
}}
CoV Game Icon.png Villain (Jack Skulk)
Icon clue generic.png
Level 41 • Originicon mutation.pngV archetypeicon mastermind.png
Ninjas / Force Field
Mace Mastery
Fitness • Medicine • Speed • Presence
CoV Game Icon.png



{{InfoCard
| name = Lightsquid
| level = 22
| origin = Technology
| archetype = Peacebringer
}}
CoH Game Icon.png Lightsquid
Icon clue generic.png
Level 22 • Originicon technology.pngArchetypeicon peacebringer.png
Luminous Blast / Luminous Aura
   
CoH Game Icon.png



{{InfoCard
| name = Darksquid
| level = 31
| archetype = Warshade
| pool1 = Speed
}}
CoH Game Icon.png Darksquid
Icon clue generic.png
Level 31 • Originicon science.pngArchetypeicon warshade.png
Umbral Blast / Umbral Aura
Speed   
CoH Game Icon.png