Difference between revisions of "Template:ArticleAlertSubscription/sandbox"
Jump to navigation
Jump to search
blackwiki>Headbomb (sync) |
blackwiki>Headbomb (test) |
||
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <includeonly><!-- |
| − | -->{{#if: {{{project|}}} | '''[[Wikipedia:{{{project}}}|{{{project}}}]] <small>([[Wikipedia talk:{{{project}}}|talk]])</small>'''<!-- | + | -->{{#if: {{{project|}}} |*'''[[Wikipedia:{{{project}}}|{{{project}}}]] <small>([[Wikipedia talk:{{{project}}}|talk]])</small>'''<!-- |
| − | WORKFLOWS-->{{#if:{{{workflows|}}}| | + | WORKFLOWS-->{{#if:{{{workflows|}}}|**<small>({{{workflows}}})</small>}}: <!-- |
| − | BANNER-->{{#if: {{{banner|}}} | Banner: '''{{tl|{{{banner}}}}}''' }} <!-- | + | BANNER-->{{#if: {{{banner|}}} |**Banner: '''{{tl|{{{banner}}}}}''' }} <!-- |
| − | TALK CATEGORY-->{{#if: {{{talkcategory|}}} | Talk category: '''(([[:Category:{{{talkcategory}}}|{{{talkcategory}}}]]))''' }} <!-- | + | TALK CATEGORY-->{{#if: {{{talkcategory|}}} |**Talk category: '''(([[:Category:{{{talkcategory}}}|{{{talkcategory}}}]]))''' }} <!-- |
| − | TALK SUBCATEGORY-->{{#if: {{{talksubcategories|}}} | Talk sub-categories: '''(([[:Category:{{{talksubcategories}}}|{{{talksubcategories}}}]]))''' }} <!-- | + | TALK SUBCATEGORY-->{{#if: {{{talksubcategories|}}} |**Talk sub-categories: '''(([[:Category:{{{talksubcategories}}}|{{{talksubcategories}}}]]))''' }} <!-- |
| − | MAIN CATEGORY-->{{#if: {{{maincategory|}}} | Page category: '''(([[:Category:{{{maincategory}}}|{{{maincategory}}}]]))''' }} <!-- | + | MAIN CATEGORY-->{{#if: {{{maincategory|}}} |**Page category: '''(([[:Category:{{{maincategory}}}|{{{maincategory}}}]]))''' }} <!-- |
| − | DELSORT-->{{#ifeq:{{{delsort|}}}|bypass||{{#if: {{{delsort|}}} | Delsort: '''[[[[Wikipedia:{{{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}}}}}}|[[[[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: '''{{tl|{{{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|}}} || <!-- | ||
| Line 16: | Line 16: | ||
--><!-- | --><!-- | ||
| − | DELIVERY PAGE SET?-->→ {{#if: {{{delivery|}}} |<!-- | + | DELIVERY PAGE SET?-->→ {{#if: {{{delivery|}}} |**<!-- |
YES--> '''[[Wikipedia:{{{delivery}}}]]''' |<!-- | YES--> '''[[Wikipedia:{{{delivery}}}]]''' |<!-- | ||
| − | NO--> [[Wikipedia:{{{project}}}/Article alerts]] }} |<!-- | + | NO-->** [[Wikipedia:{{{project}}}/Article alerts]] }} |<!-- |
NO PROJECT SET-->* {{Error|'''Bad subscription''' – ''You need to specify the {{para|project}} name.''}} }}</includeonly><noinclude>''{{Error|This template must be transcluded at the }}'''[[Wikipedia:Article alerts/Subscription list|{{Error|subscriptions page}}]]'''{{Error|.}}''<!-- | NO PROJECT SET-->* {{Error|'''Bad subscription''' – ''You need to specify the {{para|project}} name.''}} }}</includeonly><noinclude>''{{Error|This template must be transcluded at the }}'''[[Wikipedia:Article alerts/Subscription list|{{Error|subscriptions page}}]]'''{{Error|.}}''<!-- | ||
INVALID A-CLASS SYNTAX--> | INVALID A-CLASS SYNTAX--> | ||
Revision as of 12:26, 14 August 2018
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. |