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=Alberdine Crystal}}}} }}
{{#if: {{{ooccontact|}}} | || valign="top"| OOC IM || align="center" | {{#if: {{{ooccontact|}}}|{{{ooccontact}}} }} }}
{{#if: {{{ooccontact|}}} | {{!}} valign="top"{{!}} OOC IM {{!}}{{!}} align="center" {{!}} {{#if: {{{ooccontact|}}}|{{{ooccontact}}} }} }}
{{#if: {{{relat|}}} | {{!}} valign="top" {{!}} Relatives {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{relat}}}|,|@@@@|[[@@@@]]}}}}
{{#if: {{{relat|}}} | {{!}} valign="top" {{!}} Relatives {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{relat}}}|,|@@@@|[[@@@@]]}}}}
|-
|-

Revision as of 13:34, 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.