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
(applying subst: to get actual table formatting instead of using unnecessary templates)
(I guess I should have checked the history to see that I thought this was a bad idea last time I tried it... Undo revision 230073 by Sekoia (talk))
Line 1: Line 1:
 
+
{{Table Start}}
{| 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}}}
+
|{{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}}}}}
|-
+
{{Table Header
{{#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}}
+
|Header1=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}}
+
|Header2=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}}
+
|Header3=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}}
+
|Header4=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}}
+
|Header5=Server
              {{#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>
 
}}<noinclude>
|}
+
{{Table End}}
 
__NOTOC__
 
__NOTOC__
  

Revision as of 22:35, 24 June 2012

Template:Table Start |- |Template:Table Cell Template:Table Header Template:Table End


Description

This is used to create a charcter list. If you use this you will need to add your characters via the Character Rows template and close the list by using the Character List Footer template.


Format

{{Character List Header|Global=}}

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

@Digitizer
Name SL AT Powersets Server


What Next

After you have added a Character List Header you need to then add Character Rows