Difference between revisions of "Template:Editnotice/notice/sandbox"
Jump to navigation
Jump to search
imported>Andy M. Wang (undo 738217222) |
imported>Andy M. Wang (conditional link to redirect editnotice?) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{Notice|This | + | {{Notice|This {{#switch:{{#titleparts: {{FULLPAGENAME}}|2}} |
| − | | Template:Editnotices/Namespace = (for [[Wikipedia:Namespace|the {{#titleparts: {{FULLPAGENAME}} |1|3}} namespace]]) | + | | Template:Editnotices/Namespace = namespace notice (for [[Wikipedia:Namespace|the {{#titleparts: {{FULLPAGENAME}} |1|3}} namespace]]) |
| − | | Template:Editnotices/Group = (for | + | | Template:Editnotices/Group = group editnotice (for {{pagelinks|{{#titleparts: {{FULLPAGENAME}} |0|3}}}} and its subpages) |
| − | | Template:Editnotices/Page | + | | Template:Editnotices/Page = editnotice (for {{pagelinks|{{#titleparts: {{FULLPAGENAME}} |0|3}}}}) |
| − | | Template:Editnotices/Protection = | + | | Template:Editnotices/Protection = [[Wikipedia:Editnotice#Protection notices|protection notice]] (for {{pagelinks|{{#titleparts: {{FULLPAGENAME}} |0|3}}}}) |
| + | | #default = editnotice | ||
}} {{#switch:{{lc:{{{expiry|¬}}}}} | }} {{#switch:{{lc:{{{expiry|¬}}}}} | ||
|infinite|never | |infinite|never | ||
| Line 21: | Line 22: | ||
| Template:Editnotices/Protection = {{#ifexist:{{#titleparts:{{FULLPAGENAME}}|0|3}} | | Template:Editnotices/Protection = {{#ifexist:{{#titleparts:{{FULLPAGENAME}}|0|3}} | ||
|{{#ifeq:{{#invoke:redirect|isRedirect|{{#titleparts:{{FULLPAGENAME}}|0|3}}}}|yes | |{{#ifeq:{{#invoke:redirect|isRedirect|{{#titleparts:{{FULLPAGENAME}}|0|3}}}}|yes | ||
| − | | <br /><span style="color:# | + | | <br /><span style="color:#050">Note:</span> ''[[:{{#titleparts: |
{{FULLPAGENAME}} |0|3}}]]'' redirects to {{#invoke:redirect|main | {{FULLPAGENAME}} |0|3}}]]'' redirects to {{#invoke:redirect|main | ||
| − | |{{#titleparts:{{FULLPAGENAME}}|0|3}}|bracket=yes}} | + | |{{#titleparts:{{FULLPAGENAME}}|0|3}}|bracket=yes}}{{#ifexist:{{#titleparts: {{FULLPAGENAME}}|2}}/{{#invoke:redirect|main|{{#titleparts:{{FULLPAGENAME}}|0|3}}}} |
| − | + | |, which [[{{#titleparts: {{FULLPAGENAME}}|2}}/{{#invoke:redirect|main|{{#titleparts:{{FULLPAGENAME}}|0|3}}}}|has an editnotice]]. | |
| − | + | |. | |
| + | }} | ||
{{#ifeq:{{{redirect}}}|yes||[[Category:Editnotices whose targets are redirects]]}}}} | {{#ifeq:{{{redirect}}}|yes||[[Category:Editnotices whose targets are redirects]]}}}} | ||
|{{ #switch: {{#invoke:Effective protection level|create|{{#titleparts: {{FULLPAGENAME}} |0|3}}}} | |{{ #switch: {{#invoke:Effective protection level|create|{{#titleparts: {{FULLPAGENAME}} |0|3}}}} | ||
Latest revision as of 07:11, 10 September 2017
This editnotice does not have an expiry time set. To adjust this setting, please update the |expiry= parameter. |
| This is the template sandbox page for Template:Editnotice/notice (diff). |
| This template is used on approximately 9,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. |