Difference between revisions of "Template:IP-talk/doc"
Jump to navigation
Jump to search
imported>Fred Gandt (updated to reflect adoption of Module:IPAddress for IP the detection) |
imported>Andrybak (categorize into Category:Pagename manipulation templates) |
||
| Line 25: | Line 25: | ||
{{Namespace and pagename-detecting templates}} | {{Namespace and pagename-detecting templates}} | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
| − | + | <!--Categories below this line, please; interwikis at Wikidata--> | |
| − | [[Category: | + | [[Category:Pagename manipulation templates]] |
[[Category:Talk namespace templates]] | [[Category:Talk namespace templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 07:19, 27 June 2019
| This is a documentation subpage for Template:IP-talk. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
| This template should always be substituted (i.e., use {{subst:IP-talk}}). |
Contents
Usage
- Returns one of three strings dependent on where placed.
- 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 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
- {{IsIPAddress}}