Template:CharInfoV: Difference between revisions

From City of Heroes: Rebirth Wiki
Jump to navigation Jump to search
imported>Rugiel
m (One space too many.)
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=darkred|toptext=}}
{{Userboxtop|bordercolor=darkred|toptext=}}
{{Userbox Generic|{{{description}}}|[[Image:V_badge_HistoryBadge.png]]}}
{{Userbox Generic|{{#if:{{{description|}}}|{{{description}}}}}|[[Image:V_badge_HistoryBadge.png|48px]]| border = solid darkred 1px}}
{{Userboxbottom}}
{{Userboxbottom}}
</div>
<div>
{| border=0 width=100%
{| border=0 width=100%
| align=left style="color:white;" bgcolor="darkred" colspan=2 | '''{{{name}}}''' {{#if:{{{realname|}}}|({{{realname}}})}}
| align=left style="color:white;" bgcolor="darkred" colspan=2 | '''{{{name}}}''' {{#if:{{{realname|}}}|({{{realname}}})}}
|-
|-
| rowspan=3 width=2% | {{#if:{{{image|}}}|{{{image|[[Image:CoV Game Icon.png|80px]]}}}|[[Image:CoV Game Icon.png|80px]]}}
| rowspan=3 width=2% valign=top | {{#if:{{{image|}}}|{{{image}}}|[[Image:CoV Game Icon.png|80px]]}}
|| {{{level}}} . [[Image:Originicon {{{origin}}}.png|18px]] . [[Image:V archetypeicon {{{archetype}}}.png|18px]]
|| Level {{{level}}} . [[Image:Originicon {{{origin}}}.png|18px]] . [[Image:V 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>
{{VCharInfo
{{CharInfoV
| description =  
| description =  
| name =  
| name       =  
| realname =  
| realname   = (optional)
| level =  
| image      =  
| origin =  
| level       =  
| archetype =  
| origin     = (must start with lowercase letter)
| primary =  
| archetype   = (must start with lowercase letter)
| secondary =  
| primary     =  
| epic =  
| secondary   =  
| pool1 =  
| epic       = (optional)
| pool2 =  
| pool1       = (optional)
| pool3 =  
| pool2       = (optional)
| pool4 =  
| pool3       = (optional)
| pool4       = (optional)
}}
}}
</nowiki></pre>
</nowiki></pre>
All fields are required except those otherwise marked.
===Example===
===Example===
<pre>{{CharInfoV
<pre>{{CharInfoV
| description = Write something about your character here.
| description = Write something about your character here. (etc.)
| name = Villain
| name = Villain Man
| realname = Jack Doe
| realname = Jack Doe
| image = [[Image:RogueRobotsWarcryMkII.jpg|80px]]
| level = 44
| level = 44
| origin = magic
| origin = magic
Line 48: Line 59:
}}</pre>
}}</pre>


===Result===
{{CharInfoV
{{CharInfoV
| description = Write something about your character here.
| description = 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.
| name = Villain Man
| name = Villain Man
| realname = Jack Doe
| realname = Jack Doe
| image = [[Image:RogueRobotsWarcryMkII.jpg|80px]]
| level = 44
| level = 44
| origin = magic
| origin = magic
Line 63: Line 76:
| pool4 =  
| pool4 =  
}}
}}
[[Category:Userbox Templates]]</noinclude>
{{clr}}
 
==See also==
[[Template:CharInfoH]]
[[Category:User Page Templates]]</noinclude>

Latest revision as of 04:37, 3 June 2012


{{{name}}}
Level {{{level}}} . [[Image:Originicon {{{origin}}}.png|18px]] . [[Image:V archetypeicon {{{archetype}}}.png|18px]]
[[{{{primary}}}]] / [[{{{secondary}}}]]
   


Usage

{{CharInfoV
| description = 
| 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

{{CharInfoV
| description = Write something about your character here. (etc.)
| name = Villain Man
| realname = Jack Doe
| image = [[Image:RogueRobotsWarcryMkII.jpg|80px]]
| level = 44
| origin = magic
| archetype = brute
| primary = Energy Melee
| secondary = Energy Aura
| epic = Mace Mastery
| pool1 = Leaping
| pool2 = Fitness
| pool3 = Fighting
| pool4 = 
}}

Result


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.
Villain Man (Jack Doe)
Level 44 . .
Energy Melee / Energy Aura
Mace Mastery
Leaping &#149; Fitness 
Fighting 


See also

Template:CharInfoH