Template:DYK nomination string/sandbox
Appearance
[[{{{1}}}]] ([[Template:Did you know nominations/{{{1}}}|nom]])
This is the template sandbox page for Template:DYK nomination string (diff). |
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
[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.
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 |