Template:Update link: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Removed if lang template so update links on translated pages work correctly. |
m Added #ifexist. |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>[[Update:{{{1}}} {{{2}}}, {{{3}}}|{{#invoke:Dictionary| | <includeonly>[[{{#ifexist:Update:{{{1}}} {{{2}}}, {{{3}}}{{if lang}}|Update:{{{1}}} {{{2}}}, {{{3}}}{{if lang}}|Update:{{{1}}} {{{2}}}, {{{3}}}}}|{{#invoke:Dictionary|translate|update-date-fmt|{{Translate|{{{1}}}}}|{{{2}}}|{{{3}}}}}]]</includeonly><noinclude>{{Documentation}}</noinclude> | ||
Latest revision as of 02:24, 26 May 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 |