Difference between revisions of "Template:ArticleAlertSubscription"

From blackwiki
Jump to navigation Jump to search
blackwiki>Headbomb
(close)
blackwiki>Headbomb
(infobox detect)
Line 23: Line 23:
 
   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}}}}}|**'''Preview message suggestion''': Possibly relevant banner: none detected}}}}}}<!--
 
+
  INFOBOX-->
  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|.}}''<!--
+
{{#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}}}}}}}}
 +
      |**'''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:30, 15 August 2018

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