Template:Update link/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) No edit summary |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
<nowiki>{{Update link|May|3|2024}}</nowiki> generates {{Update link|May|3|2024}}. | <nowiki>{{Update link|May|3|2024}}</nowiki> generates {{Update link|May|3|2024}}. | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 18: | Line 17: | ||
"description": "Day", | "description": "Day", | ||
"example": "1", | "example": "1", | ||
"type": " | "type": "number", | ||
"required": true | "required": true | ||
}, | }, | ||
| Line 24: | Line 23: | ||
"description": "Year", | "description": "Year", | ||
"example": "2024", | "example": "2024", | ||
"type": " | "type": "number", | ||
"required": true | "required": true | ||
} | } | ||
} | }, | ||
"description": " ", | |||
"format": "inline" | |||
} | } | ||
</templatedata> | </templatedata> | ||
<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | |||
Latest revision as of 03:29, 6 June 2026
Usage
[edit source]This template creates a simple update link. The date is automatically translated on language subpages (see Data:Dictionary to view the related strings).
Example
[edit source]{{Update link|May|3|2024}} generates May 3, 2024.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | Month
| String | required |
| 2 | 2 | Day
| Number | required |
| 3 | 3 | Year
| Number | required |