Template:PCTOC: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
| valign="top"| Instance || align="center" | {{#if: {{{instance|}}} | {{#switch:{{{instance}}}|-=|{{ucfirst:{{lc:{{{instance}}}}}}}{{#arraymap:{{ucfirst:{{lc:{{{instance}}}}}}}|,|@@@@|[[Category:Player @@@@]]}}}} | ''Unknown''}}
| valign="top"| Instance || align="center" | {{#if: {{{instance|}}} | {{#switch:{{{instance}}}|-=|{{ucfirst:{{lc:{{{instance}}}}}}}{{#arraymap:{{ucfirst:{{lc:{{{instance}}}}}}}|,|@@@@|[[Category:Player @@@@]]}}}} | ''Unknown''}}
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
{{#if: {{{iccontact|}}} | {{!}} valign="top" {{!}} IC IM {{!}}{{!}} align="center" {{!}} {{#if: {{{iccontact|}}} | {{#switch:{{{iccontact}}}|-=|g=Gweth|c=Alberdine Crystal}}}} }}
{{#if: {{{iccontact|}}} | {{!}} valign="top" {{!}} IC IM {{!}}{{!}} align="center" {{!}} {{#if: {{{iccontact|}}} | {{#switch:{{{iccontact}}}|-=|g=Gweth|c=Albredine Crystal}}}} }}
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
{{#if: {{{ooccontact|}}} | {{!}} valign="top"{{!}} OOC IM {{!}}{{!}} align="center" {{!}} {{#if: {{{ooccontact|}}}|{{{ooccontact}}} }} }}
{{#if: {{{ooccontact|}}} | {{!}} valign="top"{{!}} OOC IM {{!}}{{!}} align="center" {{!}} {{#if: {{{ooccontact|}}}|{{{ooccontact}}} }} }}
Line 23: Line 23:
{{#if: {{{toc|}}} | {{#switch:{{{toc}}}|y|yes|t|true|1={{!}} colspan="2" {{!}} __TOC__ | __NOTOC__ }} | }}
{{#if: {{{toc|}}} | {{#switch:{{{toc}}}|y|yes|t|true|1={{!}} colspan="2" {{!}} __TOC__ | __NOTOC__ }} | }}
|}{{cat|Player Characters}}
|}{{cat|Player Characters}}
</includeonly><noinclude>
</includeonly>
<noinclude>
==To Use==
For manual creation:

|name=Sendithu
|portrait=Sendithu_shrunk.png
|status=a
|race=Elf
|gender=Female
|guild=Thief
|instance=Prime
|relat=Samsaren,Wyvir,Synamon,Eckan,Maltris
|iccontact= c
|ooccontact= Test
|toc=y

<pre>
{{PCTOC
|name =
|portrait = file name of portrait
|status = a/d/r (active/dead/retired)
|race =
|gender =
|guild =
|instance = (use "," to list multiple instances)
|relat = (use "," to separate each)
|iccontact = c/g (Albredine Crystal, Gweth - right now only supports one option or another)
|ooccontact = AIM account name
|toc = y to embed TOC directly under profile
}}
</pre>


Trying to see if I can combine the PC card template with a table of contents so the two don't clash at the top of pages. Testing adding a portrait slot as well.
Trying to see if I can combine the PC card template with a table of contents so the two don't clash at the top of pages. Testing adding a portrait slot as well.

Revision as of 14:52, 24 October 2016


To Use

For manual creation:

|name=Sendithu |portrait=Sendithu_shrunk.png |status=a |race=Elf |gender=Female |guild=Thief |instance=Prime |relat=Samsaren,Wyvir,Synamon,Eckan,Maltris |iccontact= c |ooccontact= Test |toc=y

{{PCTOC
|name     = 
|portrait = file name of portrait
|status   = a/d/r (active/dead/retired)
|race     =
|gender   = 
|guild    =
|instance = (use "," to list multiple instances)
|relat    = (use "," to separate each)
|iccontact = c/g (Albredine Crystal, Gweth - right now only supports one option or another)
|ooccontact = AIM account name
|toc = y to embed TOC directly under profile
}}

Trying to see if I can combine the PC card template with a table of contents so the two don't clash at the top of pages. Testing adding a portrait slot as well.