Difference between revisions of "Template:IP-talk/doc"
Jump to navigation
Jump to search
imported>Fred Gandt (→Examples: Further clarify) |
imported>Fred Gandt (Notes about shorthand Template:Ipt and about possible future improvement) |
||
| Line 8: | Line 8: | ||
#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 user talk page. | #If placed on a page that is not a user talk page. | ||
| + | |||
| + | This template has a shorthand <code><nowiki>{{Ipt}}</nowiki></code>. | ||
===Examples=== | ===Examples=== | ||
I have been placed on <code><nowiki>{{subst:IP-talk|an IP user's|a registered user's|a page that is not a user}}</nowiki></code> talk page. | I have been placed on <code><nowiki>{{subst:IP-talk|an IP user's|a registered user's|a page that is not a user}}</nowiki></code> talk page. | ||
| − | <code><nowiki>{{subst: | + | <code><nowiki>{{subst:Ipt|Create an account! Is kewl!|Now you've registered you can...}}</nowiki></code> |
| − | <code><nowiki>{{subst: | + | <code><nowiki>{{subst:Ipt||Message for registered user|Statement on article page}}</nowiki></code> |
===Limitation=== | ===Limitation=== | ||
| − | *The template | + | *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=== | ===See also=== | ||
Revision as of 14:11, 28 November 2011
| 40px | 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. |
Contents
Usage
| 40x40px | This template should 'always' be substituted. |
- 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.
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.