Template:Character Row: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia (historical)
(substing {{!}} and {{Table Cell}})
imported>Sekoia (historical)
(using {{documentation}}, referencing {{Character List Header/doc}})
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
{| border=0 cellpadding=0 cellspacing=0 style="border: 1px solid #AAAAAA;"</noinclude>
{| border=0 cellpadding=0 cellspacing=0 style="border: 1px solid #AAAAAA;"</noinclude>
|-
|-
|{{#if:  | colspan={{{Colspan}}} | colspan=1}} style="padding:0 0.5em;border-bottom:0px solid #F4F4F4;border-left:1px solid #F4F4F4;"|{{{Name}}}
| style="padding:0 0.5em;border-bottom:0px solid #F4F4F4;border-left:1px solid #F4F4F4;"|{{{Name}}}
|{{#if:  | colspan={{{Colspan}}} | colspan=1}} style="padding:0 0.5em;border-bottom:0px solid #F4F4F4;border-left:1px solid #F4F4F4;"|{{{Level}}}
| style="padding:0 0.5em;border-bottom:0px solid #F4F4F4;border-left:1px solid #F4F4F4;"|{{{Level}}}
|{{#if:  | colspan={{{Colspan}}} | colspan=1}} style="padding:0 0.5em;border-bottom:0px solid #F4F4F4;border-left:1px solid #F4F4F4;"|{{{Archetype}}}
| style="padding:0 0.5em;border-bottom:0px solid #F4F4F4;border-left:1px solid #F4F4F4;"|{{{Archetype}}}
|{{#if:  | colspan={{{Colspan}}} | colspan=1}} style="padding:0 0.5em;border-bottom:0px solid #F4F4F4;border-left:1px solid #F4F4F4;"|{{{Powerset}}}
| style="padding:0 0.5em;border-bottom:0px solid #F4F4F4;border-left:1px solid #F4F4F4;"|{{{Powerset}}}
|{{#if:  | colspan={{{Colspan}}} | colspan=1}} style="padding:0 0.5em;border-bottom:0px solid #F4F4F4;border-left:1px solid #F4F4F4;"|{{{Server}}}<noinclude>
| style="padding:0 0.5em;border-bottom:0px solid #F4F4F4;border-left:1px solid #F4F4F4;"|{{{Server}}}<noinclude>
|}
|}


__NOTOC__
{{documentation|Template:Character List Header/doc}}
 
== Description==
This is used to add a character to a character list. If you use this you must first add a [[Template:Character_List_Header|Character List Header]] template. Then you can add as many of these rows as you see fit. Finally you must then add a [[Template:Character_List_Footer|Character List Footer]] template to close the list.
 
 
== Format ==
'''<nowiki>{{</nowiki>{{PAGENAME}}|Name=|Level=|Archetype=|Powerset=|Server=<nowiki>}}</nowiki>'''
 
'''Name''' is the name of the character you want to display.
 
'''Level''' is the level of the character you want to display.
 
'''Archetype''' is the [[Archetype|archetype]] of the character you want to display.  To link, you must add the brackets <code><nowiki>[[ ]]</nowiki></code> manually
 
'''Powerset''' is the [[:Category:Power Sets|power set(s)]] of the characer you want to display.  To link, you must add the brackets <code><nowiki>[[ ]]</nowiki></code> manually
 
'''Server''' is the server where you can find this character.
 
 
 
== Examples ==
<code><nowiki>{{Character Row|Name=Digitizer|Level=50|Archetype=Controller|Powerset=Illusion Control/Kinetics|Server=Virtue}}</nowiki></code>
{| border=0 cellpadding=0 cellspacing=0 style="border: 1px solid #AAAAAA;"
|-
{{Character Row|Name=Digitizer|Level=50|Archetype=Controller|Powerset=Illusion Control/Kinetics|Server=Virtue}}
|}
 
<code><nowiki>{{Character Row|Name=MrT|Level=49|Archetype=[[Tanker]]|Powerset=[[Invulnerability]]/[[Super Strength]]|Server=Triumph}}</nowiki></code>
{| border=0 cellpadding=0 cellspacing=0 style="border: 1px solid #AAAAAA;"
|-
{{Character Row|Name=MrT|Level=49|Archetype=[[Tanker]]|Powerset=[[Invulnerability]]/[[Super Strength]]|Server=Triumph}}
|}
 
 
== What Next ==
After you have added all the charcter rows you wish to add you need to end the character list by using [[Template:Character_List_Footer|Charcter List Footer]]
 
[[Category:Character List Templates]]
</noinclude>
</noinclude>

Latest revision as of 23:08, 24 June 2012

{{{Name}}} {{{Level}}} {{{Archetype}}} {{{Powerset}}} {{{Server}}}
[edit] [purge] Documentation

Usage

The Character List family of templates allows you to generate a character list. There are three templates:

The general format for usage is:

{{Character List Header|Global=}}
{{Character Row|Name=|Level=|Archetype=|Powerset=|Server=}}
{{Character List Footer}}

You can repeat {{Character Row}} once for each character.

Here is an example of the template code with values supplied:

{{Character List Header|Global=@Digitizer}}
{{Character Row|Name=Digitizer|Level=50|Archetype=Controller|Powerset=Illusion Control/Kinetics|Server=Virtue}}
{{Character Row|Name=MrT|Level=49|Archetype=[[Tanker]]|Powerset=[[Invulnerability]]/[[Super Strength]]|Server=Triumph}}
{{Character List Footer}}

The above example would render like this:

@Digitizer
Name SL AT Powersets Server
Digitizer 50 Controller Illusion Control/Kinetics Virtue
MrT 49 Tanker Invulnerability/Super Strength Triumph