Difference between revisions of "Template:InfoCard"
From Ouroboros Portal
m (first pass at a switch-based template) |
m (Reverting to old template - can't get new one to work) |
||
(52 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {| border=0 width=99% | + | <includeonly>{{#switch: {{{archetype|}}} |
− | + | | Blaster | Defender | Controller | Scrapper | Tanker = | |
− | + | {{{!}} border=0 width=99% | |
− | |- | + | {{!}} width=75% valign="top" {{!}} |
− | | rowspan=3 width=2% | + | {{{!}} border=0 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}}})}} | |
− | + | {{!}}- | |
− | + | {{!}} 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}} | |
− | + | {{!}}- | |
− | |} | + | {{!}}{{!}} [[paragonwiki:{{{primary}}}{{!}}{{{primary}}}]] / [[paragonwiki:{{{secondary}}}{{!}}{{{secondary}}}]]<br/> {{#if:{{{epic|}}}|'''[[paragonwiki:{{{epic}}}|{{{epic}}}]]'''}} |
− | <br style="clear:both;" /> | + | {{!}}- |
+ | {{!}}{{!}} {{#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 darkblue;" | ||
+ | {{!}} {{#if:{{{portrait|}}}|{{{portrait}}}|[[Image:CoH Game Icon.png]]}} | ||
+ | {{!}}} | ||
+ | {{!}}} | ||
+ | | Peacebringer = | ||
+ | {{{!}} border=0 width=99% | ||
+ | {{!}} width=75% valign="top" {{!}} | ||
+ | {{{!}} border=0 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}}})}} | ||
+ | {{!}}- | ||
+ | {{!}} 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}} | ||
+ | {{!}}- | ||
+ | {{!}}{{!}} [[paragonwiki:Luminous Blast{{!}}Luminous Blast]] / [[paragonwiki:Luminous Aura{{!}}Luminous Aura]]<br/> {{#if:{{{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 darkblue;" | ||
+ | {{!}} {{#if:{{{portrait|}}}|{{{portrait}}}|[[Image:CoH Game Icon.png]]}} | ||
+ | {{!}}} | ||
+ | {{!}}} | ||
+ | | Warshade = | ||
+ | {{{!}} border=0 width=99% | ||
+ | {{!}} width=75% valign="top" {{!}} | ||
+ | {{{!}} border=0 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}}})}} | ||
+ | {{!}}- | ||
+ | {{!}} 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}} | ||
+ | {{!}}- | ||
+ | {{!}}{{!}} [[paragonwiki:Umbral Blast{{!}}Umbral Blast]] / [[paragonwiki:Umbral Aura{{!}}Umbral Aura]]<br/> {{#if:{{{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 darkblue;" | ||
+ | {{!}} {{#if:{{{portrait|}}}|{{{portrait}}}|[[Image:CoH Game Icon.png]]}} | ||
+ | {{!}}} | ||
+ | {{!}}} | ||
+ | | Brute | Corruptor | Dominator | Mastermind | Stalker | Arachnos Soldier | ||
+ | | Arachnos Widow | Soldier | Widow = | ||
+ | {{{!}} border=0 width=99% | ||
+ | {{!}} width=75% valign="top" {{!}} | ||
+ | {{{!}} border=0 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}}})}} | ||
+ | {{!}}- | ||
+ | {{!}} 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> | ||
+ | {{!}}{{!}} Level {{{level|?}}} • {{OriginIcon|{{{origin}}}|18px}} • {{ArchetypeIcon|{{{archetype}}}|18px}} | ||
+ | {{!}}- | ||
+ | {{!}}{{!}} [[paragonwiki:{{{primary}}}{{!}}{{{primary}}}]] / [[paragonwiki:{{{secondary}}}{{!}}{{{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 darkred;" | ||
+ | {{!}} {{#if:{{{portrait|}}}|{{{portrait}}}|[[Image:CoV Game Icon.png]]}} | ||
+ | {{!}}} | ||
+ | {{!}}} | ||
+ | | #default = | ||
+ | {{{!}} border=0 width=99% | ||
+ | {{!}} width=75% valign="top" {{!}} | ||
+ | {{{!}} border=0 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) | ||
+ | {{!}}- | ||
+ | {{!}} rowspan=3 width=2% {{!}} <div style="border:medium ridge darkgray;">[[Image:Icon clue generic.png{{!}}80px]]</div> | ||
+ | {{!}}{{!}} Level ? • [[Image:Icon clue generic.png{{!}}18px]] • [[Image:Icon clue generic.png{{!}}18px]] | ||
+ | {{!}}- | ||
+ | {{!}}{{!}} Primary / Secondary<br/> '''Epic''' | ||
+ | {{!}}- | ||
+ | {{!}}{{!}} Pool 1 • Pool 2 • Pool 3 • Pool 4 | ||
+ | {{!}}} | ||
+ | {{!}} width=25% valign="middle" align="center" {{!}} | ||
+ | {{{!}} border=0 style="background-color:white; border:medium inset darkgray;" | ||
+ | {{!}} {{#if:{{{portrait|}}}|{{{portrait}}}|[[Image:Icon clue generic.png]]}} | ||
+ | {{!}}} | ||
+ | {{!}}} | ||
+ | }} | ||
+ | <br style="clear:both;" /></includeonly> | ||
<noinclude> | <noinclude> | ||
+ | == 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. | ||
+ | |||
+ | Due to the branching nature of Arachnos Soldier and Widow powersets, no automated template is provided. Sorry! | ||
+ | == How to use == | ||
+ | Fill in the following parameters: | ||
+ | <pre><nowiki> | ||
+ | {{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) | ||
+ | }} | ||
+ | </nowiki></pre> | ||
+ | ===Examples=== | ||
+ | <pre><nowiki> | ||
+ | {{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 | ||
+ | }} | ||
+ | </nowiki></pre> | ||
+ | {{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 | ||
+ | }} | ||
+ | |||
+ | <pre><nowiki> | ||
+ | {{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 | ||
+ | }} | ||
+ | </nowiki></pre> | ||
+ | {{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 | ||
+ | }} | ||
+ | |||
+ | <pre><nowiki> | ||
+ | {{InfoCard | ||
+ | | name = Lightsquid | ||
+ | | level = 22 | ||
+ | | origin = Technology | ||
+ | | archetype = Peacebringer | ||
+ | }} | ||
+ | </nowiki></pre> | ||
+ | {{InfoCard | ||
+ | | name = Lightsquid | ||
+ | | level = 22 | ||
+ | | origin = Technology | ||
+ | | archetype = Peacebringer | ||
+ | }} | ||
+ | |||
+ | <pre><nowiki> | ||
+ | {{InfoCard | ||
+ | | name = Darksquid | ||
+ | | level = 31 | ||
+ | | archetype = Warshade | ||
+ | | pool1 = Speed | ||
+ | }} | ||
+ | </nowiki></pre> | ||
+ | {{InfoCard | ||
+ | | name = Darksquid | ||
+ | | level = 31 | ||
+ | | archetype = Warshade | ||
+ | | pool1 = Speed | ||
+ | }} | ||
+ | |||
+ | <pre><nowiki> | ||
+ | {{InfoCard | ||
+ | | name = Verduga Arania | ||
+ | | level = 44 | ||
+ | | archetype = Widow | ||
+ | | primary = Night Widow Training | ||
+ | | secondary = Widow Teamwork | ||
+ | | pool1 = Fitness | ||
+ | | pool2 = Presence | ||
+ | }} | ||
+ | </nowiki></pre> | ||
+ | {{InfoCard | ||
+ | | name = Verduga Arania | ||
+ | | level = 44 | ||
+ | | archetype = Widow | ||
+ | | primary = Night Widow Training | ||
+ | | secondary = Widow Teamwork | ||
+ | | pool1 = Fitness | ||
+ | | pool2 = Presence | ||
+ | }} | ||
+ | [[Category:Character templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 09:04, 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.
Due to the branching nature of Arachnos Soldier and Widow powersets, no automated template is provided. Sorry!
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 }}
|
|
{{InfoCard | name = Verduga Arania | level = 44 | archetype = Widow | primary = Night Widow Training | secondary = Widow Teamwork | pool1 = Fitness | pool2 = Presence }}
|
|