Difference between revisions of "Template:ArticleAlertSubscription"

From blackwiki
Jump to navigation Jump to search
blackwiki>Headbomb
(fix)
m (124 revisions imported)
 
(7 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 22: Line 22:
 
   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}}}}|}}<!--
+
  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|}}}
 
  INFOBOX-->{{#if:{{{infobox|}}}
 
  |
 
  |
Line 30: Line 48:
 
     |{{#ifexist:Template:Infobox {{str crop|{{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}}}}}}}}
 
       |**'''Preview message''': Possibly relevant infobox: {{tl|Infobox {{str crop|{{lc:{{#invoke:String|replace|source={{{project|}}}|pattern=WikiProject%s*|replace= |plain=0}}}}}}}}
      |**'''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|.}}''<!--
+
}}<!-- 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}}
 
   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.

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