Usage edit

Place on a portal talk page for automated suggestions of possible content which might be suitable for the portal.

Parameters edit

luapattern
Search pattern for DYKs and ITNs. This is a Lua pattern (similar to a regex pattern), so certain characters have special meanings.
commonscat
Category name on Commons (without the "Category:" prefix) in which to search for images. The searches will include 3 levels of sub-categories below this category.
category
Category name on Wikipedia (without the "Category:" prefix) in which to search for articles. The searches will include 3 levels of sub-categories below this category.

Example edit

For suggestions for Portal:Cats:

{{Portal suggestions|luapattern=%s[Cc]ats?%s|commonscat=Felis silvestris catus|category=Cats}}

See Also edit

TemplateData

Automated suggestion of content additions to a portal

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Lua Patternluapattern

Search pattern for DYK and ITN sections

Example
luapattern=%s[Cc]ats?%s
Stringsuggested
Commons Categorycommonscat

Related category on Wikimedia Commons

Example
commonscat=Felis silvestris catus
Stringsuggested
Categorycategory

Related category on Wikipedia

Example
category=Cats
Stringsuggested