Difference between revisions of "Template:Profile"

From The Shartak Wiki
Jump to navigationJump to search
m (Compensated for omissions of the name tag by using the ID (italicized) as a substitute.)
m (Removed whitespace.)
Line 1: Line 1:
 
<includeonly>{{
 
<includeonly>{{
ifeq: {{{1|}}}|||{{
+
ifeq: {{{1|}}}|||{{ifeq: {{{2|}}}||[http://www.shartak.com/profile.cgi?id={{{1}}}''{{{1}}}'']|[http://www.shartak.com/profile.cgi?id={{{1}}} {{{2}}}]}}
  ifeq: {{{2|}}}||[http://www.shartak.com/profile.cgi?id={{{1}}} ''{{{1}}}'']|[http://www.shartak.com/profile.cgi?id={{{1}}} {{{2}}}]}}
 
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
This template creates a link to a player's profile given their ID (required as the first parameter) and name (optional as the second parameter).
 
This template creates a link to a player's profile given their ID (required as the first parameter) and name (optional as the second parameter).

Revision as of 02:25, 15 July 2006

This template creates a link to a player's profile given their ID (required as the first parameter) and name (optional as the second parameter).

Input Output
{{profile|2445}} Template:Ifeq: 2445
{{profile|2445|Elembis}} Template:Ifeq: 2445