Difference between revisions of "Template:IP-talk/doc"

From blackwiki
Jump to navigation Jump to search
imported>Fred Gandt
(→‎Usage: namespace → userspace)
imported>Fred Gandt
(→‎Usage: Clarify)
Line 7: Line 7:
 
#If placed on an IP talk page (any talk page in an IP userspace).
 
#If placed on an IP talk page (any talk page in an IP userspace).
 
#If placed on a talk page of a registered user (any talk page in their userspace).
 
#If placed on a talk page of a registered user (any talk page in their userspace).
#If placed on a page that is not a talk page.
+
#If placed on a page that is not a user talk page.
  
 
===Examples===
 
===Examples===

Revision as of 13:56, 28 November 2011

Usage

  • Returns one of three strings dependent on where placed.
  1. If placed on an IP talk page (any talk page in an IP userspace).
  2. If placed on a talk page of a registered user (any talk page in their userspace).
  3. If placed on a page that is not a user talk page.

Examples

I have been placed on {{subst:IP-talk|an IP user's|a registered user's|a page that is not a}} talk page.

{{subst:IP-talk|Create an account! Is kewl!|Now you've registered you can...}}

{{subst:IP-talk||Message for registered user|Statement on article page}}

Limitation

  • The template (currently) will consider any username made entirely of numerals and/or punctuation to be an IP.

See also