Template:PC: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Undo revision 439915 by FOUCAULT (talk))
No edit summary
 
(35 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{| cellpadding="2" style="float:right; width:300px; background:#e3e3e3; border-spacing:1px;"
<includeonly>{| class="wikitable" cellpadding="2" style="float:right; margin: 0em 0em 1em 2em; 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| ]]}}
|-
{{#if: {{{Image File|}}} | {{!}} colspan="2" align="center" {{!}} [[Image:{{{Image File}}}|200px]]}}
|-
| valign="top"| Status || align="center" | {{#if: {{{status|}}} | {{#switch:{{{status}}}|-=|a=Active|d=Dead|r=Retired}}}}
|-
| 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"| Gender || align="center" | {{#if: {{{gender|}}} | {{#switch:{{{gender}}}|-=| {{{gender}}}}} | ''undisclosed''}}
|-
| valign="top"| Guild || align="center" | {{#if: {{{guild|}}} | {{#switch:{{{guild}}}|-=|{{{guild}}}{{Cat|Player {{{guild}}}}}}} | ''undisclosed''}}
|-
| valign="top"| Instance || align="center" | {{#if: {{{instance|}}} | {{#switch:{{{instance}}}|-=|{{ucfirst:{{lc:{{{instance}}}}}}}{{#arraymap:{{ucfirst:{{lc:{{{instance}}}}}}}|,|@@@@|[[Category:Player @@@@]]}}}} | ''undisclosed''}}
|-
{{#if: {{{relat|}}} | {{!}} valign="top" {{!}} Relatives {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{relat}}}|,|@@@@|[[@@@@]]}}}}
|- bgcolor="#FFFFFF"
|- 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}}}}}}} | ''Unknown''}}
{{#if: {{{toc|}}} | {{#switch:{{{toc}}}|y|yes|t|true|1={{!}} colspan="2" {{!}} __TOC__ | __NOTOC__ }} | }}
|- 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"
{{#if: {{{relat|}}} | {{!}} valign="top" {{!}} Relatives {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{relat}}}|,|Prinie|[[@@@@]]}}}}
|}{{cat|Player Characters}}
|}{{cat|Player Characters}}
</includeonly><noinclude>
</includeonly><noinclude>
Line 27: Line 35:
|instance = (use "," to list multiple instances)
|instance = (use "," to list multiple instances)
|relat = (use "," to separate each)
|relat = (use "," to separate each)
|Image File = filename.jpg
|TOC = Makes TOC part of character profile display
}}
}}
</pre>
</pre>

Latest revision as of 17:28, 6 April 2021

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)
|Image File = filename.jpg
|TOC = Makes TOC part of character profile display
}}

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