Template:Userbox User for: Difference between revisions
Jump to navigation
Jump to search
(test 2) |
mNo edit summary |
||
(25 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{userbox | <noinclude>[[Category:Userbox Templates]]{{doc}}</noinclude> | ||
| border-c = rgb( | <includeonly><onlyinclude>{{#ifeq:11|{{#ifeq:{{#time:d}}|{{{day}}}|1|}}{{#ifeq:{{#time:m}}|{{{month}}}|1|}}| | ||
| id-s = background:rgb( | <!--Birthday!-->{{userbox | ||
| info-s = background:rgb( | | border-c = rgb(255, 102, 255,.3) | ||
| id = [[File:Gnome-document-open-recent.png| | | id-s = background:rgb(255, 102, 255,.1) | ||
| info = | | info-s = background:rgb(255, 102, 255,.1) | ||
}}< | | id = [[File:PinkHeartCensor.png|36px|link=]] | ||
| info = {{Userbox User for/strings|Bday}} | |||
}}|<!--Normal-->{{userbox | |||
| border-c = rgb(255, 253, 140,.3) | |||
| id-s = background:rgb(255, 253, 140,.1) | |||
| info-s = background:rgb(255, 253, 140,.1) | |||
| id = [[File:Gnome-document-open-recent.png|36px|link=]] | |||
| info = {{Userbox User for/strings|Hasbeen}}<!-- god dayum -->{{#ifeq:{{#expr:{{#time:d}} < {{{day}}}}}|1|{{#ifeq:{{#expr:{{#time:m}} < {{{month}}}}}|1|{{#ifeq:{{#ifeq:{{#time:Y}} | {{{year}}}|0|1}}|1|{{#ifeq:{{#expr:{{#time:Y}} - {{{year}}} -1 > 0}}|1| {{#expr:{{#time:Y}} - {{{year}}} -1 }}{{#ifeq:{{#ifeq:{{#expr:{{#time:Y}} - {{{year}}} - 1 }}| 1|1|0}}|1| {{Userbox User for/strings|year}}| {{Userbox User for/strings|years}}}}{{#ifeq:{{#ifeq:{{#time:m}} | {{{month}}}|0|1}}|1|{{#ifeq:{{#ifeq:{{#time:d}} | {{{day}}}|0|1}}|1|,| {{Dictionary/common|and}}}}|}}|}}|}}{{#ifeq:{{#ifeq:{{#time:m}} | {{{month}}}|0|1}}|1| {{#expr:12 + ({{#time:m}} - {{{month}}}) - 1}}{{#ifeq:{{#ifeq:{{#expr:12 + ({{#time:m}} - {{{month}}}) - 1 }}| 1|1|0}}|1| {{Userbox User for/strings|month}}| {{Userbox User for/strings|months}}}}|}}|{{#ifeq:{{#ifeq:{{#time:Y}} | {{{year}}}|0|1}}|1|{{#ifeq:{{#expr:{{#time:Y}} - {{{year}}} > 0}}|1| {{#expr:{{#time:Y}} - {{{year}}}}}{{#ifeq:{{#ifeq:{{#expr:{{#time:Y}} - {{{year}}} }}| 1|1|0}}|1| {{Userbox User for/strings|year}}| {{Userbox User for/strings|years}}}}{{#ifeq:{{#ifeq:{{#time:m}} | {{{month}}}|0|1}}|1|{{#ifeq:{{#expr:{{#time:m}} - {{{month}}} - 1 > 0}}|1|{{#ifeq:{{#ifeq:{{#time:d}} | {{{day}}}|0|1}}|1|,| {{Dictionary/common|and}}}}|}}|}}|}}|}}{{#ifeq:{{#ifeq:{{#time:m}} | {{{month}}}|0|1}}|1|{{#ifeq:{{#expr:{{#time:m}} - {{{month}}} - 1 > 0}}|1| {{#expr:{{#time:m}} - {{{month}}} - 1}}{{#ifeq:{{#ifeq:{{#expr:{{#time:m}} - {{{month}}} - 1 }}| 1|1|0}}|1| {{Userbox User for/strings|month}}| {{Userbox User for/strings|months}}}}|}}|}}|}}{{#ifeq:{{#ifeq:{{#time:d}} | {{{day}}}|0|1}}|1|{{#ifeq:{{#expr:{{#ifeq:{{#time:m}} | {{{month}}} |0|1}}or{{#ifeq:{{#time:Y}} | {{{year}}}|0|1}}}}|1| {{Dictionary/common|and}}|}} {{#expr:{{Days in month|{{#time:m}}}} + ({{#time:d}} - {{{day}}})}}{{#ifeq:{{#ifeq:{{#expr:{{Days in month|{{#time:m}}}} + ({{#time:d}} - {{{day}}}) }}| 1|1|0}}|1| {{Userbox User for/strings|day}}| {{Userbox User for/strings|days}}}}|}}|{{#ifeq:{{#expr:{{#time:m}} < {{{month}}}}}|1|{{#ifeq:{{#ifeq:{{#time:Y}} | {{{year}}}|0|1}}|1|{{#ifeq:{{#expr:{{#time:Y}} - {{{year}}} - 1 > 0}}|1| {{#expr:{{#time:Y}} - {{{year}}} -1 }}{{#ifeq:{{#ifeq:{{#expr:{{#time:Y}} - {{{year}}} - 1 }}| 1|1|0}}|1| {{Userbox User for/strings|year}}| {{Userbox User for/strings|years}}}}{{#ifeq:{{#ifeq:{{#time:m}} | {{{month}}}|0|1}}|1|{{#ifeq:{{#ifeq:{{#time:d}} | {{{day}}}|0|1}}|1|,| {{Dictionary/common|and}}}}|}}|}}|}}{{#ifeq:{{#ifeq:{{#time:m}} | {{{month}}}|0|1}}|1| {{#expr:12 + ({{#time:m}} - {{{month}}})}}{{#ifeq:{{#ifeq:{{#expr:12 + ({{#time:m}} - {{{month}}}) }}| 1|1|0}}|1| {{Userbox User for/strings|month}}| {{Userbox User for/strings|months}}}}|}}|{{#ifeq:{{#ifeq:{{#time:Y}} | {{{year}}}|0|1}}|1|{{#ifeq:{{#expr:{{#time:Y}} - {{{year}}} > 0}}|1| {{#expr:{{#time:Y}} - {{{year}}}}}{{#ifeq:{{#ifeq:{{#expr:{{#time:Y}} - {{{year}}} }}| 1|1|0}}|1| {{Userbox User for/strings|year}}| {{Userbox User for/strings|years}}}}{{#ifeq:{{#ifeq:{{#time:m}} | {{{month}}}|0|1}}|1|{{#ifeq:{{#ifeq:{{#time:d}} | {{{day}}}|0|1}}|1|,| {{Dictionary/common|and}}}}|}}|}}|}}{{#ifeq:{{#ifeq:{{#time:m}} | {{{month}}}|0|1}}|1| {{#expr:{{#time:m}} - {{{month}}}}}{{#ifeq:{{#ifeq:{{#expr:{{#time:m}} - {{{month}}} }}| 1|1|0}}|1| {{Userbox User for/strings|month}}| {{Userbox User for/strings|months}}}}|}}|}}{{#ifeq:{{#ifeq:{{#time:d}} | {{{day}}}|0|1}}|1|{{#ifeq:{{#expr:{{#ifeq:{{#time:m}} | {{{month}}} |0|1}}or{{#ifeq:{{#time:Y}} | {{{year}}}|0|1}}}}|1| {{Dictionary/common|and}}|}} {{#expr:{{#time:d}} - {{{day}}}}}{{#ifeq:{{#ifeq:{{#expr:{{#time:d}} - {{{day}}} }}| 1|1|0}}|1| {{Userbox User for/strings|day}}| {{Userbox User for/strings|days}}}}|}}|}} | |||
}}}} | |||
</onlyinclude></includeonly> |
Latest revision as of 04:03, 18 August 2024
The above documentation is transcluded from Template:Userbox User for/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.