Difference between revisions of "Template:Profile"
From The Shartak Wiki
Jump to navigationJump to searchm (Fixed tense disagreement in the template's description.) |
m (Made the user's name optional.) |
||
Line 1: | Line 1: | ||
− | <includeonly>[http://www.shartak.com/profile.cgi?id={{{1}}} {{{2}}}]</includeonly><noinclude> | + | <includeonly>{{ #if: {{{2|}}} |
+ | | [http://www.shartak.com/profile.cgi?id={{{1}}} {{{2}}}] | ||
+ | | [http://www.shartak.com/profile.cgi?id={{{1}}} ''{{{1}}}''] | ||
+ | }}</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. | ||
Line 5: | Line 8: | ||
|-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}} |