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

Content deleted Content added
m update
update
Line 8:
{{User:JL-Bot/Project content
|template = Name of project template
|content parameters (see below)
|optional parameters (see below)
}}
Line 14 ⟶ 15:
The <code>template</code> parameter needs to have the name of the talk page template that is used by the project to identify articles within its scope. For example, [[Wikipedia:WikiProject Physics|WikiProject Physics]] uses the {{tl|physics}} template so the parameter for them would be <code>|template = Template:Physics</code>.
 
The bot expects to see a single parameter per line with the closing <code><nowiki>}}</nowiki></code> on its own line. Failure to follow that will cause the bot to ignore optionsparameters.
 
The template contains no content so it does not impact the visual appearance of the page which transcludes it.
Line 25 ⟶ 26:
* <code>Portal:</code>
* <code>Portal talk:</code>
 
===Content Parameters===
The following content parameters are supported:
 
*<code>|content-featured-articles</code> -- lists [[:Category:Wikipedia featured articles]] content
*<code>|content-former-featured-articles</code> -- lists [[:Category:Wikipedia former featured articles]] content
*<code>|content-featured-lists</code> -- lists [[:Category:Wikipedia featured lists]] content
*<code>|content-former-featured-lists</code> -- lists [[:Category:Wikipedia former featured lists]] content
*<code>|content-good-articles</code> -- lists [[:Category:Wikipedia good articles]] content
*<code>|content-former-good-articles</code> -- lists [[:Category:Delisted good articles]] content
*<code>|content-did-you-know-articles</code> -- lists [[:Category:Wikipedia Did you know articles]] content
*<code>|content-featured-pictures</code> -- lists [[:Category:Wikipedia featured pictures]] content
*<code>|content-former-featured-pictures</code> -- lists [[:Category:Wikipedia former featured pictures]] content
*<code>|content-featured-portals</code> -- lists [[:Category:Wikipedia featured portals]] content
*<code>|content-former-featured-portals</code> -- lists [[:Category:Wikipedia former featured portals]] content
 
These parameters are used to define the content to be listed. The content will be listed in the order the parameters appear in the template.
 
===Optional Parameters===
Line 32 ⟶ 50:
*<code>|compact</code> -- specifies compact layout instead of column layout (ex: article1 · article2)
*<code>|icons</code> -- specifies the use of content type icons
 
*<code>|no-former</code> -- specifies that former featured & good content will not be displayed
*The <code>|no-dykcompact</code> --option specifiesoverrides thatthe DYK content will not be<code>columns</code> displayedoption.