Difference between revisions of "Template:ArticleAlertSubscription/sandbox"
Jump to navigation
Jump to search
blackwiki>Headbomb |
m (25 revisions imported) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 3: | Line 3: | ||
DELIVERY PAGE SET?--> → {{#if: {{{delivery|}}} |**<!-- | DELIVERY PAGE SET?--> → {{#if: {{{delivery|}}} |**<!-- | ||
YES--> '''[[Wikipedia:{{{delivery}}}|{{{delivery}}}]]''' |<!-- | YES--> '''[[Wikipedia:{{{delivery}}}|{{{delivery}}}]]''' |<!-- | ||
| − | NO--> [[Wikipedia:{{{project}}}/Article alerts|{{{project}}}/Article alerts]] }}<!-- | + | NO--> '''[[Wikipedia:{{{project}}}/Article alerts|{{{project}}}/Article alerts]]''' }}<!-- |
WORKFLOWS-->{{#if:{{{workflows|}}}|**Workflows: {{{workflows}}}}}: <!-- | WORKFLOWS-->{{#if:{{{workflows|}}}|**Workflows: {{{workflows}}}}}: <!-- | ||
| − | BANNER-->{{#if: {{{banner|}}} |**Banner: | + | BANNER-->{{#if: {{{banner|}}} |**Banner: {{tl|{{{banner}}}}} |{{ifpreview|{{tl|{{{project}}}}}|}}}} <!-- |
| − | TALK CATEGORY-->{{#if: {{{talkcategory|}}} |**Talk category: | + | TALK CATEGORY-->{{#if: {{{talkcategory|}}} |**Talk category: (([[:Category:{{{talkcategory}}}|{{{talkcategory}}}]])) }} <!-- |
| − | TALK SUBCATEGORY-->{{#if: {{{talksubcategories|}}} |**Talk sub-categories: | + | TALK SUBCATEGORY-->{{#if: {{{talksubcategories|}}} |**Talk sub-categories: (([[:Category:{{{talksubcategories}}}|{{{talksubcategories}}}]])) }} <!-- |
| − | MAIN CATEGORY-->{{#if: {{{maincategory|}}} |**Page category: | + | MAIN CATEGORY-->{{#if: {{{maincategory|}}} |**Page category: (([[:Category:{{{maincategory}}}|{{{maincategory}}}]])) }} <!-- |
| − | DELSORT-->{{#ifeq:{{{delsort|}}}|bypass||{{#if: {{{delsort|}}} |**Delsort: | + | DELSORT-->{{#ifeq:{{{delsort|}}}|bypass||{{#if: {{{delsort|}}} |**Delsort: [[[[Wikipedia:{{{delsort}}}|{{{delsort}}}]]]] <!-- |
DELSORT ALONE WARNING-->{{#if: {{{banner|}}} || {{#if: {{{talkcategory|}}} || {{#if: {{{talksubcategories|}}} || {{#if: {{{maincategory|}}} || {{#if: {{{infobox|}}} || <!-- | DELSORT ALONE WARNING-->{{#if: {{{banner|}}} || {{#if: {{{talkcategory|}}} || {{#if: {{{talksubcategories|}}} || {{#if: {{{maincategory|}}} || {{#if: {{{infobox|}}} || <!-- | ||
no banner/talkcat/talksubcat/maincat set/infobox--> '''{{Error|Warning: only subscribed to delsort}}''' }} }} }} }} }}<!--xx-->|{{#ifexist:Wikipedia:WikiProject Deletion sorting/{{#invoke:String|replace|source={{{project|WikiProject Science}}}|pattern=WikiProject%s*|replace= |plain=0}}|** Delsort: [[[[Wikipedia:WikiProject Deletion sorting/{{#invoke:String|replace|source={{{project}}}|pattern=WikiProject%s*|replace= |plain=0}}]]]]|{{#ifexist:Wikipedia:WikiProject Deletion sorting/{{ucfirst:{{lc:{#invoke:String|replace|source={{{project|WikiProject Science}}}|pattern=WikiProject%s*|replace= |plain=0}}}}}}|** Delsort: [[[[Wikipedia:WikiProject Deletion sorting/{{ucfirst:{{lc:{{#invoke:String|replace|source={{{project}}}|pattern=WikiProject%s*|replace= |plain=0}}}}}}]]]]}}}}}} <!-- | no banner/talkcat/talksubcat/maincat set/infobox--> '''{{Error|Warning: only subscribed to delsort}}''' }} }} }} }} }}<!--xx-->|{{#ifexist:Wikipedia:WikiProject Deletion sorting/{{#invoke:String|replace|source={{{project|WikiProject Science}}}|pattern=WikiProject%s*|replace= |plain=0}}|** Delsort: [[[[Wikipedia:WikiProject Deletion sorting/{{#invoke:String|replace|source={{{project}}}|pattern=WikiProject%s*|replace= |plain=0}}]]]]|{{#ifexist:Wikipedia:WikiProject Deletion sorting/{{ucfirst:{{lc:{#invoke:String|replace|source={{{project|WikiProject Science}}}|pattern=WikiProject%s*|replace= |plain=0}}}}}}|** Delsort: [[[[Wikipedia:WikiProject Deletion sorting/{{ucfirst:{{lc:{{#invoke:String|replace|source={{{project}}}|pattern=WikiProject%s*|replace= |plain=0}}}}}}]]]]}}}}}} <!-- | ||
| − | INFOBOX-->{{#if: {{{infobox|}}} |** Infobox: | + | INFOBOX-->{{#if: {{{infobox|}}} |** Infobox: {{tl|{{{infobox}}}}} <!-- |
INFOBOX ALONE WARNING-->{{#if: {{{banner|}}} || {{#if: {{{talkcategory|}}} || {{#if: {{{talksubcategories|}}} || {{#if: {{{maincategory|}}} || {{#if: {{{delsort|}}} || <!-- | INFOBOX ALONE WARNING-->{{#if: {{{banner|}}} || {{#if: {{{talkcategory|}}} || {{#if: {{{talksubcategories|}}} || {{#if: {{{maincategory|}}} || {{#if: {{{delsort|}}} || <!-- | ||
no banner/talkcat/talksubcat/maincat set/delsort--> '''{{Error|Warning: only subscribed to infobox}}''' }} }} }} }} }}<!--xx--> }} {{#if: {{{banner|}}} || {{#if: {{{talkcategory|}}} || {{#if: {{{talksubcategories|}}} || {{#if: {{{infobox|}}} || {{#if: {{{maincategory|}}} || {{#if: {{{delsort|}}} || <!-- | no banner/talkcat/talksubcat/maincat set/delsort--> '''{{Error|Warning: only subscribed to infobox}}''' }} }} }} }} }}<!--xx--> }} {{#if: {{{banner|}}} || {{#if: {{{talkcategory|}}} || {{#if: {{{talksubcategories|}}} || {{#if: {{{infobox|}}} || {{#if: {{{maincategory|}}} || {{#if: {{{delsort|}}} || <!-- | ||
Latest revision as of 14:31, 28 October 2020
This template must be transcluded at the subscriptions page.
| This is the template sandbox page for Template:ArticleAlertSubscription (diff). See also the companion subpage for test cases. |
Usage
This template is placed at Wikipedia:Article alerts/Subscription list to subscribe to WP:Article Alerts.
| 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}}
| The above documentation is transcluded from Template:ArticleAlertSubscription/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |