Difference between revisions of "Template:Portal suggestions/doc"
Jump to navigation
Jump to search
test>Evad37 (→Usage: ce) |
test>Greatedits1 m (Fix very minor spelling error.) |
||
| Line 6: | Line 6: | ||
== Parameters == | == Parameters == | ||
;luapattern | ;luapattern | ||
| − | :Search pattern for DYKs and ITNs. This is a [[mw:LUAREF#Patterns|Lua pattern]] (similar to a [[regex]] pattern), so certain characters have special | + | :Search pattern for DYKs and ITNs. This is a [[mw:LUAREF#Patterns|Lua pattern]] (similar to a [[regex]] pattern), so certain characters have special meanings. |
;commonscat | ;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 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. | ||
Revision as of 05:06, 24 May 2019
| This is a documentation subpage for Template:Portal suggestions. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
Place on a portal talk page for automated suggestions of possible content which might be suitable for the portal.
Parameters
- 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
For suggestions for Portal:Cats:
{{Portal suggestions|luapattern=%s[Cc]ats?%s|commonscat=Felis silvestris catus|category=Cats}}
| Notice | Automated portal content suggestions (Script error: No such module "Purge".) The following suggestions have been automatically generated as content that might be suitable for the portal, subject to review by a human editor. Please do not mindlessly copy items to the portal page without first checking that the suggestions are appropriate.
|
See Also
TemplateData
| ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Automated suggestion of content additions to a portal
| ||||||||||||||||||||