Template:PCTOC: Difference between revisions
Jump to navigation
Jump to search
TEVESHSZAT (talk | contribs) No edit summary |
TEVESHSZAT (talk | contribs) (testing another thing on template demo) |
||
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| ]]}} |
|||
|- 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}}}} |
||
Line 14: | Line 14: | ||
|- bgcolor="#FFFFFF" |
|- bgcolor="#FFFFFF" |
||
| 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" |
|||
| valign="top"| iccontact || align="center" | {{#if: {{{iccontact|}}} | {{#switch:{{{status}}}|-=|g=Gweth|c=Alberdine Crystal}}}} |
|||
|- bgcolor="#FFFFFF" |
|||
| valign="top"| oocontact || align="center" | {{#if:{{{ooccontact|}}}|'''{{{ooccontact}}}'''|{{PAGENAME}}}}{{#if:{{{rev|}}}|[[review::{{{rev}}}| ]]|[[review::0| ]]}} |
|||
|- 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:25, 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.