Template:Player character: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{PC|name={{#if:{{{Player Name|}}}|{{{Player Name}}}|{{PAGENAME}}}}|rev={{#if:{{{rev|}}}|{{{rev}}}|0}}|race={{#ifeq:{{{Race|}}}|S'kra Mur|S'Kra Mur|{{{Race|}}}}}|gender={{{Gender|}}}|guild={{{Guild|}}}|instance={{{Instance|}}}|status={{{Status|}}}|relat={{{Relative|}}}}}</includeonly><noinclude>Depreciated in favor of [[Template:PC]].</noinclude>
<includeonly>{| cellpadding="2" style="float:right; width:300px; background:#e3e3e3; border-spacing:1px;"
|-
! colspan="2" | {{#if:{{{Player Name|}}}|'''{{{Player Name}}}'''|{{PAGENAME}}}}
|- bgcolor="#FFFFFF"
| valign="top"| Race || align="center" | {{#if: {{{Race|}}} | {{#switch:{{{Race}}}|-=| {{{Race}}}{{cat|Player {{{Race}}}}}}} | ''Unknown''}}
|- bgcolor="#FFFFFF"
| valign="top"| Gender || align="center" | {{#if: {{{Gender|}}} | {{#switch:{{{Gender}}}|-=| {{{Gender}}}}} | ''Unknown''}}
|- bgcolor="#FFFFFF"
| valign="top"| Guild || align="center" | {{#if: {{{Guild|}}} | {{#switch:{{{Guild}}}|-=|{{{Guild}}}{{Cat|Player {{{Guild}}}}}}} | ''Unknown''}}
|- bgcolor="#FFFFFF"
| valign="top"| Instance || align="center" | {{#if: {{{Instance|}}} | {{#switch:{{{Instance}}}|-=|{{{Instance}}}{{#arraymap:{{{Instance}}}|,|x|[[Category:Player x]]}}}} | ''Unknown''}}
|- bgcolor="#FFFFFF"
{{#if: {{{Relative|}}} | {{!}} valign="top" {{!}} Relatives {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{Relative}}}|,|x|[[x]]}}}}
|}{{cat|Player Characters}}
</includeonly><noinclude>
==To Use==

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

If you do not know one of the above, leave it blank, or use "-" to disable.
{{cat|Templates}}
</noinclude>

Latest revision as of 15:49, 24 March 2015

Depreciated in favor of Template:PC.