Template:Userbox User for: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Should work?)
(test 2)
Line 1: Line 1:
{{#ifeq: {{#expr:{{#expr: {{#expr: 12 * {{#expr: {{CURRENTYEAR}} - {{{year|2005}}}}}}}<!-- How many years--> + {{#expr: {{CURRENTMONTH}} - {{{month|05}}}}}<!-- How many months-->}} < 12}} | 1 |
{{userbox
{{#expr: {{#expr: 12 * {{#expr: {{CURRENTYEAR}} - {{{year|2005}}}}}}}<!-- How many years--> + {{#expr: {{CURRENTMONTH}} - {{{month|05}}}}}<!-- How many months-->}} months
| border-c = rgb(125, 125, 125,.3)
| <!-- More than or equal to 12 months -->
| id-s = background:rgb(125, 125, 125,.1)
{{#expr: trunc{{#expr: {{#expr: {{#expr: 12 * {{#expr: {{CURRENTYEAR}} - {{{year|2005}}}}}}}<!-- How many years--> + {{#expr: {{CURRENTMONTH}} - {{{month|05}}}}}<!-- How many months-->}} / 12}}}} years
| info-s = background:rgb(125, 125, 125,.1)
{{#expr:{{#expr: {{#expr: 12 * {{#expr: {{CURRENTYEAR}} - {{{year|2005}}}}}}}<!-- How many years--> + {{#expr: {{CURRENTMONTH}} - {{{month|05}}}}}<!-- How many months-->}} mod 12}} months
| id = [[File:Gnome-document-open-recent.png|48px|link=]]
}}
| info = This user has been a member of the VDC for {{#expr: {{CURRENTYEAR}} - {{{year}}} }} years, {{#expr: ({{CURRENTDAY}} - {{{day}}})/365 }} days, {{#expr: ({{CURRENTMINUTE}} - {{{minute}}})/60 }} minutes, and {{#expr: ({{CURRENTSECONDS}} - {{{seconds}}})/60 }} seconds,
}}<noinclude>[[Category:Userbox Templates]]</noinclude>

Revision as of 11:42, 1 April 2024

Gnome-document-open-recent.png

This user has been a member of the VDC for Expression error: Unrecognized punctuation character "{". years, Expression error: Unrecognized punctuation character "{". days, Expression error: Unrecognized punctuation character "[". minutes, and Expression error: Unrecognized punctuation character "[". seconds,