Template:User editor for: Difference between revisions

From A2wiki
Jump to navigation Jump to search
m (1 revision imported)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
     | {{#ifexpr:{{CURRENTDAY}}={{{day|0}}}
     | {{#ifexpr:{{CURRENTDAY}}={{{day|0}}}
       | Today is this user's {{#ifeq:{{CURRENTYEAR}}|{{{year}}}
       | Today is this user's {{#ifeq:{{CURRENTYEAR}}|{{{year}}}
         | '''first day''' on Wikipedia
         | '''first day''' on A2wiki
         | '''[[:Category:Current Wikipedia birthdays|WikiBirthday]]'''
         | '''[[:Category:Current A2wiki birthdays|WikiBirthday]]'''
         }}.<includeonly>[[Category:Current Wikipedia birthdays|{{ROOTPAGENAMEE}}]]</includeonly>
         }}.<includeonly>[[Category:Current A2wiki birthdays|{{ROOTPAGENAMEE}}]]</includeonly>
       }}
       }}
     }}
     }}
   }} This user has been {{#if:{{{link|}}}
   }} This user has been {{#if:{{{link|}}}
   | [//en.wikipedia.org/w/index.php?title=Special%3ALog&type=newusers&page=User%3A{{ROOTPAGENAMEE}}&month=-1 on Wikipedia]
   | [//attempt-2.com/w/index.php?title=Special%3ALog&type=newusers&page=User%3A{{ROOTPAGENAMEE}}&month=-1 on A2wiki]
   | {{#if:{{{diff|}}}
   | {{#if:{{{diff|}}}
     | [{{{diff}}} on Wikipedia]
     | [{{{diff}}} on A2wiki]
     | on Wikipedia
     | on A2wiki
     }}
     }}
   }} for '''{{Age in years, months and days|year={{{year|<noinclude>2001</noinclude>}}}|month={{{month|<noinclude>1</noinclude>}}}|day={{{day|<noinclude>15</noinclude>}}}|sc={{{sc|}}} }}'''.</span>
   }} for '''{{Age in years, months and days|year={{{year|<noinclude>2001</noinclude>}}}|month={{{month|<noinclude>1</noinclude>}}}|day={{{day|<noinclude>15</noinclude>}}}|sc={{{sc|}}} }}'''.</span>
}}<noinclude>{{documentation}}</noinclude>
}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 17:29, 5 December 2022

Noia 64 apps karm.svg This user has been on A2wiki for 23 years, 5 months and 19 days.
Template documentation[view] [edit] [history] [purge]
TemplateStyles' src attribute must not be empty.

Add this template to your user page, with the year, month, and day your account was created. If you don't know the day your account was created, see your preferences here.

Usage[edit source]

Leading zero before single-digit month or day, is at discretion of the user.

Sample code Resulting infobox
{{User editor for|year=2001|month=01|day=15}}
Noia 64 apps karm.svg This user has been on A2wiki for 23 years, 5 months and 19 days.
{{User editor for|year=2001|month=01|day=15|link=true}}
Noia 64 apps karm.svg This user has been on A2wiki for 23 years, 5 months and 19 days.
{{User editor for|year=2001|month=01|day=15|diff=https://attempt-2.com/w/index.php?title=Special%3ALog&type=newusers&user=&page=Example}}
Noia 64 apps karm.svg This user has been on A2wiki for 23 years, 5 months and 19 days.
Adding a serial comma:
{{User editor for|year=2001|month=01|day=15|sc=y}}
Noia 64 apps karm.svg This user has been on A2wiki for 23 years, 5 months, and 19 days.

See also[edit source]

TemplateStyles' src attribute must not be empty.