Template:Player character: Difference between revisions

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

Revision as of 11:28, 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