{{{1}}}.mw-parser-output .documentation,.mw-parser-output .documentation-metadata{border:1px solid var(--border-color-base,#a2a9b1);background-color:#ecfcf4;col
{{{1}}}
Detects if this template is placed anywhere within the user namespace of a registered user, IPv4 user or IPv6 user.
Unlike Template:IP-talk, this works even if the user's username starts with numbers and can differentiate between IPv4 and IPv6.
| This template should always be substituted – use {{subst:IsUserRegistered}}. |
{{subst:IsUserRegistered|Text to display if registered|Text to display if IPv4|Text to display if IPv6}}
This template should not be used outside the user namespace and will behave as if placed in a registered user's namespace if used elsewhere.
{{subst:IsUserRegistered|{{subst:welcome}}|{{subst:welcome-anon}}|{{subst:welcome-anon}}}} ~~~~
This template will fail if the user's username looks just like an IP address, but such usernames are a violation of the username policy.
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.