Template:MCBdyk/doc

From Wikipedia, the free encyclopedia

Usage[edit]

Basic usage: Place {{MCBdyk| article= | date= |entry= |image=}} in the MCB DYK list page.

Parameters[edit]

  • {{{article}}} - Required: 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.
  • {{{date}}} - Required: Date (day, month and year) e.g. 2 March 2010
  • {{{entry}}} - Hook, in the form ...text? (note the "..." and "?"); adds:

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

  • {{{entry}}}"
  • {{{image}}} - 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 {{{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).
  • A record of the entry may be seen at [[Wikipedia:Recent additions {{{num}}}]].

    • {{{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)

    Examples[edit]

    • {{MCBdyk |article=Von Willebrand factor |date=1 February 2011 |entry=... that the burning sensation caused by red hot [[chili pepper]]s or the warmth caused by [[camphor]] are due to the activation of different '''[[TRPV]]''' [[ion channels]] ''([[TRPV1]] pictured)'', which are also [[Thermoreceptor|thermosensitive]]? |image=Trpv1 pip2 bilayer cropped.png |views=1025}}
  • {{MCBdyk |article=Von Willebrand factor |date=1 February 2011 |entry=... that the burning sensation caused by red hot [[chili pepper]]s or the warmth caused by [[camphor]] are due to the activation of different '''[[TRPV]]''' [[ion channels]] ''([[TRPV1]] pictured)'', which are also [[Thermoreceptor|thermosensitive]]? |image=Trpv1 pip2 bilayer cropped.png }}
  • {{MCBdyk |article=Von Willebrand factor |date=1 February 2011 |entry=... that the burning sensation caused by red hot [[chili pepper]]s or the warmth caused by [[camphor]] are due to the activation of different '''[[TRPV]]''' [[ion channels]] ''([[TRPV1]] pictured)'', which are also [[Thermoreceptor|thermosensitive]]? }}