Difference between revisions of "Template:IP-talk/doc"
Jump to navigation
Jump to search
imported>Fred Gandt (→Usage: emphasizing that this template should always be substed) |
imported>Fred Gandt (→Examples: Another example) |
||
| Line 12: | Line 12: | ||
I have been placed on <code><nowiki>{{subst:IP-talk|an IP user's|a registered user's|a page that is not a}}</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}}</nowiki></code> talk page. | ||
| − | <code><nowiki>{{subst:IP-talk|Create an account! Is kewl!|Now you've registered you can...|}}</nowiki></code> | + | <code><nowiki>{{subst:IP-talk|Create an account! Is kewl!|Now you've registered you can...}}</nowiki></code> |
| + | |||
| + | <code><nowiki>{{subst:IP-talk||Message for registered user|Statement on article page}}</nowiki></code> | ||
===Limitation=== | ===Limitation=== | ||
Revision as of 13:50, 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 namespace).
- If placed on a talk page of a registered account user (any talk page in their namespace).
- If placed on a page that is not a 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.