Template:DYK/objects: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
(Created page with "<!--THERE'S DELIBERATELY NO CODE HERE--> <noinclude>category:DYK/objects templates{{documentation}}{{lock}}</noinclude>") |
m (Changed protection level for "Template:DYK/objects": Robot: Protecting all pages from category Main page templates ([edit=autoconfirmed] (indefinite) [move=sysop] (indefinite))) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!--THERE'S DELIBERATELY NO CODE HERE--> | <!--THERE'S DELIBERATELY NO CODE HERE--> | ||
<noinclude>[[category:DYK/objects templates]]{{documentation}}{{lock}}</noinclude> | <noinclude><noinclude>[[category:DYK/objects templates]]</noinclude>{{documentation}}{{lock}}</noinclude> |
Latest revision as of 23:01, 18 May 2013
Instructions for {{DYK/objects}}
{{DYK/objects}} 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.
Example text
The following is the content of DYK/objects/1:
... that the instructional pamphlet, '''''[[So You're Caught in a Rocket Attack]]''''', was once consulted by [[Fourth Doctor|the Doctor]] when he actually ''was'' in the middle of a rocket attack? ([[PROSE]]: ''[[The Well-Mannered War]]'') [[Category:DYK/objects 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/objects templates.
- The subject of the factoid, in this case So You're Caught in a Rocket Attack, 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.
- DYKs end with question marks.