Template:Birthday/Core: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (Don't really need the year. Maybe adding an age can be a later feature.)
No edit summary
Line 1: Line 1:
{{#vardefine:x|1}}{{#vardefine:date|{{CURRENTMONTHNAME}} {{CURRENTDAY}}}}
{{#vardefine:x|1}}{{#vardefine:y|0}}{{#vardefine:date|{{CURRENTMONTHNAME}} {{CURRENTDAY}}}}It is {{#while:
{{#while:
|{{#if:{{{name{{#var:x}}|}}}|true}}
|{{#if:{{{name{{#var:x}}|}}}|true}}
|Name={{{name{{#var:x}}}}} Day={{{day{{#var:x}}}}}<br>
|{{#ifeq:{{{day{{#var:x}}}}}|{{#var:date}}|{{{name{{#var:x}}}}}'s&#32;{{#vardefine:y|1}}}}{{#vardefine:x|{{#expr:{{#var:x}}+1}}}}
{{#ifeq:{{{day{{#var:x}}}}}|{{#var:date}}|{{{name{{#var:x}}}}}}}
}}{{#ifeq:{{#var:y}}|0|no one's &#32;}}birthday today!
{{#vardefine:x|{{#expr:{{#var:x}}+1}}}}
}}

Revision as of 21:13, November 2, 2017

It is no one's birthday today!