Difference between revisions of "Template:ArticleAlertSubscription"

From blackwiki
Jump to navigation Jump to search
blackwiki>Headbomb
(Reverted to revision 855042112 by Headbomb (talk): Will do differently. (TW))
m (124 revisions imported)
 
(13 intermediate revisions by one other user not shown)
Line 4: Line 4:
 
     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: {{tl|{{{banner}}}}} }}<!--
 
   BANNER-->{{#if: {{{banner|}}} |**Banner: {{tl|{{{banner}}}}} }}<!--
 
   NOTHINGSET--> {{#if: {{{banner|}}} || {{#if: {{{talkcategory|}}} || {{#if: {{{talksubcategories|}}} || {{#if: {{{infobox|}}} || {{#if: {{{maincategory|}}} || {{#if: {{{delsort|}}} || ** Banner: {{tl|{{{project}}}}} }} }} }} }} }} }}<!--
 
   NOTHINGSET--> {{#if: {{{banner|}}} || {{#if: {{{talkcategory|}}} || {{#if: {{{talksubcategories|}}} || {{#if: {{{infobox|}}} || {{#if: {{{maincategory|}}} || {{#if: {{{delsort|}}} || ** Banner: {{tl|{{{project}}}}} }} }} }} }} }} }}<!--
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--> }}</includeonly><noinclude>''{{Error|This template must be transcluded at the }}'''[[Wikipedia:Article alerts/Subscription list|{{Error|subscriptions page}}]]'''{{Error|.}}''<!--
+
   no banner/talkcat/talksubcat/maincat set/delsort--> '''{{Error|Warning: only subscribed to infobox}}''' }} }} }} }} }}<!--xx--> }}<!--
   INVALID A-CLASS SYNTAX-->
+
  PREVIEW SUGGESTIONS--><!--
{{Documentation}}
+
BANNER-->{{#if:{{{banner|}}}
 +
|
 +
|{{ifpreview
 +
  |{{#ifexist:Template:{{{project}}}
 +
  |**'''Preview message''': Possibly relevant banner: {{tl|{{{project}}}}}|
 +
  }}
 +
  |}}
 +
}}<!--
 +
DELSORT-->{{#if:{{{delsort|}}}
 +
|
 +
|{{ifpreview
 +
  |{{#ifexist:Wikipedia:WikiProject Deletion sorting/{{#invoke:String|replace|source={{{project|}}}|pattern=WikiProject%s*|replace= |plain=0}}
 +
    |**'''Preview message''': Possibly relevant delsort: [[[[Wikipedia:WikiProject Deletion sorting/{{#invoke:String|replace|source={{{project|}}}|pattern=WikiProject%s*|replace= |plain=0}}]]]]
 +
    |{{#ifexist:Wikipedia:WikiProject Deletion sorting/{{lc:{{#invoke:String|replace|source={{{project|}}}|pattern=WikiProject%s*|replace= |plain=0}}}}
 +
    |**'''Preview message''': Possibly relevant delsort: [[[[Wikipedia:WikiProject Deletion sorting/{{lc:{{#invoke:String|replace|source={{{project|}}}|pattern=WikiProject%s*|replace= |plain=0}}}}]]]]
 +
      }}
 +
    }}
 +
  |}}
 +
}}<!--
 +
INFOBOX-->{{#if:{{{infobox|}}}
 +
|
 +
|{{ifpreview
 +
  |{{#ifexist:Template:Infobox {{lc:{{#invoke:String|replace|source={{{project|}}}|pattern=WikiProject%s*|replace= |plain=0}}}}
 +
    |**'''Preview message''': Possibly relevant infobox: {{tl|Infobox {{lc:{{#invoke:String|replace|source={{{project|}}}|pattern=WikiProject%s*|replace= |plain=0}}}}}}
 +
    |{{#ifexist:Template:Infobox {{str crop|{{lc:{{#invoke:String|replace|source={{{project|}}}|pattern=WikiProject%s*|replace= |plain=0}}}}}}
 +
      |**'''Preview message''': Possibly relevant infobox: {{tl|Infobox {{str crop|{{lc:{{#invoke:String|replace|source={{{project|}}}|pattern=WikiProject%s*|replace= |plain=0}}}}}}}}
 +
      }}
 +
    }}
 +
  |}}
 +
}}<!-- ERRORS
 +
Parameter error -->{{#if:{{{1|}}}|**{{Error|Parameter error}}}}</includeonly><noinclude><!--
 +
 
 +
Transclusion error-->''{{Error|This template must be transcluded at the }}'''[[Wikipedia:Article alerts/Subscription list|{{Error|subscriptions page}}]]'''{{Error|.}}''<!--
 +
 
 +
   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>

Latest revision as of 14:31, 28 October 2020

This template must be transcluded at the subscriptions page.

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

Usage

This template is placed at Wikipedia:Article alerts/Subscription list to subscribe to WP:Article Alerts.

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