Template:PCTOC: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(fixed error)
Line 3: Line 3:
! 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"
|- bgcolor="#FFFFFF"
| colspan="2" | {{#if:{{{portrait|}}}|'''[[Image:{{{portrait}}}|300px]]'''|{{PAGENAME}}}}{{#if:{{{rev|}}}|[[review::{{{rev}}}| ]]|[[review::0| ]]}}
| colspan="2" | {{#if:{{{portrait|}}}|'''[[Image:{{{portrait}}}|300px]]'''}}
|- bgcolor="#FFFFFF"
|- 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}}}}

Revision as of 14:33, 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.