Template:PC: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Undo revision 538501 by TK-421 (talk))
(to wikitable class, standardizing look + compatibility improvements)
Line 1: Line 1:
<includeonly>{| cellpadding="2" style="float:right; margin-left:1em; width:300px; background:#e3e3e3; border-spacing:1px;"
<includeonly>{| class="wikitable" cellpadding="2" style="float:right; margin-left:1em; width:300px; border-spacing:1px;"
|-
|-
! colspan="2" | {{#if:{{{name|}}}|'''{{{name}}}'''|{{PAGENAME}}}}{{#if:{{{rev|}}}|[[review::{{{rev}}}| ]]|[[review::0| ]]}}
! colspan="2" | {{#if:{{{name|}}}|'''{{{name}}}'''|{{PAGENAME}}}}{{#if:{{{rev|}}}|[[review::{{{rev}}}| ]]|[[review::0| ]]}}
|-
|- bgcolor="#FFFFFF"
| valign="top"| Status || align="center" | {{#if: {{{status|}}} | {{#switch:{{{status}}}|-=|a=Active|d=Dead|r=Retired}}}}
| valign="top"| Status || align="center" | {{#if: {{{status|}}} | {{#switch:{{{status}}}|-=|a=Active|d=Dead|r=Retired}}}}
|-
|- bgcolor="#FFFFFF"
| valign="top"| Race || align="center" | {{#if: {{{race|}}} | {{#switch:{{{race}}}|-=|S'kra Mur=S'Kra Mur{{cat|Player S'Kra Mur}}| {{{race}}}{{cat|Player {{{race}}}}}}} | ''undisclosed''}}
| valign="top"| Race || align="center" | {{#if: {{{race|}}} | {{#switch:{{{race}}}|-=|S'kra Mur=S'Kra Mur{{cat|Player S'Kra Mur}}| {{{race}}}{{cat|Player {{{race}}}}}}} | ''undisclosed''}}
|-
|- bgcolor="#FFFFFF"
| valign="top"| Gender || align="center" | {{#if: {{{gender|}}} | {{#switch:{{{gender}}}|-=| {{{gender}}}}} | ''undisclosed''}}
| valign="top"| Gender || align="center" | {{#if: {{{gender|}}} | {{#switch:{{{gender}}}|-=| {{{gender}}}}} | ''undisclosed''}}
|-
|- bgcolor="#FFFFFF"
| valign="top"| Guild || align="center" | {{#if: {{{guild|}}} | {{#switch:{{{guild}}}|-=|{{{guild}}}{{Cat|Player {{{guild}}}}}}} | ''undisclosed''}}
| valign="top"| Guild || align="center" | {{#if: {{{guild|}}} | {{#switch:{{{guild}}}|-=|{{{guild}}}{{Cat|Player {{{guild}}}}}}} | ''undisclosed''}}
|-
|- bgcolor="#FFFFFF"
| valign="top"| Instance || align="center" | {{#if: {{{instance|}}} | {{#switch:{{{instance}}}|-=|{{ucfirst:{{lc:{{{instance}}}}}}}{{#arraymap:{{ucfirst:{{lc:{{{instance}}}}}}}|,|@@@@|[[Category:Player @@@@]]}}}} | ''undisclosed''}}
| valign="top"| Instance || align="center" | {{#if: {{{instance|}}} | {{#switch:{{{instance}}}|-=|{{ucfirst:{{lc:{{{instance}}}}}}}{{#arraymap:{{ucfirst:{{lc:{{{instance}}}}}}}|,|@@@@|[[Category:Player @@@@]]}}}} | ''undisclosed''}}
|-
|- bgcolor="#FFFFFF"
{{#if: {{{relat|}}} | {{!}} valign="top" {{!}} Relatives {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{relat}}}|,|@@@@|[[@@@@]]}}}}
{{#if: {{{relat|}}} | {{!}} valign="top" {{!}} Relatives {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{relat}}}|,|@@@@|[[@@@@]]}}}}
|}{{cat|Player Characters}}
|}{{cat|Player Characters}}

Revision as of 02:01, 19 November 2020

To Use

Use the Player Character Form to easily fill out both the Player_character template and the optional PCSKills template below.

For manual creation:

{{PC
|name     = 
|status   = a/d/r (active/dead/retired)
|race     =
|gender   = 
|guild    =
|instance = (use "," to list multiple instances)
|relat    = (use "," to separate each)
}}

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.

{{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
}}