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
(rm parameters that no longer work)
Line 5: Line 5:
  
 
== 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 25:
 
     "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
 
   }
 
   }

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