Difference between revisions of "Template:Check talk"

From blackwiki
Jump to navigation Jump to search
imported>CBM
(Per editprotected request, I believe this will fix it)
imported>MZMcBride
(code updates)
Line 1: Line 1:
 
{{#switch:{{BASEPAGENAME}}
 
{{#switch:{{BASEPAGENAME}}
  |Template messages
+
|Template messages
  |Cleanup resources=  
+
|Cleanup resources=  
  |#default={{#switch:{{NAMESPACE}}
+
|#default={{#switch:{{NAMESPACE}}
    |{{ns:0}}
+
  |{{ns:0}}
    |Wikipedia
+
  |Wikipedia
    |User
+
  |User
    |Image
+
  |Image
    |Category
+
  |Category
    |Mediawiki
+
  |Mediawiki
    |Portal
+
  |Portal
    |Help = <center><font color="red">'''''This [[Wikipedia:template|template]] is misplaced.  It belongs on the [[Wikipedia:talk page|talk page]]:'' [[{{TALKPAGENAME}}]].'''</font></center>
+
  |Help = <center><font color="red">'''''This [[Wikipedia:template|template]] is misplaced.  It belongs on the [[Wikipedia:talk page|talk page]]:'' [[{{TALKPAGENAME}}]].'''</font></center>
 
[[Category:Main pages with misplaced talk page templates]]
 
[[Category:Main pages with misplaced talk page templates]]
 
}}}}<includeonly>{{#ifeq:{{NAMESPACE}}|Template|[[Category:Templates using check talk template|{{PAGENAME}}]]}}</includeonly><noinclude>
 
}}}}<includeonly>{{#ifeq:{{NAMESPACE}}|Template|[[Category:Templates using check talk template|{{PAGENAME}}]]}}</includeonly><noinclude>
 
+
{{pp-template|small=yes}}
This template is invisible except under the conditions described below.
+
This template is invisible except under the conditions described below.
 
 
{{protected template}}
 
  
 
==Usage==
 
==Usage==

Revision as of 03:16, 13 September 2007

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:

This template is misplaced. It belongs on the talk page: Template talk:Check talk.

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.