ഫലകം:IP-talk/doc

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.

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[തിരുത്തുക]

Pagename-handling and detection templates:

  • {{basepage subpage}} – For detecting if on a basepage, subpage or subsubpage.
  • {{pgn}} – Can take apart and put together pagenames in several ways.
  • {{if pagename}} – For pattern matching on the pagename.
  • {{if pagename multi}} – For pattern matching on the pagename, has input reuse.
  • {{IP-user other}} – For detecting IP-user pages.
  • {{IP-talk}} - Return: 1) IP user talk page 2) registered user talk page 3) not user talk page.

Easy to use namespace-detection templates:

More complex namespace-detection templates:

Technical stuff:

"https://ml.wikipedia.org/w/index.php?title=ഫലകം:IP-talk/doc&oldid=1200941" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്