Template:DYK talk/sandbox/doc

From blackwiki
Jump to navigation Jump to search

Usage

Basic usage: Place {{dyktalk|day month|year|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

  • {{{1}}} - Required: Day (number) and month name, e.g. 2 March
  • {{{2}}} - Required: Year (YYYY)
  • {{{3}}} - Hook, in the form ...text? (note the "..." and "?"); adds:

The text of the entry was as follows: "Did you know...

  • {{{3}}}"
  • {{{4}}} - 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 {{{3}}} a.k.a. {{{entry}}} parameter.
  • {{{num}}} - number of the Recent additions archive page the entry appears in; adds:
  • A record of the entry may be seen at [[Wikipedia:Recent additions {{{num}}}]].

    • {{{views}}} - Number of page views dated to the DYK period; adds:

    , and was viewed approximately {{{views}}} times (disclaimer)

    • {{{small}}} - If yes, makes the tag smaller and floated to the right-hand side of the page
    • {{{entry}}} - Identical to {{{3}}}
    • {{{image}}} - Identical to {{{4}}}

    Examples

    {{dyktalk/sandbox|2 March|2007|...that modern 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?|Billiard chalk 20050724.png|num=123|views=1136}}

    {{dyktalk/sandbox|2 March|2007|...that modern 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?|Billiard chalk 20050724.png|num=123|views=1136|small=yes}}