Difference between revisions of "Template:DYK talk/sandbox/doc"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(undo test)
imported>SMcCandlish
(tlx #61 fix)
Line 22: Line 22:
  
 
===Examples===
 
===Examples===
{{tlx|dyktalk/sandbox|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?|Billiard chalk 20050724.png|num=123|views=1136}}
+
{{tlx|dyktalk/sandbox|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?|Billiard chalk 20050724.png|num=123|views=1136}}
  
 
{{dyktalk/sandbox|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?|Billiard chalk 20050724.png|num=123<!--Yes, this is a real example.-->|views=1136<!--This isn't actually true, but made-up; the stats don't go back that far!-->}}
 
{{dyktalk/sandbox|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?|Billiard chalk 20050724.png|num=123<!--Yes, this is a real example.-->|views=1136<!--This isn't actually true, but made-up; the stats don't go back that far!-->}}
  
{{tlx|dyktalk/sandbox|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?|Billiard chalk 20050724.png|num=123|views=1136|small=yes}}
+
{{tlx|dyktalk/sandbox|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?|Billiard chalk 20050724.png|num&#61;123|views&#61;1136|small&#61;yes}}
  
 
{{dyktalk/sandbox|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?|Billiard chalk 20050724.png|num=123|views=1136|small=yes}}
 
{{dyktalk/sandbox|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?|Billiard chalk 20050724.png|num=123|views=1136|small=yes}}

Revision as of 22:10, 3 January 2010

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 ...Hook text here? (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}}