User:JL-Bot/Project content/documentation: Difference between revisions

Content deleted Content added
m Reverted edits by 169.255.204.34 (talk) to last version by Funandtrvl
Wikipedia:Featured sounds decomissioned
 
(22 intermediate revisions by 9 users not shown)
Line 2:
{{Shortcut|WP:RECOG}}
 
[[Apple Inc.|This]] template is used to have the bot{{U|JL-Bot}} generate a listing of ''Recognized Content'', like [[WikipediaWP:FeaturedFA|featured contentarticles]], [[WP:GA|recognizedgood contentarticles]], (e.garticles featured in the [[WP:DYK|''Did you know?'']] or [[WP:ITN|''In the News'']] section of the main page, and so on. For some examples, see [[Wikipedia:WikiProject Physics/Recognized content]]) or [[Wikipedia:WikiProject Women in Red/Recognized content]].
 
You can also use it to generate lists of [[WP:DYK|''Did You Know?'']] blurbs (e.g. [[Wikipedia:WikiProject Physics/Did you know]] or [[Wikipedia:WikiProject Women in Red/DYK]]).
 
For details on what ''Recognized Content'' is exactly and how to make the most out of it, see [[Wikipedia:Wikipedia Signpost/2023-07-17/Tips and tricks|this ''Signpost'' article]].
 
==Usage==
Line 27 ⟶ 31:
 
While it will technically work in the following namespaces
* <code>Book:</code>
* <code>Book talk:</code>
* <code>Portal talk:</code>
* <code>Wikipedia talk:</code>
Line 78 ⟶ 80:
*<code>|content-former-featured-topics</code> -- lists [[:Category:Wikipedia former featured topics]] content
*<code>|content-good-topics</code> -- lists [[:Category:Wikipedia Good topics]] content
*<code>|content-featuredvital-soundsarticles-level-1</code> -- lists [[:Category:FeaturedWikipedia level-1 vital soundsarticles]] content
*<code>|content-vital-articles-level-12</code> -- lists [[:Category:All Wikipedia level-12 vital articles]] content
*<code>|content-vital-articles-level-23</code> -- lists [[:Category:All Wikipedia level-23 vital articles]] content
*<code>|content-vital-articles-level-34</code> -- lists [[:Category:All Wikipedia level-34 vital articles]] content
*<code>|content-vital-articles-level-45</code> -- lists [[:Category:All Wikipedia level-45 vital articles]] content
*<code>|content-vital-articles-level-5</code> -- lists [[:Category:All Wikipedia level-5 vital articles]] content
 
The content will be listed in the order the parameters appear in the template.
Line 123 ⟶ 124:
; {{para|overflow-vital-5|<var>page name</var>}}
: specifies an overflow page for corresponding kind of article when using <code>maximum</code>. These options only apply when the <code>maximum</code> option is set. They allow a page name to be specified that will be added as a link after the maximum number of articles are outputted. This is designed to allow linking to a page that contains a full listing of the content type. See [[Wikipedia:WikiProject National Register of Historic Places/Recognized content|this page]] for an usage example.
; <code>|dyk-blurb</code> or {{para|dyk-blurb|<var>N</var>}} : specifies displaying DYK blurbs instead of page names. The <code>dyk-blurb</code> option displays the DYK blurb (if available) instead of the page name. If a number is specified, then the first <code><var>N</var></code> blurbs will be displayed normally and the remaining blurbs will be wrapped in <code><nowiki><include></noinclude></nowiki></code>. This can be used to limitedlimit the number of blurbs that are transcluded onto another page.
; <code>|dyk-blurb-paged</code> : specifies displaying DYK blurbs on subpages by year. This can be useful if the content would otherwise exceed the Wikipedia's maximum page size. The DYK blurbs will be saved to subpages organized by year. The subpages will be transcluded to the project content page with 10 blurbs per subpage. The subpages will follow the blurb formatting and sorting order specified for the main page.
::Note: These subpages are only for the bot's content. The subpages' content will be completely replaced when the project content is updated by the bot.
; <code>|italics</code>: specifies displaying {{tl|italic title}} in italics. The <code>italics</code> option will display pages marked as {{tl|italic title}}s in italics. If the page title ends in a parenthesized text, only the part before the parenthesizes will be italicized. However, it does not support the <code>|string</code> parameter (allowing a subset of the title to be in italics) or other italic templates that require parsing the page content to determine what portion of the title is to be italicized. This option should only be utilized if those limitations are suitable for the recognized content being displayed.
; {{para|type|<var>text</var>}} : replace text "recognized content" with <code><var>text</var></code> in the wikitext output.
Line 163 ⟶ 166:
|content-former-featured-topics
|content-good-topics
|content-featured-sounds
|content-vital-articles-level-1
|content-vital-articles-level-2
Line 177 ⟶ 179:
<!-- End of content generated by JL-Bot -->
</nowiki></pre>
==Tracking category==
 
* {{clc|Category:Wikipedia lists of recognized content}} – For standalone/Near-standalone list pages. It will not list [[Wikipedia:WikiProject Physics]] if <code><nowiki>{{</nowiki>User:JL-Bot/Project content<nowiki>}}</nowiki></code> is directly embedded, but will list the standalone [[Wikipedia:WikiProject Physics/Recognized content]] (and similar lists).
<includeonly>
[[Category:Wikipedia lists of recognized content|*]]