• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:UpdatedDYK/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:UpdatedDYK
Updated DYK queryOn 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.
Template documentation[view] [edit] [history] [purge]
This template should always be substituted (i.e., use {{subst:UpdatedDYK}}).
This template is used by one or more bots in their standard operation.
Any breaking changes to this template, including moving it or nominating it for deletion, must be communicated in advance to the bot operator(s).
The relevant bots are: DYKUpdateBot

Contents

  • 1 Usage
    • 1.1 Minimal example
    • 1.2 Multiple articles
    • 1.3 Specific contribution

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Month and day1

Month and day the article appeared on DYK.

Example
1 January
Stringrequired
Year2

Year the article appeared on DYK.

Example
2016
Numberrequired
Article3

Article that appeared on DYK.

Example
Example
Stringrequired
Article #24

For multi-article hooks, this is the second article in the hook.

Stringoptional
Article #35

For multi-article hooks, this is the third article in the hook.

Stringoptional
Article #46

For multi-article hooks, this is the fourth article in the hook.

Stringoptional
Article #57

For multi-article hooks, this is the fifth article in the hook.

Stringoptional
Article #68

For multi-article hooks, this is the sixth article in the hook.

Stringoptional
Article #79

For multi-article hooks, this is the seventh article in the hook.

Stringoptional
Hookhook

The hook as it appeared on the Main Page.

Stringoptional
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
Stringoptional
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
Stringoptional

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.

The above documentation is transcluded from Template:UpdatedDYK/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:UpdatedDYK/sandbox&oldid=1183061317"
Last edited on 1 November 2023, at 23:35

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 1 November 2023, at 23:35 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop