Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:Character List Header"

From Paragon Wiki Archive
Jump to: navigation, search
(updating to use {{documentation}})
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Table Start}}
+
{| border=0 cellpadding=0 cellspacing=0 style="border: 1px solid #AAAAAA;"
 
|-
 
|-
|{{Table Cell|Colspan=5|Style=padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;|Data={{{Global}}}}}
+
|colspan=5 style="padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;"|{{{Global}}}
{{Table Header
+
|-
|Header1=Name
+
| style="padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;"|Name
|Header2=SL
+
| style="padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;"|SL
|Header3=AT
+
| style="padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;"|AT
|Header4=Powersets
+
| style="padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;"|Powersets
|Header5=Server
+
| style="padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;"|Server<noinclude>
}}<noinclude>
+
|}
{{Table End}}
+
----
+
 
+
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:
+
{{documentation}}</noinclude>
'''Global'''=@Digitizer
+
{{Character List Header|Global=@Digitizer}}
+
{{Character List Footer}}</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