Template:DYK/bts/doc: Difference between revisions
(Created page with "'''{{tl|aotm}}''' is the driving engine behind the automatic replacement of the Article of the Minute section of the main page. It looks for a sub-template of this one labelled ...") |
(deleting redlinks for the purpose of thinning out S:WP) Tag: sourceedit |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
'''{{tl| | '''{{tl|{{PAGENAME}}}}''' 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. | 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. | ||
<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: | <div style="font-size:90%; line-height:90%">These subpages should be '''behind the scenes''' facts.</div><hr> | ||
<code>[[Template: | <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> | ||
[[Template: | <code>[[Template:DYK/bts/1|1]] [[Template:DYK/bts/2|2]] [[Template:DYK/bts/3|3]] [[Template:DYK/bts/4|4]] [[Template:DYK/bts/5|5]] [[Template:DYK/bts/6|6]] [[Template:DYK/bts/7|7]] [[Template:DYK/bts/8|8]] [[Template:DYK/bts/9|9]] [[Template:DYK/bts/10|10]] [[Template:DYK/bts/11|11]] [[Template:DYK/bts/12|12]] | ||
[[Template: | [[Template:DYK/bts/13|13]] [[Template:DYK/bts/14|14]] [[Template:DYK/bts/15|15]] [[Template:DYK/bts/16|16]] [[Template:DYK/bts/17|17]] [[Template:DYK/bts/18|18]] | ||
[[Template: | [[Template:DYK/bts/19|19]] [[Template:DYK/bts/20|20]] [[Template:DYK/bts/21|21]] [[Template:DYK/bts/22|22]] [[Template:DYK/bts/23|23]] [[Template:DYK/bts/24|24]] | ||
[[Template: | [[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: | [[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]] | |||
</code> | </code> | ||
</div> | </div> | ||
</div> | </div> | ||
== Example text == | |||
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]]'') | |||
[[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]]. | |||
*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. | |||
<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.
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.