Template:USERNAME: Difference between revisions

From Illerai
Jump to navigation Jump to search
illerai>Habblet
CP
 
m 1 revision imported
 
(No difference)

Latest revision as of 21:48, 2 November 2024

<insert name here>

Template documentation
This documentation is transcluded from Template:USERNAME/doc. [edit] [history] [purge]


{{USERNAME}} displays the username of the user viewing the page.

If the user is not logged in, then the template will display <insert name here>. You can control the text displayed by adding a parameter to the template with a value of the default text. For example, {{USERNAME|foo}} outputs "foo" if the user viewing it is not logged in.

Examples

Code Gives
[[Special:MyPage|{{USERNAME}}]] <insert name here>
[[Special:MyTalk|{{USERNAME}}'s talkpage]] <insert name here>'s talk page
[[Special:MyContributions|{{USERNAME}}'s Contribs]] <insert name here>'s contribs