Difference between revisions of "Template:ArticleAlertSubscription"

From blackwiki
Jump to navigation Jump to search
blackwiki>Headbomb
(banner suggestion)
blackwiki>Headbomb
(fix, infobox)
Line 16: Line 16:
 
   no banner/talkcat/talksubcat/maincat set/infobox--> '''{{Error|Warning: only subscribed to delsort}}''' }} }} }} }} }}<!--xx-->|<!--
 
   no banner/talkcat/talksubcat/maincat set/infobox--> '''{{Error|Warning: only subscribed to delsort}}''' }} }} }} }} }}<!--xx-->|<!--
 
  AUTODETECT DELSORT-->{{#if:{{{banner|}}} || {{#if:{{{infobox|}}} || {{#if:{{{talkcategory|}}} || {{#if:{{{talksubcategories|}}} || {{#if:{{{maincategory|}}} ||<!--
 
  AUTODETECT DELSORT-->{{#if:{{{banner|}}} || {{#if:{{{infobox|}}} || {{#if:{{{talkcategory|}}} || {{#if:{{{talksubcategories|}}} || {{#if:{{{maincategory|}}} ||<!--
  "Uppercase" Delsort-->{{#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}}]]]]|<!--
+
  "Uppercase" Delsort-->{{#ifexist:Wikipedia:WikiProject Deletion sorting/{{#invoke:String|replace|source={{{project}}}|pattern=WikiProject%s*|replace= |plain=0}}|** Delsort: [[[[Wikipedia:WikiProject Deletion sorting/{{#invoke:String|replace|source={{{project}}}|pattern=WikiProject%s*|replace= |plain=0}}]]]]|<!--
  "Lowercase" Delsort-->{{#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}}}}}}]]]]}}}}}} }} }} }} }} }} <!--
+
  "Lowercase" Delsort-->{{#ifexist:Wikipedia:WikiProject Deletion sorting/{{ucfirst:{{lc:{{#invoke:String|replace|source={{{project}}}|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--> }}<!--
 
   no banner/talkcat/talksubcat/maincat set/delsort--> '''{{Error|Warning: only subscribed to infobox}}''' }} }} }} }} }}<!--xx--> }}<!--
 
   PREVIEW SUGGESTIONS--><!--
 
   PREVIEW SUGGESTIONS--><!--
  BANNER-->{{#if:{{{banner|}}}||{{ifpreview|{{#ifexist:Template:{{{project}}}|**'''Preview message''': Possibly relevant banner: {{tl|{{{project}}}}}|**'''Preview message suggestion''': Possibly relevant banner: none detected}}}}}}</includeonly><noinclude>''{{Error|This template must be transcluded at the }}'''[[Wikipedia:Article alerts/Subscription list|{{Error|subscriptions page}}]]'''{{Error|.}}''<!--
+
  BANNER-->{{#if:{{{banner|}}}||{{ifpreview|{{#ifexist:Template:{{{project}}}|**'''Preview message''': Possibly relevant banner: {{tl|{{{project}}}}}|**'''Preview message suggestion''': Possibly relevant banner: none detected}}}}}}<!--
 +
 
 +
INFOBOX-->{{#if:{{{infobox|}}}||{{ifpreview|{{#ifexist:Template:Infobox {{#invoke:String|replace|source={{{project|}}}|pattern=WikiProject%s*|replace= |plain=0}}|**'''Preview message''': Possibly relevant infobox: {{tl|{{{project}}}}}|**'''Preview message suggestion''': Possibly relevant infobox: none detected}}}}}}</includeonly><noinclude>''{{Error|This template must be transcluded at the }}'''[[Wikipedia:Article alerts/Subscription list|{{Error|subscriptions page}}]]'''{{Error|.}}''<!--
 +
 
 
   INVALID A-CLASS SYNTAX-->{{Documentation}}
 
   INVALID A-CLASS SYNTAX-->{{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>

Revision as of 15:13, 15 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}}