Template:NewDYKnomination/doc

From Historical Hastings

{{Wikipedia:Article alerts/Bot use warning}}

This template is used on subpages of Template:Did you know nominations to nominate articles for the Did you know? section of the Main Page.

Instructions for nominating[edit]

Usage[edit]

{{subst:NewDYKnomination
 | article       = 
 |    article2   = 
 | status        = new / expanded / mainspace / redirect / GA
 | hook          = ... that ...?  Source: "You are strongly encouraged to quote the source text supporting each hook" (and [link] the source, or cite it briefly without using citation templates)
 | ALT1          = ... that ...?  Source: "You are strongly encouraged to quote the source text supporting each hook" (and [link] the source, or cite it briefly without using citation templates)
 | author        = 
 |    author2    = 
 | image         = 
 |    caption    = 
 | comment       = 
 | reviewed      = 
}}

All parameters are optional. The |author= parameter defaults to the nominator if the parameter is not present, and the |article= parameter defaults to the name of the current subpage. There is no need to sign with ~~~~ at the end of the template; that is done automatically.

Examples[edit]

  1. New Article, self nom: {{subst:NewDYKnom | article= | hook=... that ? | status=new }}
  2. Expansion, self nom: {{subst:NewDYKnom| article= | hook=... that ? | status=expanded }}
  3. New Article by someone else: {{subst:NewDYKnom | article= | hook=... that ? | status=new | author=}}
  4. Moved to mainspace: {{subst:NewDYKnom | article= | hook=... that ? | status=moved }}
  5. Converted to an article: {{subst:NewDYKnom | article= | hook=... that ? | status=converted }}
  6. Nom with comments or image: {{subst:NewDYKnom|article=|hook=... that ?|status=|author=|image=|caption=|comment=}}
  7. Nom with a sound file: {{subst:NewDYKnom|article=|hook=... that ?|status=|author=|sound=Example.ogg|soundcaption=Very brief}}
  8. Nom with a video file: {{subst:NewDYKnom|article=|hook=... that ?|status=|author=|video=Example.ogg|videocaption=Very brief}}

Parameters[edit]

Parameter How to use When to use
article= Title of the article, no [[ ]]. If omitted, defaults to the name of the current subpage. Only if the article name differs from the current subpage name.[<span title="{
article2= article3=, |article4=, etc. When nominating multiple articles
hook= The text of the hook, formatted using wiki markup; it will display exactly as it is written in this field. The article should be wikilinked and should appear in bold. Example: ...Template:Nbspthat '''[[Hurricane Irma]]''' prompted mass evacuations of [[Florida]]? Always
author= author2= etc. as needed. You need not be one of the authors to nominate an article; in this case omit yourself. When specifying authors other than yourself
status= new or expanded or moved or converted Always
comment= May be used to add details in complicated nominations, or comments such as "Article expanded from redirect" or "See article for other funny pictures."
reviewed= Title of article you reviewed, no [[ ]]. If the review requirement applies, and you did the review before nominating. (You can leave this blank and do the review later.)
image= Filename of the image being used, e.g. Example.png, no File: and no [[ ]]. Do not include |right|100px which are added automatically. If an image is included with the nomination.
caption= Tooltip to appear when the mouse hovers over the image, as well as the alt-text to go with the image. This must be included if there is an image. See WP:ALT for guidelines on writing alt-text.
sound= Filename of the sound being used, e.g. Example.ogg, no File: and no [[ ]]. If a sound is included with the nomination.
soundcaption= The caption to be displayed with the sound – a few words at most.
video= Filename of the video being used, e.g. Example.ogv, no File: and no [[ ]]. If a video is included with the nomination.
videocaption= The caption to be displayed with the video – a few words at most.
ALT1= ALT2=, |ALT3=, etc. If you are suggesting an alternate hook along with the main hook.

TemplateData[edit]

TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the [https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=NewDYKnomination monthly error reporHatnotefor this template.

TemplateData for NewDYKnomination

Template for new nominations to Did You Know

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Article titlearticle

Title of the nominated article in plain text; no [[ ]]

Pagerequired
Statusstatus

Enter "new" if you created this article from scratch, "expanded" if you expanded it from an existing article, "mainspace" if you moved it from non-mainspace to mainspace, "GA" if the article passed a Good Article review, "redirect" if you converted the page to an article from a redirect or a disambiguation page

Default
new / expanded / mainspace / redirect / GA
Auto value
new / expanded / mainspace / redirect / GA
Stringrequired
Hookhook

The fact to appear on the Main Page; see guidelines at guidelines at WP:DYK#The hook

Auto value
... that ...? <small>Source: "You are strongly encouraged to quote the source text supporting each hook" (and [link] the source, or cite it briefly without using citation templates)</small>
Unbalanced wikitextrequired
Authorauthor

Username of the creator or expander of the article in plain text; no signature or wikilinks

Userrequired
Imageimage

Bare filename of an optional image for the hook

Filesuggested
Image captioncaption

Caption and alt-text for the image

Stringsuggested
Commentcomment

Optional user comment

Stringsuggested
QPQ reviewreviewed

If you reviewed another article before listing this DYK nomination, put it here

Auto value
Pagesuggested

See also[edit]