Template:Must log in/sandbox
Appearance
This is the template sandbox page for Template:Must log in (diff). |
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | The content shown only if logged in. Cannot handle normal line breaks; use {{parabr}} instead. | Content | suggested |
return | return | 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}}.
| String | suggested |
extra | extra | Additional instructions for logged out users. Cannot handle normal line breaks; use {{parabr}} instead. | Content | optional |