FANDOM


(Página nueva: <span class="insertusername">{{{1|<insert name here>}}}</span><noinclude>)
 
Línea 1: Línea 1:
 
<span class="insertusername">{{{1|<insert name here>}}}</span><noinclude>
 
<span class="insertusername">{{{1|<insert name here>}}}</span><noinclude>
  +
----
  +
  +
Displays the username of the user viewing the page.
  +
  +
If the user is not logged in, then the template will display &lt;insert name here>. You can control this by adding a parameter to the template with a value of the default text. For example, <nowiki>{{Username|foo}}</nowiki> outputs "foo" if the user is not logged in.
  +
  +
'''Use this template sparingly. Misuse of it may result in a ban.'''
  +
  +
For example, the following is ''not'' acceptable: <code><nowiki>{{USERNAME}} is an idiot.</nowiki></code>
  +
  +
See also:
  +
{| class="wikible" cellpadding="3" width="66%"
  +
|+
  +
!Code
  +
!Gives
  +
|+
  +
|<nowiki>[[Special:Mypage|{{Username}}]]</nowiki>
  +
|[[Special:Mypage|{{Username}}]]
  +
|+
  +
|<nowiki>[[Special:Mytalk|{{Username}}'s talkpage]]</nowiki>
  +
|[[Special:Mytalk|{{Username}}'s talkpage]]
  +
|+
  +
|<nowiki>[[Special:Mycontributions|{{Username}}'s Contribs]]</nowiki>
  +
|[[Special:Mycontributions|{{Username}}'s Contribs]]
  +
|}
  +
  +
[[Category:Plantillas]]
  +
</noinclude>

Revisión de 04:27 24 ago 2016

<insert name here>


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 this by adding a parameter to the template with a value of the default text. For example, {{Username|foo}} outputs "foo" if the user is not logged in.

Use this template sparingly. Misuse of it may result in a ban.

For example, the following is not acceptable: {{USERNAME}} is an idiot.

See also:

Code Gives
[[Special:Mypage|{{Username}}]] <insert name here>
[[Special:Mytalk|{{Username}}'s talkpage]] <insert name here>'s talkpage
[[Special:Mycontributions|{{Username}}'s Contribs]] <insert name here>'s Contribs
El contenido de la comunidad está disponible bajo CC-BY-SA a menos que se indique lo contrario.