This is meant to ease referencing of DYK nominations at WT:DYK.

Usage edit

{{dyknstr|1|prep|queue|2}}

  • 1: Title of the article
  • prep: If hook is in prep, specify 1–7 for the prep number
  • queue: If hook is in queue, specify 1–7 for the queue number
  • 2: If the nomination subpage is at a different link, put that here (without Template:Did you know nominations/)

Examples edit

  1. {{dyknstr|SLAPP Suits}} produces SLAPP Suits (nom)
  2. {{dyknstr|SLAPP Suits|SLAPP Suits (Last Week Tonight)}} produces SLAPP Suits (nom)
  3. {{dyknstr|SLAPP Suits|prep=2}} produces Prep 2: SLAPP Suits (nom)
  4. {{dyknstr|SLAPP Suits|queue=4}} produces Queue 4: SLAPP Suits (nom)
  5. {{dyknstr|SLAPP Suits|prep=2|SLAPP Suits (Last Week Tonight)}} produces Prep 2: SLAPP Suits (nom)

TemplateData edit

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

TemplateData for DYK nomination string

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
article1

sets the article referenced; do not include Template:Did you know nominations/, that's the whole point

Example
SLAPP Suits (Last Week Tonight)
Stringsuggested
nomination page2

sets the nomination page to be referenced, if different from the article title

Default
{{{1}}}
Unknownoptional
ss

Setting this to a blank value removes the safesubst:, if you wanna do that for some reason.

Default
safesubst:
Unknownoptional
prepprep

sets the prep number, if the nomination is in prep

Suggested values
1 2 3 4 5 6 7
Default
no prep
Example
prep=4
Numbersuggested
queuequeue

sets the queue number, if the nomination is in queue

Suggested values
1 2 3 4 5 6 7
Default
no queue
Example
queue=4
Numbersuggested