Difference between revisions of "Template:Mailing list member"
Jump to navigation
Jump to search
imported>Technical 13 (actually, it shouldn't turn red until it's been 2 years per the discussion, inactive added after the first, removed after the second.) |
imported>Technical 13 (and this should turn all those "marked" as inactive that are dates of less than one year green so they can be fixed.) |
||
| Line 6: | Line 6: | ||
|{{#ifeq:{{Yesno|{{{inactive|no}}}}}|yes | |{{#ifeq:{{Yesno|{{{inactive|no}}}}}|yes | ||
|{{#if:{{{user|}}} | |{{#if:{{{user|}}} | ||
| − | |{{User|{{{user}}}}} <span class="inactive-member" style="font-size: 0.95em; font-weight: bold; color: #{{#ifexpr:{{#time:U|{{{inactive}}}}}<{{#time:U|-2 years}}|F00|555}};">(Inactive since: {{#time:F Y|{{{inactive}}}}})</span> | + | |{{User|{{{user}}}}} <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|0F0}}}};">(Inactive since: {{#time:F Y|{{{inactive}}}}})</span> |
|{{#if:{{{page|}}} | |{{#if:{{{page|}}} | ||
| − | |[[{{{page}}}]] <span class="inactive-member" style="font-size: 0.95em; font-weight: bold; color: #{{#ifexpr:{{#time:U|{{{inactive}}}}}<{{#time:U|-2 years}}|F00|555}};">(Inactive since: {{#time:F Y|{{{inactive}}}}})</span> | + | |[[{{{page}}}]] <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|0F0}}}};">(Inactive since: {{#time:F Y|{{{inactive}}}}})</span> |
|{{Error|No user or page defined}} | |{{Error|No user or page defined}} | ||
}} | }} | ||
Revision as of 20:29, 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. |