Template:DYK talk/sandbox
A fact from DYK talk/sandbox appeared on Wikipedia's Main Page in the Did you know? column on some day |
This is the template sandbox page for Template:DYK talk (diff). See also the companion subpage for test cases. |
This template is used on approximately 105,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template is used by one or more bots.
If you intend to change this template in any significant way, move it or nominate it for deletion, please inform the bot operators. Thank you. The relevant bots are: DYKUpdateBot. |
Usage
[edit]Basic usage: Place {{DYK talk|date|hook}} on the talk pages of articles from which a DYK entry was featured. The template should be placed at the top of the page, above any discussion text and project tags but below other tags.
Parameters
[edit]{{{1}}}
– Required: Date (day, month and year) e.g.2 March 2010
{{{2}}}
– Hook, in the form... text?
(note the "..." and "?" and the lack of a bullet); adds "Did you know {{{2}}}"{{{3}}}
– Image (without "File:" or "Image:" prefix) that was part of the DYK entry, if any; replaces the default Wikipedia image on the right-hand side; use only with the {{{2}}} a.k.a. {{{entry}}} parameter.{{{nompage}}}
– The name of the subpage where the nomination discussion/review was conducted (e.g.,Template:Did you know nominations/Article title
; do not use brackets). The template can sometimes generate a link to the nomination subpage without this, but adding|nompage=
ensures that it generates the link, and that the link remains even if this article title is moved (on the other hand, the automatically-generated link can be lost if the article is moved).{{{views}}}
– Number of page views dated to the DYK period; adds , and was viewed approximately {{{views}}} times (disclaimer){{{article}}}
– If the page has been moved since it was on DYK, putting its former name in this parameter will ensure the "check views" link to obtains the number of page views dated to the DYK period for the former name rather than the new name.{{{small}}}
– If yes, makes the tag smaller and floated to the right-hand side of the page{{{entry}}}
– Identical to{{{2}}}
{{{image}}}
– Identical to{{{3}}}
Examples
[edit]{{DYK talk|2 March 2007|... that modern [[cue sport#Chalk|billiard chalk]] ''(pictured)'', which is not actually [[chalk]] but a compound of [[silica]] and [[corundum]], was invented by player '''[[William A. Spinks]]''' and a chemist friend in 1897?|views=1136}}
A fact from DYK talk/sandbox appeared on Wikipedia's Main Page in the Did you know column on 2 March 2007, and was viewed approximately 1,136 times (disclaimer). The text of the entry was as follows:
|
{{DYK talk|2 March 2007|... that modern [[cue sport#Chalk|billiard chalk]] ''(pictured)'', which is not actually [[chalk]] but a compound of [[silica]] and [[corundum]], was invented by player '''[[William A. Spinks]]''' and a chemist friend in 1897?|views=1136|small=yes}}
A fact from DYK talk/sandbox appeared on Wikipedia's Main Page in the Did you know column on 2 March 2007, and was viewed approximately 1,136 times (disclaimer). The text of the entry was as follows:
|