Difference between revisions of "Template:InfoCard"
From Ouroboros Portal
m |
m |
||
Line 3: | Line 3: | ||
{{{!}} border=0 width=75% 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=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|?}}} • {{OriginIcon|{{{origin}}}|18px}} • {{ArchetypeIcon|{{{archetype}}}|18px}} | {{!}}{{!}} Level {{{level|?}}} • {{OriginIcon|{{{origin}}}|18px}} • {{ArchetypeIcon|{{{archetype}}}|18px}} | ||
Line 16: | Line 17: | ||
{{{!}} border=0 width=75% 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=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|?}}} • {{OriginIcon|{{#if:{{{origin|}}}|{{{origin}}}|Natural}}|18px}} • {{ArchetypeIcon|Peacebringer|18px}} | {{!}}{{!}} Level {{{level|?}}} • {{OriginIcon|{{#if:{{{origin|}}}|{{{origin}}}|Natural}}|18px}} • {{ArchetypeIcon|Peacebringer|18px}} | ||
Line 29: | Line 31: | ||
{{{!}} border=0 width=75% 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=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|?}}} • {{OriginIcon|{{#if:{{{origin|}}}|{{{origin}}}|Science}}|18px}} • {{ArchetypeIcon|Warshade|18px}} | {{!}}{{!}} Level {{{level|?}}} • {{OriginIcon|{{#if:{{{origin|}}}|{{{origin}}}|Science}}|18px}} • {{ArchetypeIcon|Warshade|18px}} | ||
Line 43: | Line 46: | ||
{{{!}} border=0 width=75% 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=3 width=2% {{!}} <div style="border:medium ridge darkred;">{{#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 darkred;">{{#if:{{{image|}}}|{{{image|[[Image:Icon clue generic.png|80px]]}}}|[[Image:Icon clue generic.png|80px]]}}</div> | ||
Line 58: | Line 60: | ||
{{{!}} border=0 width=75% 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=3 width=2% {{!}} <div style="border:medium ridge darkgray;">[[Image:Icon clue generic.png{{!}}80px]]</div> | {{!}} rowspan=3 width=2% {{!}} <div style="border:medium ridge darkgray;">[[Image:Icon clue generic.png{{!}}80px]]</div> |
Revision as of 19:33, 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 }}
|
|
{{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 }}
|
|
{{InfoCard | name = Lightsquid | level = 22 | origin = Technology | archetype = Peacebringer }}
|
|
{{InfoCard | name = Darksquid | level = 31 | archetype = Warshade | pool1 = Speed }}
|
|