Difference between revisions of "Template:Portal suggestions/doc"
Jump to navigation
Jump to search
test>Greatedits1 m (Fix very minor spelling error.) |
test>Dpleibovitz (Spell "Wikimedia" correctly) |
||
| Line 34: | Line 34: | ||
"commonscat": { | "commonscat": { | ||
"label": "Commons Category", | "label": "Commons Category", | ||
| − | "description": "Related category on | + | "description": "Related category on Wikimedia Commons", |
"type": "string", | "type": "string", | ||
"suggested": true, | "suggested": true, | ||
Revision as of 04:01, 18 June 2020
| 40px | 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
| ||||||||||||||||||||