Difference between revisions of "Template:Profile"

From The Shartak Wiki
Jump to navigationJump to search
m
m (Reverted to the old, working version; I'll work on the ParserFunctions stuff somewhere else.)
Line 1: Line 1:
<includeonly>{{#expr: 30 * 7}}</includeonly><noinclude>
+
<includeonly>[http://www.shartak.com/profile.cgi?id={{{1}}} {{{2}}}]</includeonly><noinclude>
 
This template creates a link to a player's profile given their ID and name.
 
This template creates a link to a player's profile given their ID and name.
 
{{profile|2445}}
 
{{profile|2445|Elembis}}
 
  
 
{| border="1" cellpadding="5" cellspacing="1" style="border: solid 1px #ccc; border-collapse: collapse; background-color: #f9f9f9;"
 
{| border="1" cellpadding="5" cellspacing="1" style="border: solid 1px #ccc; border-collapse: collapse; background-color: #f9f9f9;"
 
|-bgcolor="#ddd"
 
|-bgcolor="#ddd"
 
!Input !! Output
 
!Input !! Output
|-
 
|<nowiki>{{profile|2445}}</nowiki> || {{profile|2445}}
 
 
|-
 
|-
 
|<nowiki>{{profile|2445|Elembis}}</nowiki> || {{profile|2445|Elembis}}
 
|<nowiki>{{profile|2445|Elembis}}</nowiki> || {{profile|2445|Elembis}}

Revision as of 21:05, 13 July 2006

This template creates a link to a player's profile given their ID and name.

Input Output
{{profile|2445|Elembis}} Elembis