Difference between revisions of "Template:User Wiki age"
(sorry, I don't see the reason for these changes, and it made the userbox shows 2 month strings) |
m |
||
Line 5: | Line 5: | ||
| id-fc = #fff | | id-fc = #fff | ||
| id-s = 15 | | id-s = 15 | ||
− | | info = <small>''As of {{CURRENTDAY}} {{CURRENTMONTHNAME}}, {{CURRENTYEAR}},''<br /></small>I have been a [[ | + | | info = <small>''As of {{CURRENTDAY}} {{CURRENTMONTHNAME}}, {{CURRENTYEAR}},''<br /></small>I have been a [[Team Fortress Wiki|TF2 Wiki member]] for {{#invoke:Age|age_ymd|{{{year|2011}}}|{{{month|2}}}|{{{day|12}}}}}. <small>(Since {{{day}}} <noinclude>{{{month}}}</noinclude>{{#switch: {{{month}}} |
|1=January | |1=January | ||
|2=February | |2=February |
Revision as of 17:31, 10 August 2022
As of 1 May, 2024, I have been a TF2 Wiki member for 13 years, 2 months, 17 days. (Since {{{day}}} {{{month}}}, {{{year}}}) |
This template uses Module:Age, a script written in the Lua programming language. Please see Help:Lua if you want to learn more about Lua or help convert other templates into Lua modules. |
Documentation for User Wiki age
Usage
Sample code | Resulting infobox | ||
---|---|---|---|
{{User Wiki age|day=12|month=02|year=2011}} |
| ||
{{User Wiki age|year=2011|month=02|day=12}} |
| ||
{{User Wiki age|year=2011|month=02|day=12|link=true}} |
| ||
{{User Wiki age|day=12|month=02|year=2011|link=true}} |
|