Difference between revisions of "Template:InfoCard"

From Ouroboros Portal
Jump to: navigation, search
m (first pass at a switch-based template)
 
m
Line 1: Line 1:
{| border=0 width=99%  
+
<includeonly>{| border=0 width=99% style="background-color:{{#switch: {{{HV|}}} |H=#CCF|V=#FCC|#CCC}};"
| align=left style="color:white; background-color={{#switch: {{{HV|}}}|H=darkblue|V=darkred|darkgray}}" colspan=2 | [[Image:Co{{{HV}}} Game Icon.png|18px]] '''{{{name|Name}}}''' {{#if:{{{realname|}}}|({{{realname}}})}}
+
| align=left style="color:white; background-color:{{#switch: {{{HV|}}} |H=#003|V=#300|#333}};" colspan=2 | [[Image:Co{{{HV}}} Game Icon.png|18px]] '''{{{name|Name}}}''' {{#if:{{{realname|}}}|({{{realname}}})}}
 
| rowspan=4 width=25% bgcolor="white" valign="middle" align="center" | {{#if:{{{portrait|(No photo)}}}|{{{portrait}}}}}
 
| rowspan=4 width=25% bgcolor="white" valign="middle" align="center" | {{#if:{{{portrait|(No photo)}}}|{{{portrait}}}}}
 
|-
 
|-
Line 8: Line 8:
 
|| [[paragonwiki:{{{primary}}}|{{{primary}}}]] / [[paragonwiki:{{{secondary}}}|{{{secondary}}}]]<br/> {{#if:{{{epic|}}} | '''[[paragonwiki:{{{epic}}}|{{{epic}}}]]'''}}
 
|| [[paragonwiki:{{{primary}}}|{{{primary}}}]] / [[paragonwiki:{{{secondary}}}|{{{secondary}}}]]<br/> {{#if:{{{epic|}}} | '''[[paragonwiki:{{{epic}}}|{{{epic}}}]]'''}}
 
|-
 
|-
|| {{#if:{{{pool1|}}}|[[paragonwiki:{{{pool1}}}|{{{pool1}}}]] }}&#160;{{#if:{{{pool2|}}}| &#149; [[paragonwiki:{{{pool2}}}|{{{pool2}}}]] }}&#160;{{#if:{{{pool3|}}}|<br/> [[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}}}]]}}
 
|}
 
|}
<br style="clear:both;" />
+
<br style="clear:both;" /></includeonly>
 
<noinclude>
 
<noinclude>
 
+
{{InfoCard
 +
| HV = V
 +
| name = Hero
 +
| realname = Joe Ordinary
 +
| portrait =
 +
| image =
 +
| level = 44
 +
| origin = Science
 +
| archetype = Scrapper
 +
| primary = Claws
 +
| secondary = Super Reflexes
 +
| epic = Pyre Mastery
 +
| pool1 = Fitness
 +
| pool2 = Medicine
 +
| pool3 = Speed
 +
| pool4 = Presence
 +
}}
 
</noinclude>
 
</noinclude>

Revision as of 00:25, 26 August 2009


CoH Game Icon.png Hero (Joe Ordinary)
Icon clue generic.png
Level 44 • Originicon science.pngArchetypeicon scrapper.png
Claws / Super Reflexes
Pyre Mastery
Fitness • Medicine • Speed • Presence
CoH Game Icon.png