Difference between revisions of "Template:Player link"

From comp.tf
Jump to navigation Jump to search
 
Line 1: Line 1:
{{Flag|{{{1|}}}}} {{#if:{{{link|}}} | [[{{{link|}}}{{!}}{{{2}}}]] | [[{{{2}}}]]}}<noinclude>
+
<includeonly>{{Flag|{{{1|}}}}} {{#if:{{{link|}}} | [[{{{link|}}}{{!}}{{{2}}}]] | [[{{{2}}}]]}}</includeonly><noinclude>
 
== Usage ==
 
== Usage ==
<code><nowiki>{{Player link|us|b4nny}}</nowiki></code> yields
+
<code><nowiki>{{Player link|us|b4nny|link=kaptain}}</nowiki></code> yields
  
{{Player link|us|b4nny}}
+
{{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