Template:Player character: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(added multiple instance handling)
mNo edit summary
Line 12: Line 12:
|- 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]]}}}}
|}{{cat|Player Characters}}{{#if: {{{Race |}}} | {{cat|Player {{{Race}}}}} | }}{{#if: {{{Guild |}}} | {{Cat|Player {{{Guild}}}}} | }}{{#if: {{{Instance |}}} | {{#arraymap:{{{Instance}}}|,|x|[[Category:Player {{{Instance}}}]]}} | }}
|}{{cat|Player Characters}}{{#if: {{{Race |}}} | {{cat|Player {{{Race}}}}} | }}{{#if: {{{Guild |}}} | {{Cat|Player {{{Guild}}}}} | }}{{#if: {{{Instance |}}} | {{#arraymap:{{{Instance}}}|,|x|[[Category:Player x]]}} | }}
</includeonly><noinclude>
</includeonly><noinclude>
==To Use==
==To Use==

Revision as of 11:29, 31 March 2009

To Use

{{Player character 
|Player Name = 
|Race        =
|Gender      = 
|Guild       =
|Instance    = 
|Relative    =
}}

If you do not know one of the above, leave it blank