Template:User Wiki age: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
No edit summary
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}}}-{{#ifexpr:{{CURRENTMONTH}}>{{{month}}}
//-->{{#ifexpr:{{#expr:{{CURRENTYEAR}}-{{{year}}}-{{#ifexpr:{{CURRENTMONTH}}>{{{month}}}
   |0
   |0
   |{{#ifexpr:{{CURRENTMONTH}}<{{{month|02}}}
   |{{#ifexpr:{{CURRENTMONTH}}<{{{month|02}}}
Line 28: Line 28:
   }}
   }}
   }}
   }}
  }}}} != 1 | years | year}}, <!--
}}}}}}|0||{{#expr:{{CURRENTYEAR}}-{{{year}}}-{{#ifexpr:{{CURRENTMONTH}}>{{{month}}}
//-->{{#expr:{{CURRENTMONTH}}-{{{month}}}+{{#ifexpr:{{CURRENTDAY}}>={{{day}}}
  |0
  |{{#ifexpr:{{CURRENTMONTH}}<{{{month|02}}}
  |1
  |{{#ifexpr:{{CURRENTDAY}}>={{{day}}}
    |0
    |1
  }}
  }}
}}}} {{#ifexpr: {{#expr: {{CURRENTYEAR}}-{{{year}}}-{{#ifexpr:{{CURRENTMONTH}}>{{{month}}}
  |0
  |{{#ifexpr:{{CURRENTMONTH}}<{{{month}}}
  |1
  |{{#ifexpr:{{CURRENTDAY}}>={{{day}}}
    |0
    |1
  }}
  }}
  }}}} != 1 | years | year}}, }}<!--
//-->{{#ifexpr:{{#expr:{{CURRENTMONTH}}-{{{month}}}+{{#ifexpr:{{CURRENTDAY}}>={{{day}}}
  |{{#ifexpr:{{CURRENTMONTH}}>={{{month}}}
  |0
  |12
  }}
  |{{#ifexpr:{{CURRENTMONTH}}>{{{month}}}
  |-1
  |11
  }}
}}}} <!--
//-->{{#ifexpr: {{#expr:{{CURRENTMONTH}}-{{{month}}}+{{#ifexpr:{{CURRENTDAY}}>={{{day}}}
  |{{#ifexpr:{{CURRENTMONTH}}>={{{month}}}
  |0
  |12
  }}
  |{{#ifexpr:{{CURRENTMONTH}}>{{{month}}}
  |-1
  |11
  }}
}}}}}}|0|{{#ifexpr:{{#expr:{{CURRENTYEAR}}-{{{year}}}-{{#ifexpr:{{CURRENTMONTH}}>{{{month}}}
  |0
  |{{#ifexpr:{{CURRENTMONTH}}<{{{month|02}}}
  |1
  |{{#ifexpr:{{CURRENTDAY}}>={{{day}}}
    |0
    |1
  }}
  }}
}}}} {{#ifexpr: {{#expr: {{CURRENTYEAR}}-{{{year}}}-{{#ifexpr:{{CURRENTMONTH}}>{{{month}}}
  |0
  |{{#ifexpr:{{CURRENTMONTH}}<{{{month}}}
  |1
  |{{#ifexpr:{{CURRENTDAY}}>={{{day}}}
    |0
    |1
  }}
  }}
}}}}}}|0||0 months, }}|{{#expr:{{CURRENTMONTH}}-{{{month}}}+{{#ifexpr:{{CURRENTDAY}}>={{{day}}}
   |{{#ifexpr:{{CURRENTMONTH}}>={{{month}}}
   |{{#ifexpr:{{CURRENTMONTH}}>={{{month}}}
   |0
   |0
Line 48: Line 103:
   |11
   |11
   }}
   }}
  }}}} != 1 | months | month}}, <!--
  }}}} != 1 | months | month}}, }}<!--
//-->and {{#expr:{{CURRENTDAY}}-{{{day}}}+{{#ifexpr:{{CURRENTDAY}}>={{{day}}}
//-->and {{#expr:{{CURRENTDAY}}-{{{day}}}+{{#ifexpr:{{CURRENTDAY}}>={{{day}}}
   |0
   |0

Revision as of 21:49, 14 August 2020

Achievement Overclocker.jpg As of May 3, 2024,
I have been a Portal Wikipedian for Expression error: Unexpected < operator.Expression error: Unexpected < operator.and Expression error: Unrecognized punctuation character "{". Expression error: Unexpected < operator.. (since {{{day}}}, {{{year}}})



The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
This is normal.

Documentation for User Wiki age

Usage

Sample code Resulting infobox
{{User Wiki age|day=12|month=02|year=2011}}
Achievement Overclocker.jpg As of May 3, 2024,
I have been a Portal Wikipedian for 00and 21 days. (since February 12, 2011)


{{User Wiki age|year=2011|month=02|day=12}}
Achievement Overclocker.jpg As of May 3, 2024,
I have been a Portal Wikipedian for 00and 21 days. (since February 12, 2011)


{{User Wiki age|year=2011|month=02|day=12|link=true}}
Achievement Overclocker.jpg As of May 3, 2024,
I have been a Portal Wikipedian for 00and 21 days. (since February 12, 2011)


{{User Wiki age|day=12|month=02|year=2011|link=true}}
Achievement Overclocker.jpg As of May 3, 2024,
I have been a Portal Wikipedian for 00and 21 days. (since February 12, 2011)