• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Must log in/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Must log in
This is the template sandbox page for Template:Must log in (diff).
Template documentation[view] [edit] [history] [purge]

Usage

edit

This is a wrapper for {{If IP}} intended for processes that a user must be logged in to complete. It outputs nothing if viewed by a logged in user but a message to log in or create an account when viewed logged out. The links are structured such that the user will automatically return to the page once they're logged in.

Parameters

edit

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

The content shown only if logged in. Cannot handle normal line breaks; use {{parabr}} instead.

Contentsuggested
returnreturn

The page to automatically return to after the user completes registration. Must be URL encoded, which can be done via {{subst:urlencode:Name of the page}}.

Example
Template+talk%3ADid+you+know%23Instructions+for+nominators
Auto value
{{subst:FULLPAGENAMEE}}
Stringsuggested
extraextra

Additional instructions for logged out users. Cannot handle normal line breaks; use {{parabr}} instead.

Contentoptional
The above documentation is transcluded from Template:Must log in/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Must_log_in/sandbox&oldid=1071332583"
Last edited on 12 February 2022, at 03:02

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 12 February 2022, at 03:02 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop