Template:Character List Header: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia
(substing {{Table Header}})
imported>Sekoia
(updating to use {{documentation}})
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
|colspan=5 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 ==
{{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