Difference between revisions of "Template:Birthday"
From Nookipedia, the Animal Crossing wiki
SuperHamster (talk | contribs) m (Removing unnecessary pipe) |
PanchamBro (talk | contribs) (updating template look) |
||
(14 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | [[File:{{{image}}}|{{{size}}}|center|{{{name}}}|link={{{name}}}]] | + | <div style="vertical-align: middle; margin: 0 auto; background: #f8f2d7; border-radius: 10px; padding: 3px; width: 90%;>[[File:{{{image|Bob NH.png}}}|{{{size|100px}}}|center|{{{name|Bob}}}|link={{{namelink|{{{name|Bob}}}}}}]]</div> |
− | <center>< | + | <div style="padding: 2px; text-align:center;"><span style="font-size:1.5em;">'''Today is {{{name|Bob}}}'s birthday!'''</span> |
+ | <div style="font-size:0.9em; text-align:center;">'''[[{{{namelink|{{{name|Bob}}}}}}|More on {{{name|Bob}}}...]]'''</div> | ||
+ | {| style="margin: 0 auto; width: 75%; background: #fff3f3; padding:0" class="roundy" | ||
+ | |- | ||
+ | | style="font-size:0.8em; text-align:center;" | | ||
+ | {{#ifexpr:{{{day|1}}}-1 = 0 | ||
+ | |{{#ifexpr:{{{month|1}}}-1 = 0 | ||
+ | |[[Schedule:Birthdays/December/31|<font color=#000000>←</font>Dec .31]] | ||
+ | |[[Schedule:Birthdays/{{MonthName|{{#expr:{{{month|1}}}-1}}}}/{{MonthLength|{{#expr:{{{month|1}}}-1}}}}|<font color=#000000>←</font>{{MonthName|{{#expr:{{{month|1}}}-1}}|y}}. {{MonthLength|{{#expr:{{{month|1}}}-1}}}}]] | ||
+ | }} | ||
+ | |[[Schedule:Birthdays/{{MonthName|{{{month|1}}}}}/{{#expr:{{{day|1}}}-1}}|<font color=#000000>←</font>{{MonthName|{{{month|1}}}|y}}. {{#expr:{{{day|1}}}-1}}]] | ||
+ | }} <nowiki>|</nowiki> <!-- | ||
− | |||
− | {| | + | -->'''{{MonthName|{{{month|1}}}|y}} {{{day|1}}}''' <nowiki>|</nowiki> <!-- |
− | | | + | |
− | | < | + | |
− | + | -->{{#ifexpr: {{{day|1}}}+1 > {{MonthLength|{{{month|1}}}}} | |
− | + | |{{#ifexpr:{{{month|1}}}+1 > 12 | |
+ | |[[Schedule:Birthdays/January/1|Jan. 1<font color=#000000>→</font>]] | ||
+ | |[[Schedule:Birthdays/{{MonthName|{{#expr:{{{month|1}}}+1}}}}/1|{{MonthName|{{#expr:{{{month|1}}}+1}}|y}}. 1<font color=#000000>→</font>]] | ||
+ | }} | ||
+ | |[[Schedule:Birthdays/{{MonthName|{{{month|1}}}}}/{{#expr:{{{day|1}}}+1}}|{{MonthName|{{{month|1}}}|y}}. {{#expr:{{{day|1}}}+1}}<font color=#000000>→</font>]] | ||
+ | }} | ||
+ | |}</div> | ||
+ | <noinclude> | ||
+ | |||
+ | <pre> | ||
{{Birthday | {{Birthday | ||
− | |name= | + | |name= |
− | |image= | + | |image= |
|size= | |size= | ||
− | | | + | |month= |
− | | | + | |day= |
− | + | }}</pre> | |
− | + | [[Category:Main Page templates]]</noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | }}</pre></noinclude> |
Latest revision as of 22:21, May 31, 2022
{{Birthday |name= |image= |size= |month= |day= }}