Template:PCTOC: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(testing another thing on template demo)
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"
| valign="top"| iccontact || align="center" | {{#if: {{{iccontact|}}} | {{#switch:{{{status}}}|-=|g=Gweth|c=Alberdine Crystal}}}}
| valign="top"| IC IM || align="center" | {{#if: {{{iccontact|}}} | {{#switch:{{{iccontact}}}|-=|g=Gweth|c=Alberdine Crystal}}}}
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
| valign="top"| oocontact || align="center" | {{#if:{{{ooccontact|}}}|'''{{{ooccontact}}}'''|{{PAGENAME}}}}{{#if:{{{rev|}}}|[[review::{{{rev}}}| ]]|[[review::0| ]]}}
| valign="top"| OOC IM || align="center" | {{#if: {{{ooccontact|}}}
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
{{#if: {{{relat|}}} | {{!}} valign="top" {{!}} Relatives {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{relat}}}|,|@@@@|[[@@@@]]}}}}
{{#if: {{{relat|}}} | {{!}} valign="top" {{!}} Relatives {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{relat}}}|,|@@@@|[[@@@@]]}}}}

Revision as of 13:26, 24 October 2016


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.