Template:Birthday/Core: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 6: Line 6:
|{{#ifeq:{{{day{{#var:x}}}}}|{{#var:date}}|{{#vardefine:bdays|{{#expr:{{#var:bdays}}+1}}}}}}{{#vardefine:x|{{#expr:{{#var:x}}+1}}}}
|{{#ifeq:{{{day{{#var:x}}}}}|{{#var:date}}|{{#vardefine:bdays|{{#expr:{{#var:bdays}}+1}}}}}}{{#vardefine:x|{{#expr:{{#var:x}}+1}}}}
}}{{#vardefine:x|1}}It is {{#while:
}}{{#vardefine:x|1}}It is {{#while:
{{#if:{{{name{{#var:x}}|}}}|true}}
|{{#if:{{{name{{#var:x}}|}}}|true}}
|{{#ifeq:{{{day{{#var:x}}}}}|{{#var:date}}|{{#ifexpr:{{#var:x}}>1|,}} {{#ifeq:{{#var:x}}|{{#var:bdays}}|{{#ifexpr:{{#var:bdays}}>1|and }}}}[[User:{{{name{{#var:x}}}}}|{{{name{{#var:x}}}}}]]'s}}{{#vardefine:x|{{#expr:{{#var:x}}+1}}}}
|{{#ifeq:{{{day{{#var:x}}}}}|{{#var:date}}|{{#ifexpr:{{#var:x}}>1|,}} {{#ifeq:{{#var:x}}|{{#var:bdays}}|{{#ifexpr:{{#var:bdays}}>1|and }}}}[[User:{{{name{{#var:x}}}}}|{{{name{{#var:x}}}}}]]'s}}{{#vardefine:x|{{#expr:{{#var:x}}+1}}}}
}}{{#ifeq:{{#var:bdays}}|0|no one's}} birthday today{{#ifexpr:{{#var:bdays}}>0|!|...}}
}}{{#ifeq:{{#var:bdays}}|0|no one's}} birthday today{{#ifexpr:{{#var:bdays}}>0|!|...}}
|}
|}

Revision as of 12:54, December 18, 2017

Cake.png

It is no one's birthday today...