Template:Player character: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(added ability to disable fields)
No edit summary
Line 9: Line 9:
| valign="top"| Guild || align="center" | {{#if: {{{Guild|}}} | {{#switch:{{{Guild}}}|-=|{{{Guild}}}{{Cat|Player {{{Guild}}}}}}} | ''Unknown''}}
| valign="top"| Guild || align="center" | {{#if: {{{Guild|}}} | {{#switch:{{{Guild}}}|-=|{{{Guild}}}{{Cat|Player {{{Guild}}}}}}} | ''Unknown''}}
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
| valign="top"| Instance || align="center" | {{#if: {{{Instance|}}} | {{#switch:{{{Instance}}}|-=|{{Instance}}{{#arraymap:{{{Instance}}}|,|x|[[Category:Player x]]}}}} | ''Unknown''}}
| valign="top"| Instance || align="center" | {{#if: {{{Instance|}}} | {{#switch:{{{Instance}}}|-=|{{{Instance}}}{{#arraymap:{{{Instance}}}|,|x|[[Category:Player x]]}}}} | ''Unknown''}}
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
{{#if: {{{Relative|}}} | {{!}} valign="top" {{!}} Relatives {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{Relative}}}|,|x|[[x]]}}}}
{{#if: {{{Relative|}}} | {{!}} valign="top" {{!}} Relatives {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{Relative}}}|,|x|[[x]]}}}}

Revision as of 19:21, 10 September 2011

To Use

{{Player character 
|Player Name = 
|Race        =
|Gender      = 
|Guild       =
|Instance    = (use "," to list multiple instances)
|Relative    = (use "," to separate each)
}}

If you do not know one of the above, leave it blank, or use "-" to disable.