Template:DYK/bts/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Robot: Automated text replacement (-aotm +DYK/bts))
No edit summary
Line 16: Line 16:
</div>
</div>
</div>
</div>
== Example text ==
The following is the contents of {{PAGENAME}}/1:
<pre>... that without the last-minute inspiration of un-credited vision mixer '''[[Shirley Coward]]''', the first [[regeneration]] scene would have simply involved [[William Hartnell]] pulling a cloak over his face and [[Patrick Troughton]] lowering it? ([[REF]]: ''[[The Second Doctor Handbook]]'') 
[[category:DYK/bts templates]]</pre>
Note the following things:
*The text begins with '''periods of ellipses''' ''not'' an asterisk.  {{tlx|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/bts templates]].

Revision as of 02:55, 26 April 2012

{{DYK/bts/doc}} 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 behind the scenes facts.

If the number is red, then that page has not been created. This feature won't work very well until all pages are created.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 80 91 92 93 94 95 96 97 97 98 99 100

Example text

The following is the contents of DYK/bts/doc/1:

... that without the last-minute inspiration of un-credited vision mixer '''[[Shirley Coward]]''', the first [[regeneration]] scene would have simply involved [[William Hartnell]] pulling a cloak over his face and [[Patrick Troughton]] lowering it? ([[REF]]: ''[[The Second Doctor Handbook]]'')  
[[category:DYK/bts 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/bts templates.