Jump to content

Template:UpdatedDYK/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:UpdatedDYK in articles based on its TemplateData.

TemplateData for UpdatedDYK

DYK credit template for user talk pages.
Month and day1
Month and day the article appeared on DYK.
Default
1 January
Year2
Year the article appeared on DYK.
Default
2016
Article3
Article that appeared on DYK.
Default
Example
Article #24
For multi-article hooks, this is the second article in the hook.
Article #35
For multi-article hooks, this is the third article in the hook.
Article #46
For multi-article hooks, this is the fourth article in the hook.
Article #57
For multi-article hooks, this is the fifth article in the hook.
Article #68
For multi-article hooks, this is the sixth article in the hook.
Article #79
For multi-article hooks, this is the seventh article in the hook.
Hookhook
The hook as it appeared on the Main Page.
DYK nomination pagenompage
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.
Default
Template:Did you know nominations/<Article>
Example
Template:Did you know nominations/Carl Craig (politician), State Auditor of Mississippi, Carl C. White
Specific contribution to DYK articleaction
If you wish to be more specific about how the editor helped, override the default text with this parameter.
Suggested values
  • created
  • substantially expanded
  • brought to good article status
Default
created, substantially expanded, or brought to good article status
Example
nominated

Defaulted 1 required *** Defaulted 2 required *** Defaulted 3 required

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.