Template:Character List Header: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia (historical)
(applying subst: to get actual table formatting instead of using unnecessary templates)
imported>Sekoia (historical)
(updating to use {{documentation}})
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| border=0 cellpadding=0 cellspacing=0 style="border: 1px solid #AAAAAA;"
{| border=0 cellpadding=0 cellspacing=0 style="border: 1px solid #AAAAAA;"
|-
|-
|{{#if: 5 | colspan=5 | colspan=1}} style="padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;"|{{{Global}}}
|colspan=5 style="padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;"|{{{Global}}}
|-
|-
{{#if: Name | {{!}}{{Table Cell|Style=padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;|Data=Name}}
| style="padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;"|Name
  {{#if: SL | {{!}}{{Table Cell|Style=padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;|Data=SL}}
| style="padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;"|SL
      {{#if: AT | {{!}}{{Table Cell|Style=padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;|Data=AT}}
| style="padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;"|AT
        {{#if: Powersets | {{!}}{{Table Cell|Style=padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;|Data=Powersets}}
| style="padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;"|Powersets
            {{#if: Server | {{!}}{{Table Cell|Style=padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;|Data=Server}}
| style="padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;"|Server<noinclude>
              {{#if:  | {{!}}{{Table Cell|Style=padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;|Data={{{Header6}}}}}
                  {{#if:  | {{!}}{{Table Cell|Style=padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;|Data={{{Header7}}}}}
                    {{#if:  | {{!}}{{Table Cell|Style=padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;|Data={{{Header8}}}}}
                        {{#if:  | {{!}}{{Table Cell|Style=padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;|Data={{{Header9}}}}}
                          {{#if:  | {{!}}{{Table Cell|Style=padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;|Data={{{Header10}}}}}
                              {{#if:  | {{!}}{{Table Cell|Style=padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;|Data={{{Header11}}}}}
                                {{#if:  | {{!}}{{Table Cell|Style=padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;|Data={{{Header12}}}}}
                                    {{#if:  | {{!}}{{Table Cell|Style=padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;|Data={{{Header13}}}}}
                                      {{#if:  | {{!}}{{Table Cell|Style=padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;|Data={{{Header14}}}}}
                                          {{#if:  | {{!}}{{Table Cell|Style=padding:0 0.5em;border-bottom:1px solid #ECECEC;border-left:1px solid #ECECEC;background:#F4F4F4;font-weight:bold;|Data={{{Header15}}}}}
                                          }}
                                      }}
                                    }}
                                }}
                              }}
                          }}
                        }}
                    }}
                  }}
              }}
            }}
        }}
      }}
  }}
}}<noinclude>
|}
|}
__NOTOC__
== Description ==
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]]
{{documentation}}</noinclude>
</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