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

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
imported>Fred Gandt
Line 27: Line 27:
 
<includeonly>{{Sandbox other||
 
<includeonly>{{Sandbox other||
 
<!--Categories below this line, please; interwikis at Wikidata-->
 
<!--Categories below this line, please; interwikis at Wikidata-->
 +
[[Category:Namespace manipulation templates]]
 
[[Category:Pagename manipulation templates]]
 
[[Category:Pagename manipulation templates]]
 
[[Category:Talk namespace templates]]
 
[[Category:Talk namespace templates]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 08:06, 27 June 2019

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 user}} 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 invokes Module:IPAddress to discern if the page it's on is that of an IP.

See also