Template:Playerid: Difference between revisions

From Hattrick
Jump to navigationJump to search
Para Para (talk | contribs)
No edit summary
Para Para (talk | contribs)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span {{#if:{{{style|}}}|style="{{{style}}}" | class="plainlinks"}}>[http://www.hattrick.org/Club/Players/Player.aspx?PlayerID={{{1}}} {{#ifeq: {{{2|}}}| icon |[[File:Ht_star.png|link=]] | ({{{1}}}) {{{2|}}}}}]</span><noinclude>[[Category:Player templates|PlayerID]]</noinclude>
<span {{#if:{{{style|}}}|style="{{{style}}}" | class="plainlinks"}}>[http://hattrick.org/goto.ashx?path=/Club/Players/Player.aspx?PlayerID={{{1}}} {{#ifeq: {{{2|}}}| icon |[[File:Ht_star.png|link=]] | ({{{1}}}) {{{2|}}}}}]</span><noinclude>[[Category:Player templates|PlayerID]]<noinclude>
== Examples ==
''(ID and icon are links to hattrick.org page)''
{|
|<nowiki>{{Playerid|12345678}}</nowiki> ||=      {{Playerid|12345678}} ||(ID link only)
|-
|<nowiki>{{Playerid|12345678|Name Player}}</nowiki> ||=  {{Playerid|12345678|Name Surname}} ||(ID link and name shown)
|-
|<nowiki>{{Playerid|12345678|[[Name Player]]}}</nowiki> ||=  {{Playerid|12345678|[[Name Surname]]}} ||(double link to hattrick.org and to wiki page)
|-
|<nowiki>{{Playerid|12345678|icon}}</nowiki>|| = {{Playerid|12345678|icon}} ||(icon link only)
|}
[[Category:Player templates]]
</noinclude>

Latest revision as of 08:56, 22 September 2020

({{{1}}})

Examples

(ID and icon are links to hattrick.org page)

{{Playerid|12345678}} = (12345678) (ID link only)
{{Playerid|12345678|Name Player}} = (12345678) Name Surname (ID link and name shown)
{{Playerid|12345678|[[Name Player]]}} = (12345678) Name Surname (double link to hattrick.org and to wiki page)
{{Playerid|12345678|icon}} = (icon link only)