| This is a Template documentation subpage for Template:USERNAME. It contains usage information, categories, and other content that is not part of the original template page. |
Description
Template:USERNAME/doc is used to display the username of the user viewing the page. It facilitates examples and instructions.
Usage/Syntax
{{USERNAME}}
- IP-only editors
- The template will display
<insert name here>
Parameters
|1=- Sets the value to be displayed for any IP-only editor.
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 |
See also
- MediaWiki:Common.js/userName.js → the JavaScript that makes this template work.