Template:DYK/objects/doc: Difference between revisions
(Created page with "'''{{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 ...") |
m (Robot: Automated text replacement (-/chars +/objects)) |
||
Line 6: | Line 6: | ||
<div style="font-size:90%; line-height:90%">These subpages should be about '''objects, technology, planets, and, well, ''things''.'''</div><hr> | <div style="font-size:90%; line-height:90%">These subpages should be about '''objects, technology, planets, and, well, ''things''.'''</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/ | <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/ | [[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/ | [[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/ | [[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/ | [[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/ | [[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/ | [[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> | ||
</div> | </div> |
Revision as of 01:56, 26 April 2012
{{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.
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