Template:USERNAME: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Claryfing the dependence on the script, since many users are copying this template and expect it to work on other wikis.)
(Adding a parameter to customize the text to be shown to logged-out users)
Line 1: Line 1:
<span class="insertusername"><insert name here></span><noinclude>
<span class="insertusername">{{{1|<insert name here>}}}</span><noinclude>

This template can be used to display the username of the logged-in user viewing the page and a text to be shown to the logged-out user. The template will only work on a wiki that imported the [[w:c:dev:InputUsername|InputUsername]] script. This can be done by the local admins.


This template can be used to display the username of whoever is viewing the page. The template will only work on a wiki that imported the [[w:c:dev:InputUsername|InputUsername]] script. This can be done by the local admins.
[[tr:Şablon:USERNAME]]
[[tr:Şablon:USERNAME]]
[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 14:28, July 6, 2021

<insert name here>

This template can be used to display the username of the logged-in user viewing the page and a text to be shown to the logged-out user. The template will only work on a wiki that imported the InputUsername script. This can be done by the local admins.

tr:Şablon:USERNAME