Template:DYK/bts/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(deleting redlinks for the purpose of thinning out S:WP)
Tag: sourceedit
 
(2 intermediate revisions by one other user not shown)
Line 11: Line 11:
[[Template:DYK/bts/25|25]]  [[Template:DYK/bts/26|26]]  [[Template:DYK/bts/27|27]]  [[Template:DYK/bts/28|28]]  [[Template:DYK/bts/29|29]]  [[Template:DYK/bts/30|30]]  
[[Template:DYK/bts/25|25]]  [[Template:DYK/bts/26|26]]  [[Template:DYK/bts/27|27]]  [[Template:DYK/bts/28|28]]  [[Template:DYK/bts/29|29]]  [[Template:DYK/bts/30|30]]  
[[Template:DYK/bts/31|31]]  [[Template:DYK/bts/32|32]]  [[Template:DYK/bts/33|33]]  [[Template:DYK/bts/34|34]]  [[Template:DYK/bts/35|35]]  [[Template:DYK/bts/36|36]]  
[[Template:DYK/bts/31|31]]  [[Template:DYK/bts/32|32]]  [[Template:DYK/bts/33|33]]  [[Template:DYK/bts/34|34]]  [[Template:DYK/bts/35|35]]  [[Template:DYK/bts/36|36]]  
[[Template:DYK/bts/37|37]]  [[Template:DYK/bts/38|38]]  [[Template:DYK/bts/39|39]]  [[Template:DYK/bts/40|40]]  [[Template:DYK/bts/41|41]]  [[Template:DYK/bts/42|42]]
[[Template:DYK/bts/37|37]]  [[Template:DYK/bts/38|38]]  [[Template:DYK/bts/39|39]]  [[Template:DYK/bts/40|40]]   
[[Template:DYK/bts/43|43]]  [[Template:DYK/bts/44|44]]  [[Template:DYK/bts/45|45]]  [[Template:DYK/bts/46|46]]  [[Template:DYK/bts/47|47]]  [[Template:DYK/bts/48|48]] [[Template:DYK/bts/49|49]]  [[Template:DYK/bts/50|50]]  [[Template:DYK/bts/51|51]]  [[Template:DYK/bts/52|52]]  [[Template:DYK/bts/53|53]]  [[Template:DYK/bts/54|54]]  [[Template:DYK/bts/55|55]]  [[Template:DYK/bts/56|56]]  [[Template:DYK/bts/57|57]]  [[Template:DYK/bts/58|58]]  [[Template:DYK/bts/59|59]]  [[Template:DYK/bts/60|60]]  [[Template:DYK/bts/61|61]]  [[Template:DYK/bts/62|62]]  [[Template:DYK/bts/63|63]]  [[Template:DYK/bts/64|64]]  [[Template:DYK/bts/65|65]]  [[Template:DYK/bts/66|66]]  [[Template:DYK/bts/67|67]]  [[Template:DYK/bts/68|68]]  [[Template:DYK/bts/69|69]]  [[Template:DYK/bts/70|70]]  [[Template:DYK/bts/71|71]]  [[Template:DYK/bts/72|72]]  [[Template:DYK/bts/73|73]]  [[Template:DYK/bts/74|74]]  [[Template:DYK/bts/75|75]]  [[Template:DYK/bts/76|76]]  [[Template:DYK/bts/77|77]]  [[Template:DYK/bts/78|78]]  [[Template:DYK/bts/79|79]]  [[Template:DYK/bts/80|80]]  [[Template:DYK/bts/81|81]]  [[Template:DYK/bts/82|82]]  [[Template:DYK/bts/83|83]]  [[Template:DYK/bts/84|84]]  [[Template:DYK/bts/85|85]]  [[Template:DYK/bts/86|86]]  [[Template:DYK/bts/87|87]]  [[Template:DYK/bts/88|88]]  [[Template:DYK/bts/89|89]]  [[Template:DYK/bts/90|80]]  [[Template:DYK/bts/91|91]]  [[Template:DYK/bts/92|92]]  [[Template:DYK/bts/93|93]]  [[Template:DYK/bts/94|94]]  [[Template:DYK/bts/95|95]]  [[Template:DYK/bts/96|96]]  [[Template:DYK/bts/97|97]] [[Template:DYK/bts/97|97]] [[Template:DYK/bts/98|98]] [[Template:DYK/bts/99|99]] [[Template:DYK/bts/100|100]]
</code>
</code>
</div>
</div>
Line 26: Line 25:
*The fact should be as [[T:WIKIFY|wikified]] as possible.  We want to expose readers to ''many'' opportunities to click through to some other spot of the wiki.
*The fact should be as [[T:WIKIFY|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.
*Redlinks in a DYK should be avoided.
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 02:32, 24 August 2017

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

Example text

The following is the content 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.
  • 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.