Difference between revisions of "Template:Player link"

From comp.tf
Jump to navigation Jump to search
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Flag|{{{1|}}}}} [[{{{2}}}]]
+
<includeonly>{{Flag|{{{1|}}}}} {{#if:{{{link|}}} | [[{{{link|}}}{{!}}{{{2}}}]] | [[{{{2}}}]]}}</includeonly><noinclude>
<noinclude>
 
 
== Usage ==
 
== Usage ==
<code><nowiki>{{Player link|en|kaidus}}</nowiki></code> yields
+
<code><nowiki>{{Player link|us|b4nny|link=kaptain}}</nowiki></code> yields
  
:{{Player link|en|kaidus}}
+
{{Player link|us|b4nny|link=kaptain}}
 +
 
 +
==Parameters==
 +
* '''link''' ''(optional)'' = Use this if player's page differs from player's name
 +
</noinclude>

Latest revision as of 23:00, 14 January 2018

Usage[edit]

{{Player link|us|b4nny|link=kaptain}} yields

United States b4nny

Parameters[edit]

  • link (optional) = Use this if player's page differs from player's name