This template is used to have the bot generate a listing of a Project's recognized content.
Usage
Place the template where you want the content displayed:
{{User:JL-Bot/Project content |template = Name of project template |content parameters (see below) |optional parameters (see below) }}
The template
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, WikiProject Physics uses the {{physics}} template so the parameter for them would be |template = Template:Physics
.
The bot expects to see a single parameter per line with the closing }}
on its own line. Failure to follow that will cause the bot to ignore parameters.
The template contains no content so it does not impact the visual appearance of the page which transcludes it.
It will only work in the following namespaces:
User:
User talk:
Project:
Project talk:
Portal:
Portal talk:
Content Parameters
The following content parameters are supported:
|content-featured-articles
-- lists Category:Wikipedia featured articles content|content-former-featured-articles
-- lists Category:Wikipedia former featured articles content|content-featured-lists
-- lists Category:Wikipedia featured lists content|content-former-featured-lists
-- lists Category:Wikipedia former featured lists content|content-good-articles
-- lists Category:Wikipedia good articles content|content-former-good-articles
-- lists Category:Delisted good articles content|content-did-you-know-articles
-- lists Category:Wikipedia Did you know articles content|content-featured-pictures
-- lists Category:Featured pictures content|content-former-featured-pictures
-- lists Category:Wikipedia former featured pictures content|content-featured-portals
-- lists Category:Wikipedia featured portals content|content-former-featured-portals
-- 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
The following optional parameters are supported:
|compact
-- specifies compact layout instead of column layout (ex: article1 · article2)|columns = #
-- defines the # of columns to be displayed in default column layout|icons
-- specifies the use of content type icons
The compact
option overrides the columns
and icons
options.
Pictures always use the <gallery></gallery>
syntax.