Template:DYK/chars: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
(Created page with "<!--THERE'S DELIBERATELY NO CODE HERE--> <noinclude>category:DYK/chars templates{{documentation}}{{lock}}</noinclude>") |
m (Robot: Automated text replacement (-\[\[[Cc]ategory:(.*)\]\] +<noinclude>category:\1</noinclude>)) |
||
Line 1: | Line 1: | ||
<!--THERE'S DELIBERATELY NO CODE HERE--> | <!--THERE'S DELIBERATELY NO CODE HERE--> | ||
<noinclude>[[category:DYK/chars templates]]{{documentation}}{{lock}}</noinclude> | <noinclude><noinclude>[[category:DYK/chars templates]]</noinclude>{{documentation}}{{lock}}</noinclude> |
Revision as of 13:38, 28 April 2012
Instructions for {{DYK/chars}}
{{DYK/chars}} 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/chars/1:
... that the unseen character of '''[[Noghai]]''' was the main villain from ''[[Marco Polo (TV story)|Marco Polo]]''? [[Category:DYK/chars 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/chars templates.
- The subject of the factoid, in this case Shirley Coward, 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 a question mark.