Difference between revisions of "Template:Mailing list member/doc"

From blackwiki
Jump to navigation Jump to search
imported>Celestina007
(Reverted to revision 782789278 by Mr. Guye (talk): Error made by I (TW))
imported>Jackmcbarn
(no longer uses Lua)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
{{lua|Module:Mailing list member}}
 
 
Similar to [[:m:Template:Target]], this is a wrapper template to make it easier to create and manage mailing lists using the [[Wikipedia:Mass message senders|mass message system]], which began in 2014.
 
Similar to [[:m:Template:Target]], this is a wrapper template to make it easier to create and manage mailing lists using the [[Wikipedia:Mass message senders|mass message system]], which began in 2014.
  
 
== Usage ==
 
== Usage ==
* {{Tlp|Mailing list member|user{{=}}Example|inactive{{=}}''date user went inactive''|blocked{{=}}''date user was blocked''}}
+
* {{Tlp|Mailing list member|user{{=}}Example}}
* {{Tlp|Mailing list member|page{{=}}Example|inactive{{=}}''date project went inactive''}}
+
* {{Tlp|Mailing list member|page{{=}}Example}}
  
 
== TemplateData ==
 
== TemplateData ==
Line 25: Line 24:
 
     "type": "string/wiki-page-name",
 
     "type": "string/wiki-page-name",
 
     "default": "",
 
     "default": "",
    "required": false
 
  },
 
  "inactive": {
 
    "label": "Inactive user",
 
    "description": "The date that the previously defined user or project became inactive.",
 
    "type": "string",
 
    "default": "no",
 
    "required": false
 
  },
 
  "blocked": {
 
    "label": "Blocked user",
 
    "description": "The date that the previously defined user was blocked.",
 
    "type": "string",
 
    "default": "no",
 
 
     "required": false
 
     "required": false
 
   }
 
   }

Latest revision as of 23:06, 5 October 2020

Similar to m:Template:Target, this is a wrapper template to make it easier to create and manage mailing lists using the mass message system, which began in 2014.

Usage

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Mailing list member

A wrapper template to make it easier to create and manage mailing lists using the new mass message system.

Template parameters

ParameterDescriptionTypeStatus
Usernameuser

User name of the user to add to the mailing list. Either this '''or''' page is required.

Default
Useroptional
Project pagenamepage

Full page name of the project to add to the mailing list. Either this '''or''' user is required.

Default
Pageoptional