Template:PCTOC: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
|- 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}}}} }}
|- bgcolor="#FFFFFF"
|-
{{#if: {{{ooccontact|}}} | {{!}} valign="top"{{!}} OOC IM {{!}}{{!}} align="center" {{!}} {{#if: {{{ooccontact|}}}|{{{ooccontact}}} }} }}
{{#if: {{{ooccontact|}}} | {{!}} valign="top"{{!}} OOC IM {{!}}{{!}} align="center" {{!}} {{#if: {{{ooccontact|}}}|{{{ooccontact}}} }} }}
|- bgcolor="#FFFFFF"
|-
{{#if: {{{relat|}}} | {{!}} valign="top" {{!}} Relatives {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{relat}}}|,|@@@@|[[@@@@]]}}}}
{{#if: {{{relat|}}} | {{!}} valign="top" {{!}} Relatives {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{relat}}}|,|@@@@|[[@@@@]]}}}}
|- bgcolor="#FFFFFF"
|-
{{#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}}

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