Difference between revisions of "Template:Mailing list member"
Jump to navigation
Jump to search
imported>Technical 13 (If the "inactive" date is less than a year, show comment in a green color && still send them messages.) |
imported>Technical 13 (Another color adjustment and an adjustment to not inactive users marked as such to make the date a link to their contribs for confirmation.) |
||
| Line 12: | Line 12: | ||
|{{Error|No user or page defined}} | |{{Error|No user or page defined}} | ||
}} | }} | ||
| − | }}}} <span class="inactive-member" style="font-size: 0.95em; font-weight: bold; color: #{{#ifexpr:{{#time:U|{{{inactive}}}}}<{{#time:U|-2 years}}|F00|{{#ifexpr:{{#time:U|{{{inactive}}}}}<{{#time:U|-1 year}}|555| | + | }}}} <span class="inactive-member" style="font-size: 0.95em; font-weight: bold; color: #{{#ifexpr:{{#time:U|{{{inactive}}}}}<{{#time:U|-2 years}}|F00|{{#ifexpr:{{#time:U|{{{inactive}}}}}<{{#time:U|-1 year}}|555|080}}}};">(Inactive since: {{#ifexpr:{{#time:U|{{{inactive}}}}}<{{#time:U|-1 year}}|{{#time:F Y|{{{inactive}}}}}|[[Special:Contributions/{{{user}}}|{{#time:F Y|{{{inactive}}}}}]]}})</span> |
|{{#if:{{{page|}}} | |{{#if:{{{page|}}} | ||
|{{#ifexpr:{{#time:U|{{{inactive}}}}}<{{#time:U|-1 year}}|[[{{{page}}}]]|{{#if:{{{user|}}} | |{{#ifexpr:{{#time:U|{{{inactive}}}}}<{{#time:U|-1 year}}|[[{{{page}}}]]|{{#if:{{{user|}}} | ||
| Line 20: | Line 20: | ||
|{{Error|No user or page defined}} | |{{Error|No user or page defined}} | ||
}} | }} | ||
| − | }}}} <span class="inactive-member" style="font-size: 0.95em; font-weight: bold; color: #{{#ifexpr:{{#time:U|{{{inactive}}}}}<{{#time:U|-2 years}}|F00|{{#ifexpr:{{#time:U|{{{inactive}}}}}<{{#time:U|-1 year}}|555| | + | }}}} <span class="inactive-member" style="font-size: 0.95em; font-weight: bold; color: #{{#ifexpr:{{#time:U|{{{inactive}}}}}<{{#time:U|-2 years}}|F00|{{#ifexpr:{{#time:U|{{{inactive}}}}}<{{#time:U|-1 year}}|555|080}}}};">(Inactive since: {{#time:F Y|{{{inactive}}}}})</span> |
|{{Error|No user or page defined}} | |{{Error|No user or page defined}} | ||
}} | }} | ||
Revision as of 20:39, 23 February 2014
No user or page defined
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
- {{Mailing list member|user=Example}}
- {{Mailing list member|page=Example}}
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Username | user | User name of the user to add to the mailing list. Either this '''or''' page is required.
| User | optional |
| Project pagename | page | Full page name of the project to add to the mailing list. Either this '''or''' user is required.
| Page | optional |
| The above documentation is transcluded from Template:Mailing list member/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |