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

From blackwiki
Jump to navigation Jump to search
imported>Fred Gandt
(→‎Usage: Missed bullet)
imported>Fred Gandt
(→‎See also: Adding {{pagename detect see also}} and Category:Namespace manipulation templates)
Line 24: Line 24:
  
 
===See also===
 
===See also===
 
+
{{pagename detect see also}}
 
<includeonly>
 
<includeonly>
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
 +
[[Category:Namespace manipulation templates]]
 
</includeonly>
 
</includeonly>

Revision as of 19:20, 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.
  • This template has a shorthand {{Ipt}}.

Examples

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

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

{{subst:Ipt||Message for registered user|Statement on article page}}

Limitation

  • The template will consider any username made entirely of numerals and/or punctuation to be an IP.
  • This may be revised later to be more accurate.

See also

Template:Pagename detect see also