Difference between revisions of "Template:DYK archive header/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
(→‎Usage: Add sample code.)
imported>Andrybak
 
(3 intermediate revisions by 2 users not shown)
Line 5: Line 5:
  
 
== Usage ==
 
== Usage ==
{{as of|2018}}, in [[Wikipedia:Recent additions]] subpages. For example: [[Wikipedia:Recent additions/2018/March]]. Use three templates at the top of archive pages:
+
{{As of|2018|post=,}} in subpages of [[Wikipedia:Recent additions]]. For example: [[Wikipedia:Recent additions/{{#time:Y/F|- 1 month}}]]. Use three templates at the top of archive pages:
  
<pre>
+
{{tl|DYKbox}}
{{DYKbox}}
+
{{tl|DYK archive header}}
{{DYK archive header}}
+
{{tl|DYK monthly archive nav}}
{{DYK monthly archive nav}}
 
</pre>
 
  
 
== See also ==
 
== See also ==
Line 17: Line 15:
 
* [[Template:DYK monthly archive nav]]
 
* [[Template:DYK monthly archive nav]]
 
* [[WP:DYK]]
 
* [[WP:DYK]]
 
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Wikipedia Did you know templates|Archive header]]
 
[[Category:Wikipedia Did you know templates|Archive header]]
 
+
[[Category:Templates that add a tracking category|{{PAGENAME}}]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 15:48, 7 July 2020

This template automatically adds pages in Wikipedia namespace into Category:Wikipedia Did you know archives.

Usage

As of 2018, in subpages of Wikipedia:Recent additions. For example: Wikipedia:Recent additions/2025/November. Use three templates at the top of archive pages:

{{DYKbox}}
{{DYK archive header}}
{{DYK monthly archive nav}}

See also