Template:UpdatedDYK/sandbox
![]() | On 1 January 2016, Did you know was updated with a fact from the article Wikipedia, which you recently created, substantially expanded, or brought to good article status. You are welcome to check how many page hits the article got while on the front page (here's how, daily totals), and it may be added to the statistics page if the total is over 5,000. Finally, if you know of an interesting fact from another recently created article, then please feel free to suggest it on the Did you know talk page. |
![]() | This is the template sandbox page for Template:UpdatedDYK (diff). See also the companion subpage for test cases. |
![]() | This template should always be substituted (i.e., use {{subst:UpdatedDYK}} ). |
![]() | This template is used by one or more bots.
If you intend to make significant changes to this template, move it, or nominate it for deletion, please notify the bot operator(s) in advance. The relevant bots are: DYKUpdateBot. |
Usage
[edit]TemplateData for UpdatedDYK
DYK credit template for user talk pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Month and day | 1 | Month and day the article appeared on DYK.
| String | required |
Year | 2 | Year the article appeared on DYK.
| Number | required |
Article | 3 | Article that appeared on DYK.
| String | required |
Article #2 | 4 | For multi-article hooks, this is the second article in the hook. | String | optional |
Article #3 | 5 | For multi-article hooks, this is the third article in the hook. | String | optional |
Article #4 | 6 | For multi-article hooks, this is the fourth article in the hook. | String | optional |
Article #5 | 7 | For multi-article hooks, this is the fifth article in the hook. | String | optional |
Article #6 | 8 | For multi-article hooks, this is the sixth article in the hook. | String | optional |
Article #7 | 9 | For multi-article hooks, this is the seventh article in the hook. | String | optional |
Hook | hook | The hook as it appeared on the Main Page. | String | optional |
DYK nomination page | nompage | Link to the DYK nomination conversation. Recommended to set this for multi-article hooks as the default will usually not be correct for this scenario.
| String | optional |
Specific contribution to DYK article | action | If you wish to be more specific about how the editor helped, override the default text with this parameter.
| String | optional |
Minimal example
[edit]{{subst:UpdatedDYK|1 January|2016|One}}
Replacing 1 January
with the relevant day/month, 2016
with the relevant year, and One
with the relevant article.
This yields:
On 1 January 2016, Did you know was updated with a fact from the article One, which you recently created, substantially expanded, or brought to good article status. You are welcome to check how many pageviews the nominated article or articles got while on the front page (here's how, One), and the hook may be added to the statistics page after its run on the Main Page has completed. Finally, if you know of an interesting fact from another recently created article, then please feel free to suggest it on the Did you know talk page.
Multiple articles
[edit]If multiple articles are applicable, simply append them one after the other as additional parameters:
{{subst:UpdatedDYK|1 January|2016|One|Two|Three}}
This yields:
On 1 January 2016, Did you know was updated with facts from the articles One, Two, and Three, which you recently created, substantially expanded, or brought to good article status. You are welcome to check how many pageviews the nominated article or articles got while on the front page (here's how, One,Two,Three), and the hook may be added to the statistics page after its run on the Main Page has completed. Finally, if you know of an interesting fact from another recently created article, then please feel free to suggest it on the Did you know talk page.
Specific contribution
[edit]If you wish to be more specific about how the editor you're thanking helped, you may provide |action=
, as e.g.:
{{subst:UpdatedDYK|action=expanded with excellent translations from [[Tagalog Wikipedia]]|1 January|2016|One|Two|Three}}
This yields:
On 1 January 2016, Did you know was updated with facts from the articles One, Two, and Three, which you recently expanded with excellent translations from Tagalog Wikipedia. You are welcome to check how many pageviews the nominated article or articles got while on the front page (here's how, One,Two,Three), and the hook may be added to the statistics page after its run on the Main Page has completed. Finally, if you know of an interesting fact from another recently created article, then please feel free to suggest it on the Did you know talk page.
A wrapper template, {{UpdatedDYKNom}}, can be used for nominators.