Template:Specialty/doc: Difference between revisions

From Hattrick
Jump to navigationJump to search
Crazycompgeek (talk | contribs)
Created page with "==Usage== <pre> {{Specialty|specialty=}} </pre>"
 
Para Para (talk | contribs)
No edit summary
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
==Usage==
==Usage==
This template displays player's specialty
<pre>
<pre>
{{Specialty|specialty=}}
{{Specialty|code,name|parameter}}
</pre>
</pre>
{| border=1 cellspacing=0 cellpadding=5 style="margin: 1em 1em 1em 0; border-collapse:collapse; border: 1px #aaa solid;"
|- bgcolor=#f2f2f2
!Parameter value !! Description
|-
|''first parameter''||Use the below specialty value
|-bgcolor=#f9f9f9
|''nolink=true''|| No link to specialty page
|-
|''hideName=true''||Hide specialty name
|}
{| border=1 cellspacing=0 cellpadding=5 style="margin: 1em 1em 1em 0; border-collapse:collapse; border: 1px #aaa solid;"
|- bgcolor=#f2f2f2
!Code,Name !! Display
|- bgcolor=#f9f9f9
|h, head||{{Specialty|h}}
|-
|p, powerful||{{Specialty|p}}
|- bgcolor=#f9f9f9
|q, quick||{{Specialty|q}}
|-
|r, resilient||{{Specialty|r}}
|- bgcolor=#f9f9f9
|s, support||{{Specialty|s}}
|-
|t, technical||{{Specialty|t}}
|- bgcolor=#f9f9f9
|u, unpredictable||{{Specialty|u}}
|}
== See also ==
* [[Template:Head]]
* [[Template:Powerful]]
* [[Template:Quick]]
* [[Template:Resilient]]
* [[Template:Support]]
* [[Template:Technical]]
* [[Template:Unpredictable]]
<noinclude>[[Category: Template documentation|Specialty]]</noinclude>

Latest revision as of 13:45, 26 November 2020

Usage

This template displays player's specialty

{{Specialty|code,name|parameter}}
Parameter value Description
first parameter Use the below specialty value
nolink=true No link to specialty page
hideName=true Hide specialty name
Code,Name Display
h, head  Head
p, powerful  Powerful
q, quick  Quick
r, resilient  Resilient
s, support  Support
t, technical  Technical
u, unpredictable  Unpredictable

See also