Difference between revisions of "Template:Main Page class portrait"
m (add full moon support) |
m (scream fortress portraits are now pseudo-random) |
||
Line 1: | Line 1: | ||
{{#switch: {{is event}} | {{#switch: {{is event}} | ||
− | | Scream Fortress = Main {{{1}}} Halloween | + | | Scream Fortress = Main {{{1}}} Halloween{{#ifeq: 0|{{Random number|5|{{CURRENTDAY2}}-{{CURRENTMONTH}}}}||{{Random number|5|{{CURRENTDAY2}}-{{CURRENTMONTH}}}}}}.png |
| Smissmas = Main {{{1}}} Smissmas.png | | Smissmas = Main {{{1}}} Smissmas.png | ||
| #default = {{#switch: {{If full moon}} | | #default = {{#switch: {{If full moon}} | ||
− | | 1 = Main {{{1}}} Halloween3.png | + | | 1 = Main {{{1}}} Halloween3.png <!-- Zombie ver. only --> |
| #default = Main {{{1}}}.png <!-- Todo: chance of alt portrait showing? --> | | #default = Main {{{1}}}.png <!-- Todo: chance of alt portrait showing? --> | ||
}} | }} | ||
}} | }} |
Revision as of 11:51, 2 December 2020
Main {{{1}}} Smissmas.png