Template:DYK/leads: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
m (Robot: Automated text replacement (-\[\[[Cc]ategory:(.*)\]\] +<noinclude>category:\1</noinclude>)) |
m (Protected "Template:DYK/leads": Robot: Protecting all pages from category templates ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
Revision as of 00:30, 13 May 2013
Instructions for {{DYK/leads}}
{{DYK/leads}} is one-fifth of the driving engine behind the automatic replacement of the Did You Know section of the main page. It looks for a sub-template of this one labelled by a number between 1 and 100. It then transcludes the template associated with that number. Thus, a different nugget of information is placed on the main page in the DYK section on each page load. This ensures that no two users of the site have the same experience, and a wider range of articles will be visited from the front page.
This template is fully locked, because it is merely the conduit through which the actual featured article text passes. To change the quote of the week, you must change one of the following sub templates.
These subpages should be about leading characters: only incarnations of the Doctor, companions, Captain Jack, Gwen Cooper, Ianto Jones, Toshiko Sato, Owen Harper, Rhys Williams, Rex Matheson, Esther Drummond, Sarah Jane Smith, Maria Jackson, Alan Jackson, Clyde Langer, Luke Smith, Rani Chandra, Jorjie Turner, Alistair Gryffen, Darius Pike, Starkey and K9 Mark 2.
If the number is red, then that page has not been created. This feature won't work very well until all pages are created.
Example text
The following is the content of DYK/leads/1:
... that the '''[[Fifth Doctor]]''' once found a little boy's lost [[rabbit]] by coaxing it out of hiding with his [[celery]]? ([[PROSE]]: ''[[Goths and Robbers]]'') [[Category:DYK/leads templates]]
Note the following things:
- The text begins with periods of ellipses not an asterisk. {{Doctor Who Wiki/DYK}} will add the asterisk, thereby converting the factoids into a list.
- The fact should be put into the appropriate category; in this case, category:DYK/leads templates.
- The subject of the factoid, in this case the Fifth Doctor, should be bolded.
- The fact should be as wikified as possible. We want to expose readers to many opportunities to click through to some other spot of the wiki.
- Redlinks in a DYK should be avoided.