User additions to AugsburgWrestling.info are currently disabled due to repeated vandalism.

Please contact us to create an account and start editing.

Template:Adt

From Augsburg Wrestling Wiki
Jump to navigation Jump to search

accessdate=2024-04-24

Usage: Template:Adt MUST BE SUBST'd.
Adt is designed to be used with most Template:C by providing the proper syntax and fieldname for the standardized field 'accessdate' needed when citing an URL in most of those templates.
  • When subst'd, the template provides the ISO date field and word string
"accessdate=CURRENTYEAR-CURRENTMONTH-CURRENTDAY" (all numeric with proper leading zero's)
alternatively it can be used to record an older date:
"accessdate={{{3}}}-{{{2}}}-{{{1}}}", of which any one, two, or all three may be specified, and again will add proper leading zero's and format the output.
examples
  1. |{{subst:Adt|three days ago}} — generates the string with the date of three days ago.Template:IGiven: |{{subst:Adt|5}} it will generate: Template:I5 |accessdate=2024-04-05
  2. |{{subst:Adt|three days ago|lastmonth}} — generates the string with the date of three days ago, which was in the different last month.Template:IGiven: |{{subst:Adt|3|10}} it will generate: Template:I5 |accessdate=2024-10-03
  3. "Last year"—has been left as an exercise for the pupil! <g>