Difference between revisions of "Template:Userid"

From Hattrick
Jump to navigationJump to search
m
Line 1: Line 1:
<span {{#if:{{{style|}}}|style="{{{style}}}" | class="plainlinks"}}>{{#if: {{{2|}}}| {{#ifeq: {{{3|}}}| icon |[[user:{{{2}}}|{{{2}}}]] [[File:magnifier.png|12px|link=http://hattrick.org/goto.ashx?path=/Club/Manager/?userId={{{1}}}|]] | [http://hattrick.org/goto.ashx?path=/Club/Manager/?userId={{{1}}} {{{2}}}]}}| ([http://hattrick.org/goto.ashx?path=/Club/Manager/?userId={{{1}}} {{{1}}}])}}<noinclude><br><nowiki>{{userid|12345|name|icon}}</nowiki>: {{userid|12345|name|icon}}
+
<span {{#if:{{{style|}}}|style="{{{style}}}" | class="plainlinks"}}>{{#if: {{{2|}}}| {{#ifeq: {{{3|}}}| icon |[[user:{{{2}}}|{{{2}}}]]&nbsp;[[File:magnifier.png|12px|link=http://hattrick.org/goto.ashx?path=/Club/Manager/?userId={{{1}}}|]] | [http://hattrick.org/goto.ashx?path=/Club/Manager/?userId={{{1}}} {{{2}}}]}}| ([http://hattrick.org/goto.ashx?path=/Club/Manager/?userId={{{1}}} {{{1}}}])}}<noinclude>
 +
=Example=
 +
<nowiki>{{userid|12345|name|icon}}</nowiki>: {{userid|12345|name|icon}}
 +
<nowiki>{{userid|12345|name}}</nowiki>: {{userid|12345|name}}
 +
<nowiki>{{userid|12345}}</nowiki>: {{userid|12345}}
 
[[Category:User templates|Userid]]</noinclude>
 
[[Category:User templates|Userid]]</noinclude>

Revision as of 13:28, 30 November 2020

({{{1}}})

Example

{{userid|12345|name|icon}}: name Magnifier.png
{{userid|12345|name}}: name
{{userid|12345}}: (12345)