Template:User Wiki age: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{userbox | id = 45px |border-c = #000000 |border-s = 1 |id-c = white |id-s = 14 |id-fc = #000000 |info-c =..." |
No edit summary |
||
| Line 10: | Line 10: | ||
|info-fc = #000000 | |info-fc = #000000 | ||
| info = <small>''As of {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}},''<br /></small>I have been a [[Main_Page|Portal Wikipedian]] for <!-- | | info = <small>''As of {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}},''<br /></small>I have been a [[Main_Page|Portal Wikipedian]] for <!-- | ||
//-->{{#expr:{{CURRENTYEAR}}-{{{year|2011}}}-{{#ifexpr:{{CURRENTMONTH}}>{{{month | //-->{{#expr:{{CURRENTYEAR}}-{{{year|2011}}}-{{#ifexpr:{{CURRENTMONTH}}>{{{month}}} | ||
|0 | |0 | ||
|{{#ifexpr:{{CURRENTMONTH}}<{{{month|02}}} | |{{#ifexpr:{{CURRENTMONTH}}<{{{month|02}}} | ||
|1 | |1 | ||
|{{#ifexpr:{{CURRENTDAY}}>={{{day | |{{#ifexpr:{{CURRENTDAY}}>={{{day}}} | ||
|0 | |0 | ||
|1 | |1 | ||
}} | }} | ||
}} | }} | ||
}}}} {{#ifexpr: {{#expr: {{CURRENTYEAR}}-{{{year | }}}} {{#ifexpr: {{#expr: {{CURRENTYEAR}}-{{{year}}}-{{#ifexpr:{{CURRENTMONTH}}>{{{month}}} | ||
|0 | |0 | ||
|{{#ifexpr:{{CURRENTMONTH}}<{{{month | |{{#ifexpr:{{CURRENTMONTH}}<{{{month}}} | ||
|1 | |1 | ||
|{{#ifexpr:{{CURRENTDAY}}>={{{day | |{{#ifexpr:{{CURRENTDAY}}>={{{day}}} | ||
|0 | |0 | ||
|1 | |1 | ||
| Line 29: | Line 29: | ||
}} | }} | ||
}}}} != 1 | years | year}}, <!-- | }}}} != 1 | years | year}}, <!-- | ||
//-->{{#expr:{{CURRENTMONTH}}-{{{month | //-->{{#expr:{{CURRENTMONTH}}-{{{month}}}+{{#ifexpr:{{CURRENTDAY}}>={{{day}}} | ||
|{{#ifexpr:{{CURRENTMONTH}}>={{{month | |{{#ifexpr:{{CURRENTMONTH}}>={{{month}}} | ||
|0 | |0 | ||
|12 | |12 | ||
}} | }} | ||
|{{#ifexpr:{{CURRENTMONTH}}>{{{month | |{{#ifexpr:{{CURRENTMONTH}}>{{{month}}} | ||
|-1 | |-1 | ||
|11 | |11 | ||
}} | }} | ||
}}}} <!-- | }}}} <!-- | ||
//-->{{#ifexpr: {{#expr:{{CURRENTMONTH}}-{{{month | //-->{{#ifexpr: {{#expr:{{CURRENTMONTH}}-{{{month}}}+{{#ifexpr:{{CURRENTDAY}}>={{{day}}} | ||
|{{#ifexpr:{{CURRENTMONTH}}>={{{month | |{{#ifexpr:{{CURRENTMONTH}}>={{{month}}} | ||
|0 | |0 | ||
|12 | |12 | ||
}} | }} | ||
|{{#ifexpr:{{CURRENTMONTH}}>{{{month | |{{#ifexpr:{{CURRENTMONTH}}>{{{month}}} | ||
|-1 | |-1 | ||
|11 | |11 | ||
}} | }} | ||
}}}} != 1 | months | month}}, <!-- | }}}} != 1 | months | month}}, <!-- | ||
//-->and {{#expr:{{CURRENTDAY}}-{{{day | //-->and {{#expr:{{CURRENTDAY}}-{{{day}}}+{{#ifexpr:{{CURRENTDAY}}>={{{day}}} | ||
|0 | |0 | ||
|{{#switch:{{CURRENTMONTH}} | |{{#switch:{{CURRENTMONTH}} | ||
| Line 59: | Line 59: | ||
}} | }} | ||
}} | }} | ||
}}}} {{#ifexpr: {{#expr:{{CURRENTDAY}}-{{{day | }}}} {{#ifexpr: {{#expr:{{CURRENTDAY}}-{{{day}}}+{{#ifexpr:{{CURRENTDAY}}>={{{day}}} | ||
|0 | |0 | ||
|{{#switch:{{CURRENTMONTH}} | |{{#switch:{{CURRENTMONTH}} | ||
Revision as of 19:31, 29 July 2020
| As of April 1, 2026, I have been a Portal Wikipedian for Expression error: Unexpected < operator. Expression error: Unexpected < operator., Expression error: Unrecognized punctuation character "{". Expression error: Unexpected < operator., and Expression error: Unrecognized punctuation character "{". Expression error: Unexpected < operator.. |
The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
This is normal.
This is normal.
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}} |
|