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{{dyknstr|SLAPP Suits}}
produces SLAPP Suits (nom){{dyknstr|SLAPP Suits|SLAPP Suits (Last Week Tonight)}}
produces SLAPP Suits (nom){{dyknstr|SLAPP Suits|prep=2}}
produces Prep 2: SLAPP Suits (nom){{dyknstr|SLAPP Suits|queue=4}}
produces Queue 4: SLAPP Suits (nom){{dyknstr|SLAPP Suits|prep=2|SLAPP Suits (Last Week Tonight)}}
produces Prep 2: SLAPP Suits (nom)
TemplateData
editThis 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
article | 1 | sets the article referenced; do not include Template:Did you know nominations/, that's the whole point
| String | suggested |
nomination page | 2 | sets the nomination page to be referenced, if different from the article title
| Unknown | optional |
s | s | Setting this to a blank value removes the safesubst:, if you wanna do that for some reason.
| Unknown | optional |
prep | prep | sets the prep number, if the nomination is in prep
| Number | suggested |
queue | queue | sets the queue number, if the nomination is in queue
| Number | suggested |
This template should always be substituted (i.e., use {{subst:DYK nomination string}} ). Any accidental transclusions will be automatically substituted by a bot. |