Difference between revisions of "Template:ArticleAlertSubscription/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>Headbomb
(comment)
blackwiki>Hellknowz
(clone)
Line 9: Line 9:
 
   DELSORT-->{{#if: {{{delsort|}}} | Delsort: '''[[[[Wikipedia:{{{delsort}}}|{{{delsort}}}]]]]''' <!--
 
   DELSORT-->{{#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}}}}}}|[[[[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}}}}} }} }} }} }} }} }}<!--
   REPORT PAGE-->→ {{#if: {{{delivery|}}} |<!--
+
 
  DELIVERY SET--> '''[[Wikipedia:{{{delivery}}}]]''' |<!--
+
--><!--
  NO DELIVERY SET--> [[Wikipedia:{{{project}}}/Article alerts]] }} |<!--
+
   DELIVERY PAGE SET?-->→ {{#if: {{{delivery|}}} |<!--
   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|.}}''
+
    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|.}}''<!--
 +
  INVALID A-CLASS SYNTAX-->
 
{{Documentation}}
 
{{Documentation}}
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude><!--
+
</noinclude>
 
 
Possibly usefull
 
{{#ifexist:Template:{{{project|WikiProject Science}}}|[[Template:{{{project|WikiProject Science}}}]]|don't exist}}
 
 
 
-->
 

Revision as of 16:35, 12 August 2018

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