Template:CharInfoH: Difference between revisions
Jump to navigation
Jump to search
imported>Rugiel (Replicated CharInfoV template for heroes) |
imported>MrDolomite m (→Usage: add note about (must start with lowercase letter) for icon images to work correctly) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{clr}} | {{clr}} | ||
<div style="float:right;"> | |||
{{Userboxtop|bordercolor=darkblue|toptext=}} | {{Userboxtop|bordercolor=darkblue|toptext=}} | ||
{{Userbox Generic|{{{description}}}|[[Image:Badge_history_01.png]]}} | {{Userbox Generic|{{#if:{{{description|}}}|{{{description}}}}}|[[Image:Badge_history_01.png|48px]]| border = solid darkblue 1px}} | ||
{{Userboxbottom}} | {{Userboxbottom}} | ||
</div> | |||
<div> | |||
{| border=0 width=100% | {| border=0 width=100% | ||
| align=left style="color:white;" bgcolor="darkblue" colspan=2 | '''{{{name}}}''' {{#if:{{{realname|}}}|({{{realname}}})}} | | align=left style="color:white;" bgcolor="darkblue" colspan=2 | '''{{{name}}}''' {{#if:{{{realname|}}}|({{{realname}}})}} | ||
|- | |- | ||
| rowspan=3 width=2% | {{#if:{{{image|}}}|{{{image | | rowspan=3 width=2% valign=top | {{#if:{{{image|}}}|{{{image}}}|[[Image:CoH Game Icon.png|80px]]}} | ||
|| {{{level}}} . [[Image:Originicon {{{origin}}}.png|18px]] . [[Image:Archetypeicon {{{archetype}}}.png|18px]] | || Level {{{level}}} . [[Image:Originicon {{{origin}}}.png|18px]] . [[Image:Archetypeicon {{{archetype}}}.png|18px]] | ||
|- | |- | ||
|| [[{{{primary}}}]] / [[{{{secondary}}}]] | || [[{{{primary}}}]] / [[{{{secondary}}}]]<br/> {{#if:{{{epic|}}} | '''[[{{{epic}}}]]'''}} | ||
|- | |- | ||
|| {{#if:{{{pool1|}}}|[[{{{pool1}}}]] }} {{#if:{{{pool2|}}}| • [[{{{pool2}}}]] }} {{#if:{{{pool3|}}}| | || {{#if:{{{pool1|}}}|[[{{{pool1}}}]] }} {{#if:{{{pool2|}}}| • [[{{{pool2}}}]] }} {{#if:{{{pool3|}}}|<br/> [[{{{pool3}}}]] }} {{#if:{{{pool4|}}}| • [[{{{pool4}}}]]}} | ||
|}<noinclude> | |} | ||
</div> | |||
<noinclude> | |||
__NOTOC__ | |||
==Usage== | ==Usage== | ||
<pre><nowiki> | <pre><nowiki> | ||
{{CharInfoH | {{CharInfoH | ||
| description = | | description = (optional) | ||
| name = | | name = | ||
| realname = | | realname = (optional) | ||
| image = | | image = | ||
| level = | | level = | ||
| origin = | | origin = (must start with lowercase letter) | ||
| archetype = | | archetype = (must start with lowercase letter) | ||
| primary = | | primary = | ||
| secondary = | | secondary = | ||
| epic = | | epic = (optional) | ||
| pool1 = | | pool1 = (optional) | ||
| pool2 = | | pool2 = (optional) | ||
| pool3 = | | pool3 = (optional) | ||
| pool4 = | | pool4 = (optional) | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 69: | Line 75: | ||
| pool4 = | | pool4 = | ||
}} | }} | ||
{{clr}} | |||
[[Category: | ==See also== | ||
[[Template:CharInfoV]] | |||
[[Category:User Page Templates]]</noinclude> |
Latest revision as of 04:33, 3 June 2012
{{{name}}} | |
Level {{{level}}} . [[Image:Originicon {{{origin}}}.png|18px]] . [[Image:Archetypeicon {{{archetype}}}.png|18px]] | |
[[{{{primary}}}]] / [[{{{secondary}}}]] | |
Usage
{{CharInfoH | description = (optional) | name = | realname = (optional) | image = | level = | origin = (must start with lowercase letter) | archetype = (must start with lowercase letter) | primary = | secondary = | epic = (optional) | pool1 = (optional) | pool2 = (optional) | pool3 = (optional) | pool4 = (optional) }}
All fields are required except those otherwise marked.
Example
{{CharInfoH | description = Write something about your character here. (etc.) | name = Hero Man | realname = John Doe | image = [[Image:Kronos_Class_Titan2.jpg|80px]] | level = 44 | origin = technology | archetype = defender | primary = Radiation Emission | secondary = Dark Blast | epic = Dark Mastery | pool1 = Speed | pool2 = Fitness | pool3 = Leadership | pool4 = }}
Result
Hero Man (John Doe) | |
Level 44 . . | |
Radiation Emission / Dark Blast Dark Mastery | |
Speed • Fitness Leadership |