Template:CharInfoH: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Rugiel
m (repositioned userbox)
imported>MrDolomite
m (→‎Usage: add note about (must start with lowercase letter) for icon images to work correctly)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{clr}}
{{clr}}
<div style="float:right; position:relative; top:72px;">{{Userboxtop|bordercolor=darkblue|toptext=}}
<div style="float:right;">
{{Userbox Generic|{{{description}}}|[[Image:Badge_history_01.png|48px]]| border = solid darkblue 1px}}
{{Userboxtop|bordercolor=darkblue|toptext=}}
{{Userboxbottom}}</div>
{{Userbox Generic|{{#if:{{{description|}}}|{{{description}}}}}|[[Image:Badge_history_01.png|48px]]| border = solid darkblue 1px}}
{{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|[[Image:CoH Game Icon.png|80px]]}}}|[[Image:CoH Game Icon.png|80px]]}}
| rowspan=3 width=2% valign=top | {{#if:{{{image|}}}|{{{image}}}|[[Image:CoH Game Icon.png|80px]]}}
|| Level {{{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}}}]]&#160;{{#if:{{{epic|}}} | / [[{{{epic}}}]]}}
|| [[{{{primary}}}]] / [[{{{secondary}}}]]<br/> {{#if:{{{epic|}}} | '''[[{{{epic}}}]]'''}}
|-
|-
|| {{#if:{{{pool1|}}}|[[{{{pool1}}}]] }}&#160;{{#if:{{{pool2|}}}| &#149; [[{{{pool2}}}]] }}&#160;{{#if:{{{pool3|}}}| &#149; [[{{{pool3}}}]] }}&#160;{{#if:{{{pool4|}}}| &#149; [[{{{pool4}}}]]}}
|| {{#if:{{{pool1|}}}|[[{{{pool1}}}]] }}&#160;{{#if:{{{pool2|}}}| &#149; [[{{{pool2}}}]] }}&#160;{{#if:{{{pool3|}}}|<br/> [[{{{pool3}}}]] }}&#160;{{#if:{{{pool4|}}}| &#149; [[{{{pool4}}}]]}}
|}<noinclude>
|}
</div>
<noinclude>
__NOTOC__
==Usage==
==Usage==
<pre><nowiki>
<pre><nowiki>
{{CharInfoH
{{CharInfoH
| description =  
| description = (optional)
| name =  
| name       =  
| realname =   (optional)
| 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 =       (optional)
| epic       = (optional)
| pool1 =       (optional)
| pool1       = (optional)
| pool2 =       (optional)
| pool2       = (optional)
| pool3 =       (optional)
| pool3       = (optional)
| pool4 =       (optional)
| pool4       = (optional)
}}
}}
</nowiki></pre>
</nowiki></pre>
Line 70: Line 76:
}}
}}
{{clr}}
{{clr}}
==See also==
==See also==
[[Template:CharInfoV]]
[[Template:CharInfoV]]
[[Category:Userbox Templates]]</noinclude>
[[Category:User Page Templates]]</noinclude>

Latest revision as of 04:33, 3 June 2012


Badge history 01.png
{{{name}}}
CoH Game Icon.png 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


Badge history 01.png Write something about your character here. It can be as long or as short as you like; you are not constrained by any kind of a character limit the way you are in the game. Go wild, you have room! This text is necessarily much longer than the one given in the example, so you can see how this text block grows and shrinks with its contents, rather than have an ugly unwrapped line stretching to infinity off the right edge of your screen.
Hero Man (John Doe)
Kronos Class Titan2.jpg Level 44 . Originicon technology.png . Archetypeicon defender.png
Radiation Emission / Dark Blast
Dark Mastery
Speed &#149; Fitness 
Leadership 


See also

Template:CharInfoV