Template:Player character: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(4 intermediate revisions by 2 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}}}}{{#if:{{{rev|}}}|[[review::{{{rev}}}| ]]|[[review::0| ]]}}
|- 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}}}|-=|{{ucfirst:{{lc:{{{Instance}}}}}}}{{#arraymap:{{ucfirst:{{lc:{{{Instance}}}}}}}|,|@@@@|[[Category:Player @@@@]]}}}} | ''Unknown''}}
|- bgcolor="#FFFFFF"
| valign="top"| Status || align="center" | {{#if: {{{Status|}}} | {{#switch:{{{Status}}}|-=|a=Active|d=Dead|r=Retired}}}}
|- bgcolor="#FFFFFF"
{{#if: {{{Relative|}}} | {{!}} valign="top" {{!}} Relatives {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{Relative}}}|,|@@@@|[[@@@@]]}}}}
|}{{cat|Player Characters}}
</includeonly><noinclude>
==To Use==

Use the [[Form:Player_Characters|Player Character Form]] to easily fill out both the Player_character template and the optional PCSKills template below.

For manual creation:

<pre>
{{Player character
|Player Name =
|Status = a/d/r (active/dead/retired)
|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.

'''Optional''':
You can include your stats and skills by adding the template below to the bottom of your page.

Include a parameter for each stat and skill you want to display. For stats and non-guild specific skills use the full stat/skill name as the parameter, removing any spaces if there are any. For your guild skill use the GuildSkill and GuildSkill2 paramaeters.

Note: The infobox will not appear if you do not include any parameters.
<pre>
{{PCSkills
|Circle =
|<StatName> =
|<SkillName> =
|GuildSkill = Astrology/Backstab/Bardic Lore/Empathy/Endurance/Expertise/Scouting/Summoning/Thanatology/Theurgy/Trading
|GuildSkill2 = (the number of ranks you have in your guild specific skill)
}}

Example:
{{PCSkills
|Circle=75
|Stamina=55
|PrimaryMagic=200
|Guildskill=Bardic Lore
|Guildskill2=250
}}
</pre>
{{cat|Templates}}
</noinclude>

Latest revision as of 15:49, 24 March 2015

Depreciated in favor of Template:PC.