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"
| valign="top"| IC IM || align="center" | {{#if: {{{iccontact|}}} | {{#switch:{{{iccontact}}}|-=|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"| OOC IM || align="center" | {{#if: {{{ooccontact|}}}
| 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:27, 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.