Template:DYK/objects/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
(deleting redlinks for purpose of thinning S:WP)
Tag: sourceedit
 
(4 intermediate revisions by 2 users not shown)
Line 8: Line 8:
<code>[[Template:DYK/objects/1|1]]  [[Template:DYK/objects/2|2]]  [[Template:DYK/objects/3|3]]  [[Template:DYK/objects/4|4]]  [[Template:DYK/objects/5|5]]  [[Template:DYK/objects/6|6]]  [[Template:DYK/objects/7|7]]  [[Template:DYK/objects/8|8]]  [[Template:DYK/objects/9|9]]  [[Template:DYK/objects/10|10]]  [[Template:DYK/objects/11|11]]  [[Template:DYK/objects/12|12]]  
<code>[[Template:DYK/objects/1|1]]  [[Template:DYK/objects/2|2]]  [[Template:DYK/objects/3|3]]  [[Template:DYK/objects/4|4]]  [[Template:DYK/objects/5|5]]  [[Template:DYK/objects/6|6]]  [[Template:DYK/objects/7|7]]  [[Template:DYK/objects/8|8]]  [[Template:DYK/objects/9|9]]  [[Template:DYK/objects/10|10]]  [[Template:DYK/objects/11|11]]  [[Template:DYK/objects/12|12]]  
[[Template:DYK/objects/13|13]]  [[Template:DYK/objects/14|14]]  [[Template:DYK/objects/15|15]]  [[Template:DYK/objects/16|16]]  [[Template:DYK/objects/17|17]]  [[Template:DYK/objects/18|18]]  
[[Template:DYK/objects/13|13]]  [[Template:DYK/objects/14|14]]  [[Template:DYK/objects/15|15]]  [[Template:DYK/objects/16|16]]  [[Template:DYK/objects/17|17]]  [[Template:DYK/objects/18|18]]  
[[Template:DYK/objects/19|19]]  [[Template:DYK/objects/20|20]]  [[Template:DYK/objects/21|21]]  [[Template:DYK/objects/22|22]]  [[Template:DYK/objects/23|23]]  [[Template:DYK/objects/24|24]]
[[Template:DYK/objects/19|19]]  [[Template:DYK/objects/20|20]]  [[Template:DYK/objects/21|21]]  [[Template:DYK/objects/22|22]]   
[[Template:DYK/objects/25|25]]  [[Template:DYK/objects/26|26]]  [[Template:DYK/objects/27|27]]  [[Template:DYK/objects/28|28]]  [[Template:DYK/objects/29|29]]  [[Template:DYK/objects/30|30]]
[[Template:DYK/objects/31|31]]  [[Template:DYK/objects/32|32]]  [[Template:DYK/objects/33|33]]  [[Template:DYK/objects/34|34]]  [[Template:DYK/objects/35|35]]  [[Template:DYK/objects/36|36]]
[[Template:DYK/objects/37|37]]  [[Template:DYK/objects/38|38]]  [[Template:DYK/objects/39|39]]  [[Template:DYK/objects/40|40]]  [[Template:DYK/objects/41|41]]  [[Template:DYK/objects/42|42]]
[[Template:DYK/objects/43|43]]  [[Template:DYK/objects/44|44]]  [[Template:DYK/objects/45|45]]  [[Template:DYK/objects/46|46]]  [[Template:DYK/objects/47|47]]  [[Template:DYK/objects/48|48]] [[Template:DYK/objects/49|49]]  [[Template:DYK/objects/50|50]]  [[Template:DYK/objects/51|51]]  [[Template:DYK/objects/52|52]]  [[Template:DYK/objects/53|53]]  [[Template:DYK/objects/54|54]]  [[Template:DYK/objects/55|55]]  [[Template:DYK/objects/56|56]]  [[Template:DYK/objects/57|57]]  [[Template:DYK/objects/58|58]]  [[Template:DYK/objects/59|59]]  [[Template:DYK/objects/60|60]]  [[Template:DYK/objects/61|61]]  [[Template:DYK/objects/62|62]]  [[Template:DYK/objects/63|63]]  [[Template:DYK/objects/64|64]]  [[Template:DYK/objects/65|65]]  [[Template:DYK/objects/66|66]]  [[Template:DYK/objects/67|67]]  [[Template:DYK/objects/68|68]]  [[Template:DYK/objects/69|69]]  [[Template:DYK/objects/70|70]]  [[Template:DYK/objects/71|71]]  [[Template:DYK/objects/72|72]]  [[Template:DYK/objects/73|73]]  [[Template:DYK/objects/74|74]]  [[Template:DYK/objects/75|75]]  [[Template:DYK/objects/76|76]]  [[Template:DYK/objects/77|77]]  [[Template:DYK/objects/78|78]]  [[Template:DYK/objects/79|79]]  [[Template:DYK/objects/80|80]]  [[Template:DYK/objects/81|81]]  [[Template:DYK/objects/82|82]]  [[Template:DYK/objects/83|83]]  [[Template:DYK/objects/84|84]]  [[Template:DYK/objects/85|85]]  [[Template:DYK/objects/86|86]]  [[Template:DYK/objects/87|87]]  [[Template:DYK/objects/88|88]]  [[Template:DYK/objects/89|89]]  [[Template:DYK/objects/90|80]]  [[Template:DYK/objects/91|91]]  [[Template:DYK/objects/92|92]]  [[Template:DYK/objects/93|93]]  [[Template:DYK/objects/94|94]]  [[Template:DYK/objects/95|95]]  [[Template:DYK/objects/96|96]]  [[Template:DYK/objects/97|97]] [[Template:DYK/objects/97|97]] [[Template:DYK/objects/98|98]] [[Template:DYK/objects/99|99]] [[Template:DYK/objects/100|100]]
</code>
</code>
</div>
</div>
Line 18: Line 14:
== Example text ==
== Example text ==
The following is the content of {{PAGENAME}}/1:  
The following is the content 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]]'')
<pre>... 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/bts templates]]</pre>
[[Category:DYK/objects templates]]</pre>
Note the following things:
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 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/objects templates]].
*The fact should be put into the appropriate category; in this case, [[:category:DYK/objects templates]].
*The subject of the factoid, in this case [[Shirley Coward]], should be bolded.
*The subject of the factoid, in this case ''[[So You're Caught in a Rocket Attack]]'', should be bolded.
*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.
*DYKs end with question marks.
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 02:34, 24 August 2017

{{DYK/objects/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 about objects, technology, planets, and, well, things.

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

Example text

The following is the content of DYK/objects/doc/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.