Jump to content

Template:DYK nomination string/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Theleekycauldron (talk | contribs) at 11:03, 21 February 2023 (templatedata). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

Usage

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

  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

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