Difference between revisions of "Template:ArticleAlertSubscription/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Hellknowz
(→‎Usage: upd)
m (48 revisions imported)
 
(12 intermediate revisions by 6 users not shown)
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
 +
 +
This template is placed at [[Wikipedia:Article alerts/Subscription list]] to subscribe to [[WP:Article Alerts]].
  
 
{| style="background:none;"
 
{| style="background:none;"
 
|-
 
|-
| width=45 | [[File:Modern clock chris kemps 01 with Octagon-warning.svg|35px]]
+
| width=45 | [[File:History.svg|35px]]
|<big>'''Please see [[Wikipedia:Article alerts/Subscribing]] for a user-friendly guide.'''</big>
+
|<big>'''Please see [[Wikipedia:Article alerts/Subscribing]] for the main guide.'''</big><br>'''(The guide is also shown below.)'''
 
|}
 
|}
  
This template is placed at [[Wikipedia:Article alerts/Subscription list]] to subscribe to [[WP:Article Alerts]].
+
====Full syntax====
 
 
====Subscription for a WikiProject pages marked with a project banner====
 
 
 
 
<pre>
 
<pre>
 
{{ArticleAlertSubscription
 
{{ArticleAlertSubscription
  |project =
+
  |project             =
}}</pre>
+
  |banner              =
 
+
  |talkcategory        =
====Subscription for taskforces/sub-projects with categorized pages====
+
  |talksubcategories  =
 
+
  |infobox            =
<pre>
+
  |delivery            =
{{ArticleAlertSubscription
+
  |workflows          =
  |project  =
+
  |delsort            =
  |category =
+
  |maincategory       =
}}</pre>
+
  |aclassreviewpage    =
 
+
  |aclasssyntax        =
====Custom subscription====
+
  |archivetime        =
<pre>
+
}}
{{ArticleAlertSubscription
+
</pre>
  |project        =
 
  |banner          =
 
  |category        =
 
  |subcategories  =
 
  |infobox        =
 
  |delivery       =
 
  |workflows      =
 
  |entrylimit      =
 
  |noremovals
 
|removeafter    =
 
}}</pre>
 
 
 
====Parameters====
 
*'''{{para|banner}}'''
 
: The name of the banner template that appears on the talk pages. For example, {{tl|WikiProject Video games}} or {{tl|WPMILHIST}}. This must be the true location of the template, '''not''' a redirect. Do not prefix with "Template:".
 
 
 
*'''{{para|project}}'''
 
: If the WikiProject name does not match the {{para|banner}} template name, enter the WikiProject name here. For example, [[Wikipedia:WikiProject Military history|WikiProject Military history]] does not match {{tl|WPMILHIST}}, so {{para|project|WikiProject Military history}} is needed.
 
 
 
*'''{{para|category}}'''
 
: If you want to receive alerts for a ''category'' of articles use this field and leave {{para|banner}} empty. Taskforces want to use this and specify {{para|project}} as their sub-page for default delivery to "Wikipedia:''WikiProject Your project/taskforce''/Article alerts". If the delivery page should be different or this isn't for a taskforce, you need to specify the exact {{para|delivery}} page (see right below).  Do not prefix with "Category:".
 
 
 
*'''{{para|subcategories|yes}}'''
 
: Use this parameter together with {{para|category}} if you instead want to receive alerts for the ''sub-categories'' of the category specified by {{para|category}}. This is useful for taskforces or projects that do not have a single category with all their pages in, but instead use sub-category system, such as WP1.0 categorization. So specifying category "''WikiProject Your Project articles by importance''" would include all the sub-categories, for example, "''WikiProject Your Project low/mid/high/top/unknown-importance articles''".
 
 
 
*'''{{para|delivery}}'''
 
: By default the Article alerts are delivered to "Wikipedia:''WikiProject Your project''/Article alerts" for banner subscriptions or "Wikipedia:''WikiProject Your project/taskforce''/Article alerts" for category subscriptions. However, if you want them delivered elsewhere, use this field. If you subscribe to a category, you must also specify {{para|delivery}}.
 
 
 
*'''{{para|workflows}}'''
 
: Each workflow covered by the Article Alerts has an associated code (see [[#Workflows|below]]). By default all workflows are covered, identical to {{para|workflows|ALL}}. If, for example, you do not want to receive notifications about ''Did You Know...?'' simply place {{para|workflows|ALL,!DYK}} ("ALL, but ''not'' DYK"). If you want deletion processes covered, but not PRODs, place {{para|workflows|DEL,!PROD}} ("include DEL, but ''not'' PROD"). This way, any combination can be achieved, for example, {{para|workflows|ALL,!QUAL,FAC}} ("ALL, but exclude QUAL assessments, however include FAC").
 
 
 
*'''{{para|entrylimit}}'''
 
: [[File:Ambox clock.svg|24px]] &nbsp; ''not yet implemented – defaults to 10''
 
: The main report page will always list the full number of entries for each workflow. However, transclusion of the page is specified to only list a limited number of entries and display a link to the main page when more entries are available (e.g., "5 more..."). Set the {{para|entrylimit}} field to a number of entries you would like displayed when transcluding the report page, by default 10.
 
 
 
*'''{{para||noremovals}}'''
 
: [[File:Ambox clock.svg|24px]] &nbsp; ''not yet implemented – removed pages will be listed''
 
: By default, the pages removed from workflows (e.g. deleted, kept, moved, promoted, etc.) will be shown for a certain period of time. If this is not desired, an unnamed {{para||noremovals}} field can be set. Pages removed from workflows will also disappear from the report list.
 
 
 
*'''{{para|removeafter}}'''
 
: [[File:Ambox clock.svg|24px]] &nbsp; ''not yet implemented''
 
: Pages that have been removed from workflows (see above) will be kept for {{para|removeafter}} days before being removed from the list. By default, removed pages will remain on the list for 14 days since being added.
 
  
==== Workflows ====
+
{{Wikipedia:Article alerts/Subscribing/Content}}
  
{{Wikipedia:Article alerts/Workflow grouping}}<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATS AND INTERWIKIS -->
 
<!-- CATS AND INTERWIKIS -->
[[Category:Article Alerts|Τ]]
+
[[Category:Wikipedia article alerts|τ]]
</includeonly>
+
}}</includeonly>

Latest revision as of 14:31, 28 October 2020

Usage

This template is placed at Wikipedia:Article alerts/Subscription list to subscribe to WP:Article Alerts.

History.svg Please see Wikipedia:Article alerts/Subscribing for the main guide.
(The guide is also shown below.)

Full syntax

{{ArticleAlertSubscription
 |project             =
 |banner              =
 |talkcategory        =
 |talksubcategories   =
 |infobox             =
 |delivery            =
 |workflows           =
 |delsort             =
 |maincategory        =
 |aclassreviewpage    =
 |aclasssyntax        =
 |archivetime         =
}}

{{Wikipedia:Article alerts/Subscribing/Content}}