Difference between revisions of "Template:User Wiki age"
(moved icon down to 40px so it wont use padding incorrectly, feel free to undo) |
|||
Line 5: | Line 5: | ||
| id-fc = #fff | | id-fc = #fff | ||
| id-s = 15 | | id-s = 15 | ||
− | | info = <small>''As of {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}},''<br /></small>I have been a [[Main Page|TF2 Wiki member]] for {{#invoke:Age|age_ymd|{{{year|2011}}}|{{{month|2}}}|{{{day|12}}}}}. | + | | info = <small>''As of {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}},''<br /></small>I have been a [[Main Page|TF2 Wiki member]] for {{#invoke:Age|age_ymd|{{{year|2011}}}|{{{month|2}}}|{{{day|12}}}}}. <small>(since {{#switch: {{{month}}} |
+ | |1=January | ||
+ | |2=February | ||
+ | |3=March | ||
+ | |4=April | ||
+ | |5=May | ||
+ | |6=June | ||
+ | |7=July | ||
+ | |8=August | ||
+ | |9=September | ||
+ | |10=October | ||
+ | |11=November | ||
+ | |12=December | ||
+ | |01=January | ||
+ | |02=February | ||
+ | |03=March | ||
+ | |04=April | ||
+ | |05=May | ||
+ | |06=June | ||
+ | |07=July | ||
+ | |08=August | ||
+ | |09=September}} {{{day}}}, {{{year}}})</small> | ||
| info-c = #EECFA1 | | info-c = #EECFA1 | ||
| info-p = 2px 4px | | info-p = 2px 4px |
Revision as of 13:04, 30 July 2020
As of May 1, 2024, I have been a TF2 Wiki member for 13 years, 2 months, 17 days. (since {{{day}}}, {{{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}} |
|