Difference between revisions of "Template:ArticleAlertSubscription/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>Headbomb
(sync)
m (25 revisions imported)
 
(10 intermediate revisions by one other user not shown)
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>'''<!--
 
+
  DELIVERY PAGE SET?--> {{#if: {{{delivery|}}} |**<!--
WORKFLOWS-->{{#if:{{{workflows|}}}|&nbsp;<small>({{{workflows}}})</small>}}: <!--
+
    YES--> '''[[Wikipedia:{{{delivery}}}|{{{delivery}}}]]''' |<!--
   BANNER-->{{#if: {{{banner|}}} | Banner: '''{{tl|{{{banner}}}}}''' }} <!--
+
    NO--> '''[[Wikipedia:{{{project}}}/Article alerts|{{{project}}}/Article alerts]]''' }}<!--
   TALK CATEGORY-->{{#if: {{{talkcategory|}}} | Talk category: '''(([[:Category:{{{talkcategory}}}|{{{talkcategory}}}]]))''' }} <!--
+
  WORKFLOWS-->{{#if:{{{workflows|}}}|**Workflows: {{{workflows}}}}}: <!--
   TALK SUBCATEGORY-->{{#if: {{{talksubcategories|}}} | Talk sub-categories: '''(([[:Category:{{{talksubcategories}}}|{{{talksubcategories}}}]]))''' }} <!--
+
   BANNER-->{{#if: {{{banner|}}} |**Banner: {{tl|{{{banner}}}}} |{{ifpreview|{{tl|{{{project}}}}}|}}}} <!--
   MAIN CATEGORY-->{{#if: {{{maincategory|}}} | Page category: '''(([[:Category:{{{maincategory}}}|{{{maincategory}}}]]))''' }} <!--
+
   TALK CATEGORY-->{{#if: {{{talkcategory|}}} |**Talk category: (([[:Category:{{{talkcategory}}}|{{{talkcategory}}}]])) }} <!--
   DELSORT-->{{#ifeq:{{{delsort|}}}|bypass||{{#if: {{{delsort|}}} | Delsort: '''[[[[Wikipedia:{{{delsort}}}|{{{delsort}}}]]]]''' <!--
+
   TALK SUBCATEGORY-->{{#if: {{{talksubcategories|}}} |**Talk sub-categories: (([[:Category:{{{talksubcategories}}}|{{{talksubcategories}}}]])) }} <!--
 +
   MAIN CATEGORY-->{{#if: {{{maincategory|}}} |**Page category: (([[:Category:{{{maincategory}}}|{{{maincategory}}}]])) }} <!--
 +
   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|}}} || <!--
   NO BANNER, NO TALK_CATEGORY, NO TALK_SUBCATEGORY, NO INFOBOX SET, NO MAIN_CATEGORY, NO DELSORT--> Banner: {{tl|{{{project}}}}} }} }} }} }} }} }}<!--  
+
   NO BANNER, NO TALK_CATEGORY, NO TALK_SUBCATEGORY, NO INFOBOX SET, NO MAIN_CATEGORY, NO DELSORT-->** Banner: {{tl|{{{project}}}}} }} }} }} }} }} }}<!--
 
+
-->|<!--
--><!--
 
  DELIVERY PAGE SET?-->→ {{#if: {{{delivery|}}} |<!--
 
    YES--> '''[[Wikipedia:{{{delivery}}}]]''' |<!--
 
    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-->

Latest revision as of 14:31, 28 October 2020

This template must be transcluded at the subscriptions page.

Template documentation[view] [edit] [history] [purge]

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}}