Difference between revisions of "Template:Editnotice/notice"
Jump to navigation
Jump to search
imported>Jackmcbarn (Undid revision 970832365 by Jackmcbarn (talk)) |
imported>Jackmcbarn (try that again, this time without somehow nuking most of the content) |
||
| Line 6: | Line 6: | ||
| #default = editnotice | | #default = editnotice | ||
}} {{#switch:{{lc:{{{expiry|¬}}}}} | }} {{#switch:{{lc:{{{expiry|¬}}}}} | ||
| − | |||
|indefinite = is set never to expire | |indefinite = is set never to expire | ||
| | | | ||
|¬ = does not have an expiry time set | |¬ = does not have an expiry time set | ||
|#default = {{#iferror:{{#time:U|{{{expiry}}}}} | |#default = {{#iferror:{{#time:U|{{{expiry}}}}} | ||
| − | |{{error|has an invalid expiry time}} | + | |{{error|has an invalid expiry time[[Category:Editnotices with invalid expirations]]}} |
|{{#ifexpr:{{#time:U|{{{expiry}}}}}>{{#time:U|{{CURRENTTIMESTAMP}}}} | |{{#ifexpr:{{#time:U|{{{expiry}}}}}>{{#time:U|{{CURRENTTIMESTAMP}}}} | ||
|will expire {{#time:H:i, j F Y|{{{expiry}}}}} (UTC) | |will expire {{#time:H:i, j F Y|{{{expiry}}}}} (UTC) | ||
Latest revision as of 17:51, 2 August 2020
This editnotice does not have an expiry time set. To adjust this setting, please update the |expiry= parameter. |
| This template is used on approximately 12,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
Called from {{Editnotice}}. For more details, see {{Editnotice/doc}}.
| The above documentation is transcluded from Template:Editnotice/notice/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |