Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Ut: Difference between revisions

Template page
Genesis - port from en.wikiP
 
Prefix language interwiki links with w:
 
(24 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{2|}}}|[[user talk:{{{1}}}&#124;{{{2}}}]] | [[user talk:{{{1}}}|{{{1}}}]]}}</includeonly><noinclude>[[Category:Uncategorized templates|user talk]]
<includeonly>{{U/main|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|link={{{link|}}}|case={{{case|}}}|par1={{{par1|&#32;talk}}}|par2={{{par2|}}}}}</includeonly><noinclude>
[[Category:Miscellaneous templates|user talk]]
----
{{WikiPtmp}}
This is creating a link to a user's talk page. It hides the "User talk:" prefix.
==Usage==
<!--
:''This utility is a typing saver for use on talk pages to link another users's talk page.''


This template takes a one or two arguments'''... <nowiki>{{ Ut | Arg-1 | Arg-2 }}</nowiki> '''of which, {{indent|4}}The '''first''' must be an official''' 'User name'''', (not signature or Nickname) {{indent|4}}and the second being a ''Pipetrick name'' (if you don't want the default display of ''User Name'') {{indent|4}}and expands these as follows:<br>
== Usage ==
* <code><nowiki>{{</nowiki>Ut|Username}}</code> → {{Ut|Username}}
*: (which is the same as writing out <code><nowiki>[[User talk:Username|Username]]</nowiki></code>)
* <code><nowiki>{{</nowiki>Ut|Username|Nickname}}</code> → {{Ut|Username|Nickname}}
*: (which is the same as writing out <code><nowiki>[[User talk:Username|Nickname]]</nowiki></code>)
* <code><nowiki>{{</nowiki>Ut|Username|3=fr}}</code> → {{Ut|Username|3=fr}}
*: (which is the same as writing out <code><nowiki>[[:w:fr:User talk:Username|Username]]</nowiki></code> or <code><nowiki>[[:w:fr:Discussion utilisateur:Username|Username]]</nowiki></code>)


1) Given a single &nbsp;arg. as''' <nowiki>{{ ut | UserName }}          </nowiki>''' expands to''' <nowiki>[[User talk: UserName| UserName]] </nowiki>''' {{indent|10}} ('''Arg-1''' repeats <u>as the default</u>, and '''hides''' the phrase 'User Talk:' displaying 'User Name' as a link).
== Prefix ==
 
The username can be prefixed with the namespace identifier "User:".
2) Given a double&nbsp; arg. as''' <nowiki>{{ ut | UserName |Mr. Fudge }}</nowiki>''' expands to''' <nowiki>[[User talk: UserName| Mr. Fudge]] </nowiki>''' {{indent|10}} ('''Arg-2''' <u>masks</u> the default, and        hides the phrase{{space|5}} 'User Talk:' displaying 'Mr. Fudge' as a link).
* <nowiki>{{</nowiki>Ut|Username|+}} → {{Ut|Username|+}} (with the "+" sign for parameter 2, 3 or 4; prefix part of the link)  
[[Category:Navigation templates|user talk]]
* {{Tle|t=Ut|Username|-|p3=case|l}} {{Ut|Username|-|case=l}} (namespace in "case=l"ower case)
[[Category:Navigational templates|user talk]]
* {{Tle|t=Ut|Username|+|l|no|p3=case|p4=link}} → {{Ut|Username|+|case=l|link=no}} (nolink, and namespace in "case=l"ower case)  
:
-->
{{Documentation|Template:U/doc}}
</noinclude>
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.