Jump to content

Template:LASTYEAR

From Elite Dangerous Wiki
Revision as of 16:30, 8 January 2022 by Wikipedia>Plastikspork (Moving to subpage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

2025

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:LASTYEAR/doc" to edit its documentation if it is available. (How does this work?)

Usage

Display the current year offset by one ie. current year - 1 year. If the first parameter is set (optional), it will offset by that number of years backwards.

Examples

example 1
{{LASTYEAR}}
displays
2025
example 2
{{LASTYEAR|4}}
displays
2022

See also


For the magic words with the same or similar names, see MediaWikiWiki:Help:Magic words#Date and time.

Multiple units of time

Type Adjustable Current Last Next
Date and time
Date only
Month and year only
Time only
  • {{Timeonly}} (Adjustable to 12 h format)
Banners
  • {{Right now}}
    (Blue with time and number of Wikipedia articles)
Timestamp

Single units of time

Unit of time Adjustable Current Last Next
Second
Minute
Hour
Week
Day of Week
Month
Day of Month
Year
Day of Year
Decade
Century
Millenium

Date and time templates made for substitution

Parser functions

Individual templates

Categories of templates