Difference between revisions of "Template:Editnotice/notice/sandbox"
Jump to navigation
Jump to search
imported>Andy M. Wang (default) |
imported>Andy M. Wang (conditional link to redirect editnotice?) |
||
| Line 1: | Line 1: | ||
{{Notice|This {{#switch:{{#titleparts: {{FULLPAGENAME}}|2}} | {{Notice|This {{#switch:{{#titleparts: {{FULLPAGENAME}}|2}} | ||
| Template:Editnotices/Namespace = namespace notice (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 = group editnotice (for | + | | Template:Editnotices/Group = group editnotice (for {{pagelinks|{{#titleparts: {{FULLPAGENAME}} |0|3}}}} and its subpages) |
| − | | Template:Editnotices/Page = editnotice (for | + | | Template:Editnotices/Page = editnotice (for {{pagelinks|{{#titleparts: {{FULLPAGENAME}} |0|3}}}}) |
| − | | Template:Editnotices/Protection = [[Wikipedia:Editnotice#Protection notices|protection notice]] (for | + | | Template:Editnotices/Protection = [[Wikipedia:Editnotice#Protection notices|protection notice]] (for {{pagelinks|{{#titleparts: {{FULLPAGENAME}} |0|3}}}}) |
| #default = editnotice | | #default = editnotice | ||
}} {{#switch:{{lc:{{{expiry|¬}}}}} | }} {{#switch:{{lc:{{{expiry|¬}}}}} | ||
| Line 24: | Line 24: | ||
| <br /><span style="color:#050">Note:</span> ''[[:{{#titleparts: | | <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. |