Difference between revisions of "Template:Check talk"
Jump to navigation
Jump to search
This template is misplaced. It belongs on the talk page: Template talk:Check talk.
imported>Mike Dillon m (revert) |
imported>Mike Dillon (second attempt to make this work without hardcoding namespace names) |
||
| Line 1: | Line 1: | ||
| − | {{# | + | {{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}|{{#ifeq:{{NAMESPACE}}|{{ns:10}} |
| − | + | |<!-- Exclude message from templates --> | |
| − | + | |{{#switch|{{NAMESPACE}}:{{BASEPAGENAME}} | |
| − | + | <!-- Page-specific exclusions --> | |
| − | + | | Wikipedia:Template messages | |
| − | + | | Wikipedia:Cleanup resources= | |
| − | + | <!-- Message to show for other non-talk pages --> | |
| − | + | |#default=<center>'''''This [[Wikipedia:template|template]] is misplaced. It belongs on the [[Wikipedia:talk page|talk page]]:'' [[{{TALKPAGENAME}}]].'''</center> | |
| − | + | }}}}<includeonly>{{#ifeq:{{SUBJECTSPACE}}|{{ns:10}}|[[Category:Templates using check talk template]]|[[Category:Main pages with misplaced talk page templates]]}}</includeonly>}}<noinclude> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | }}}}<includeonly>{{#ifeq:{{ | ||
| − | <noinclude> | ||
This template is invisible except under the conditions described below. | This template is invisible except under the conditions described below. | ||
Revision as of 08:18, 20 November 2006
This template is invisible except under the conditions described below.
Usage
{{check talk}} may be incorporated into other templates that are intended to be used only on talk pages. If a template containing it is added to a page in any main namespace, then a warning message will be displayed encouraging people to use that template only on talk pages. The current text of the warning message is:
It also adds the pages to Category:Main pages with misplaced talk page templates for easier tracking and rectification.
Templates that incorporate the check talk template will be added to Category:Templates using check talk template.