The official discord link if you wish to join the discord: https://discord.gg/j5RKwCvAFu
Support the wiki on our official Ko-Fi page or Patreon page!
Template:USERNAME/test: Difference between revisions
From The Codex
Line 1: | Line 1: | ||
{{<includeonly>safesubst:</includeonly>#ifeq: {{<includeonly>safesubst:</includeonly>#invoke:CheckIfUserNameIsIP|testtip|{{<includeonly>safesubst:</includeonly>BASEPAGENAME}}}} | 0 | {{<includeonly>safesubst:</includeonly>BASEPAGENAME}} | anonymous user}}<noinclude>{{ | {{<includeonly>safesubst:</includeonly>#ifeq: {{<includeonly>safesubst:</includeonly>#invoke:CheckIfUserNameIsIP|testtip|{{<includeonly>safesubst:</includeonly>BASEPAGENAME}}}} | 0 | {{<includeonly>safesubst:</includeonly>BASEPAGENAME}} | anonymous user}}<noinclude>{{Documentation}}</noinclude> | ||
</noinclude> |
Latest revision as of 18:51, 27 January 2024
anonymous user
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Goal
This template displays the text anonymous user for an anonymous user, and the username for a registered user. Good to use in the opening lines of templates.
Use
If used outside of templates, always substitute:
{{subst:USERNAME}}
The template must be used as a substitute outside of templates, so that the user actually sees the text when editing the page.
}}