Difference between revisions of "Template:Portal suggestions"
Jump to navigation
Jump to search
test>Evad37 (adjust to reduce height, adjust image search urls and add instructions) |
m (4 revisions imported) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
|image=Cog-scripted-svg-blue.svg | |image=Cog-scripted-svg-blue.svg | ||
|heading = Automated portal content suggestions {{nobold|''({{Purge|purge}})''}} | |heading = Automated portal content suggestions {{nobold|''({{Purge|purge}})''}} | ||
| − | |1 = {{resize|The following suggestions have been automatically generated as content that {{em|might}} be suitable for the portal, subject to review by a human editor. Please {{darkred|{{strong|do not}}}} mindlessly copy items to the portal page without first checking that the suggestions are appropriate.}} | + | |1 = {{resize|The following suggestions have been automatically generated as content that {{em|might}} be suitable for the portal, <u>subject to review by a human editor</u>. Please {{darkred|{{strong|do not}}}} mindlessly copy items to the portal page without first checking that the suggestions are appropriate.}} |
{{cot|Recent ''Did you know?'' items}} | {{cot|Recent ''Did you know?'' items}} | ||
| Line 14: | Line 14: | ||
{{cot|Featured, valued, and quality images (on Commons)}} | {{cot|Featured, valued, and quality images (on Commons)}} | ||
{{resize|Open a link, then click the "Do it" button. If there are results, you can click the "Thumbnails" button to preview all the images.}} | {{resize|Open a link, then click the "Do it" button. If there are results, you can click the "Thumbnails" button to preview all the images.}} | ||
| − | * [https://petscan.wmflabs.org/?language=commons&project=wikimedia&depth= | + | * [https://petscan.wmflabs.org/?language=commons&project=wikimedia&depth=3&categories=Featured%20pictures%20on%20Wikimedia%20Commons%0D{{urlencode:{{{commonscat|{{PAGENAME}}}}}}}&ns%5B6%5D=1&max_age=2400&search_max_results=500&interface_language=en&active_tab=&doit= Featured pictures for ''{{{commonscat|{{PAGENAME}}}}}'' with recent edits] |
| − | * [https://petscan.wmflabs.org/?language=commons&project=wikimedia&depth= | + | * [https://petscan.wmflabs.org/?language=commons&project=wikimedia&depth=3&categories=Valued%20images%0D{{urlencode:{{{commonscat|{{PAGENAME}}}}}}}&ns%5B6%5D=1&max_age=2400&search_max_results=500&interface_language=en&active_tab=&doit= Valued images for ''{{{commonscat|{{PAGENAME}}}}}'' with recent edits] |
| − | * [https://petscan.wmflabs.org/?language=commons&project=wikimedia&depth= | + | * [https://petscan.wmflabs.org/?language=commons&project=wikimedia&depth=3&categories=Quality%20images%0D{{urlencode:{{{commonscat|{{PAGENAME}}}}}}}&ns%5B6%5D=1&max_age=2400&search_max_results=500&interface_language=en&active_tab=&doit= Quality images for ''{{{commonscat|{{PAGENAME}}}}}'' with recent edits] |
| + | {{cob}} | ||
| + | |||
| + | {{cot|Articles}} | ||
| + | * [https://petscan.wmflabs.org/?language=en&project=wikipedia&depth=3&categories={{urlencode:{{{category|{{PAGENAME}}}}}}}&ns%5B0%5D=1&outlinks_any=Wikipedia%3AFeatured%20articles%20promoted%20in%20{{CURRENTYEAR}}&search_max_results=500&interface_language=en&doit= Featured articles for ''Category:{{{category|{{PAGENAME}}}}}'' promoted in {{CURRENTYEAR}}] | ||
{{cob}} | {{cob}} | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 16:39, 8 September 2020
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}}
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
| ||||||||||||||||||||
| The above documentation is transcluded from Template:Portal suggestions/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |