Template:DYK/chars/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Robot: Automated text replacement (-/bts +/chars))
(deleting redlinks for the purpose of thinning S:WP)
Tag: sourceedit
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
<div id=license>
<div id=license>
<div style="font-size:200%;line-height:125%">
<div style="font-size:200%;line-height:125%">
<div style="font-size:90%; line-height:90%">These subpages should be about '''non-starring characters'''.</div><hr>
<div style="font-size:90%; line-height:90%">These subpages should be about '''non-regular characters'''.</div><hr>
<div style="font-size:50%; line-height:100%">If the number is red, then that page has '''not''' been created.  This feature won't work very well until all pages are created.</div>
<div style="font-size:50%; line-height:100%">If the number is red, then that page has '''not''' been created.  This feature won't work very well until all pages are created.</div>
<code>[[Template:DYK/chars/1|1]]  [[Template:DYK/chars/2|2]]  [[Template:DYK/chars/3|3]]  [[Template:DYK/chars/4|4]]  [[Template:DYK/chars/5|5]]  [[Template:DYK/chars/6|6]]  [[Template:DYK/chars/7|7]]  [[Template:DYK/chars/8|8]]  [[Template:DYK/chars/9|9]]  [[Template:DYK/chars/10|10]]  [[Template:DYK/chars/11|11]]  [[Template:DYK/chars/12|12]]  
<code>[[Template:DYK/chars/1|1]]  [[Template:DYK/chars/2|2]]  [[Template:DYK/chars/3|3]]  [[Template:DYK/chars/4|4]]  [[Template:DYK/chars/5|5]]  [[Template:DYK/chars/6|6]]  [[Template:DYK/chars/7|7]]  [[Template:DYK/chars/8|8]]  [[Template:DYK/chars/9|9]]  [[Template:DYK/chars/10|10]]  [[Template:DYK/chars/11|11]]  [[Template:DYK/chars/12|12]]  
[[Template:DYK/chars/13|13]]  [[Template:DYK/chars/14|14]]  [[Template:DYK/chars/15|15]]  [[Template:DYK/chars/16|16]]  [[Template:DYK/chars/17|17]]  [[Template:DYK/chars/18|18]]  
[[Template:DYK/chars/13|13]]  [[Template:DYK/chars/14|14]]  [[Template:DYK/chars/15|15]]  [[Template:DYK/chars/16|16]]  [[Template:DYK/chars/17|17]]  [[Template:DYK/chars/18|18]]  
[[Template:DYK/chars/19|19]]  [[Template:DYK/chars/20|20]]  [[Template:DYK/chars/21|21]]  [[Template:DYK/chars/22|22]]  [[Template:DYK/chars/23|23]]  [[Template:DYK/chars/24|24]]
[[Template:DYK/chars/19|19]]  [[Template:DYK/chars/20|20]]   
[[Template:DYK/chars/25|25]]  [[Template:DYK/chars/26|26]]  [[Template:DYK/chars/27|27]]  [[Template:DYK/chars/28|28]]  [[Template:DYK/chars/29|29]]  [[Template:DYK/chars/30|30]]
[[Template:DYK/chars/31|31]]  [[Template:DYK/chars/32|32]]  [[Template:DYK/chars/33|33]]  [[Template:DYK/chars/34|34]]  [[Template:DYK/chars/35|35]]  [[Template:DYK/chars/36|36]]
[[Template:DYK/chars/37|37]]  [[Template:DYK/chars/38|38]]  [[Template:DYK/chars/39|39]]  [[Template:DYK/chars/40|40]]  [[Template:DYK/chars/41|41]]  [[Template:DYK/chars/42|42]]
[[Template:DYK/chars/43|43]]  [[Template:DYK/chars/44|44]]  [[Template:DYK/chars/45|45]]  [[Template:DYK/chars/46|46]]  [[Template:DYK/chars/47|47]]  [[Template:DYK/chars/48|48]] [[Template:DYK/chars/49|49]]  [[Template:DYK/chars/50|50]]  [[Template:DYK/chars/51|51]]  [[Template:DYK/chars/52|52]]  [[Template:DYK/chars/53|53]]  [[Template:DYK/chars/54|54]]  [[Template:DYK/chars/55|55]]  [[Template:DYK/chars/56|56]]  [[Template:DYK/chars/57|57]]  [[Template:DYK/chars/58|58]]  [[Template:DYK/chars/59|59]]  [[Template:DYK/chars/60|60]]  [[Template:DYK/chars/61|61]]  [[Template:DYK/chars/62|62]]  [[Template:DYK/chars/63|63]]  [[Template:DYK/chars/64|64]]  [[Template:DYK/chars/65|65]]  [[Template:DYK/chars/66|66]]  [[Template:DYK/chars/67|67]]  [[Template:DYK/chars/68|68]]  [[Template:DYK/chars/69|69]]  [[Template:DYK/chars/70|70]]  [[Template:DYK/chars/71|71]]  [[Template:DYK/chars/72|72]]  [[Template:DYK/chars/73|73]]  [[Template:DYK/chars/74|74]]  [[Template:DYK/chars/75|75]]  [[Template:DYK/chars/76|76]]  [[Template:DYK/chars/77|77]]  [[Template:DYK/chars/78|78]]  [[Template:DYK/chars/79|79]]  [[Template:DYK/chars/80|80]]  [[Template:DYK/chars/81|81]]  [[Template:DYK/chars/82|82]]  [[Template:DYK/chars/83|83]]  [[Template:DYK/chars/84|84]]  [[Template:DYK/chars/85|85]]  [[Template:DYK/chars/86|86]]  [[Template:DYK/chars/87|87]]  [[Template:DYK/chars/88|88]]  [[Template:DYK/chars/89|89]]  [[Template:DYK/chars/90|80]]  [[Template:DYK/chars/91|91]]  [[Template:DYK/chars/92|92]]  [[Template:DYK/chars/93|93]]  [[Template:DYK/chars/94|94]]  [[Template:DYK/chars/95|95]]  [[Template:DYK/chars/96|96]]  [[Template:DYK/chars/97|97]] [[Template:DYK/chars/97|97]] [[Template:DYK/chars/98|98]] [[Template:DYK/chars/99|99]] [[Template:DYK/chars/100|100]]
</code>
</code>
</div>
</div>
</div>
</div>
== Example text ==
The following is the content of {{PAGENAME}}/1:
<pre>... that the unseen character of '''[[Noghai]]''' was the main villain from ''[[Marco Polo (TV story)|Marco Polo]]''?
[[Category:DYK/chars 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/chars templates]].
*The subject of the factoid, in this case [[Shirley Coward]], 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.
*Redlinks in a DYK should be avoided.
*DYKs end with a question mark.
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 02:33, 24 August 2017

{{DYK/chars/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 non-regular characters.

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

Example text

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