Template:Character List Header: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia
(eliminating unneeded #ifs / colspan=1)
imported>Sekoia
(updating to use {{documentation}})
 
Line 9: Line 9:
| style="padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;"|Server<noinclude>
| style="padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;"|Server<noinclude>
|}
|}
__NOTOC__


== Description ==
{{documentation}}</noinclude>
This is used to create a charcter list. If you use this you will need to add your characters via the [[Template:Character_Row|Character Rows]] template and close the list by using the [[Template:Character_List_Footer|Character List Footer]] template.
 
 
 
== Format ==
'''<nowiki>{{</nowiki>{{PAGENAME}}|Global=<nowiki>}}</nowiki>'''
 
'''Global''' is just the text field that appears at the top of the character list. Usually this would be your global handle.
 
 
 
== Example ==
'''Global'''=@Digitizer
{{Character List Header|Global=@Digitizer}}
{{Character List Footer}}
 
 
== What Next ==
After you have added a {{PAGENAME}} you need to then add [[Template:Character_Row|Character Rows]]
 
[[Category:Character List Templates]]
</noinclude>

Latest revision as of 23:07, 24 June 2012

{{{Global}}}
Name SL AT Powersets 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