Шаблон:TGMC-Skills: различия между версиями

imported>Neocloudy
Нет описания правки
imported>Neocloudy
(change template to be a table)
Строка 1: Строка 1:
=={{{job|}}} Skills==
=={{{job|}}} Skills==
{{{premsg|}}}


[[TGMC:Skills|Skills Information]]
[[TGMC:Skills|Skills Information]]
{|
{| class="wikitable"
{{{premsg|}}}
| colspan="2" width="80%" style="background-color:{{{color|#90c9de}}}; |<center>'''{{{job|}}} Skillset'''</center>
 
|-
|  
|<center>Medical</center>
'''Police:''' {{{police|Untrained}}} / '''CQC:''' {{{cqc|Untrained}}} / '''Melee:''' {{{melee|Untrained}}}  
| width="40%" |<center>{{{medical|0}}}/5</center>
 
|-
'''Surgery:''' {{{surgery|Untrained}}} / '''Medical:''' {{{medical|Untrained}}}  
|<center>Surgery</center>
 
|<center>{{{surgery|0}}}/5</center>
'''Engineering:''' {{{engineering|Untrained}}} / '''Construction:''' {{{construction|Untrained}}}  
|-
 
|<center>Engineering</center>
'''Smartgun:''' {{{sg|Untrained}}} / '''Powerloader:''' {{{powerloader|Untrained}}} / '''Firearms:''' {{{firearms|Untrained}}}  
|<center>{{{engineering|0}}}/5</center>
 
|-
'''Leadership:''' {{{lead|Untrained}}}
|<center>Construction</center>
|<center>{{{construction|0}}}/5</center>
|-
|<center>CQC</center>
|<center>{{{cqc|0}}}/5</center>
|-
|<center>Police</center>
|<center>{{{police|0}}}/2</center>
|-
|<center>Powerloader</center>
|<center>{{{powerloader|0}}}/4</center>
|-
|<center>Leadership</center>
|<center>{{{lead|0}}}/4</center>
|-
|<center>Smartgun</center>
|<center>{{{sg|-4}}}</center>
|-
|<center>Melee</center>
|<center>{{{melee|0}}}</center>
|-
|<center>Firearms</center>
|<center>{{{firearms|0}}}</center>
|}
|}
<noinclude>
<noinclude>
Строка 39: Строка 62:
}
}
</templatedata>
</templatedata>
This is a template for use with skills on the TGMC marine pages. Getting skills is sort of dependent on code diving. Blank skills will return as ''Untrained''. The arguments:
This is a template for use with skills on the TGMC marine pages. Getting skills is sort of dependent on code diving. Blank skills will return as ''0'' or '''-4''' for SG. The arguments:
<pre>
<pre>
{{Template:TGMC-Skills
{{Template:TGMC-Skills
|color=#90dec4
|job=Squad Marine
|job=Squad Marine
|premsg=Real
|premsg=Real
Строка 54: Строка 78:
|powerloader=0
|powerloader=0
|lead=0
|lead=0
|sg=0
|sg
}}
}}
</pre>
</pre>
Will return:
Will return:
{{Template:TGMC-Skills
{{Template:TGMC-Skills
|color=#90dec4
|job=Squad Marine
|job=Squad Marine
|premsg=Real
|premsg=Real
Строка 71: Строка 96:
|powerloader=0
|powerloader=0
|lead=0
|lead=0
|sg=0
|sg
}}
}}
</noinclude>
</noinclude>

Версия от 13:39, 6 августа 2023

Skills

Skills Information

Skillset
Medical
0/5
Surgery
0/5
Engineering
0/5
Construction
0/5
CQC
0/5
Police
0/2
Powerloader
0/4
Leadership
0/4
Smartgun
-4
Melee
0
Firearms
0

<templatedata> { "params": { "job": { "suggested": true }, "premsg": {}, "police": {}, "cqc": {}, "melee": {}, "surgery": {}, "medical": {}, "engineering": {}, "construction": {}, "sg": {}, "powerloader": {}, "firearms": {}, "lead": {} }, "description": "This is a template for showing a marine role's skills on the TGMC wiki." } </templatedata> This is a template for use with skills on the TGMC marine pages. Getting skills is sort of dependent on code diving. Blank skills will return as 0 or -4 for SG. The arguments:

{{Template:TGMC-Skills
|color=#90dec4
|job=Squad Marine
|premsg=Real
|cqc=0
|police=0
|melee=0
|medical=0
|surgery=0
|engineering=0
|construction=0
|firearms=0
|powerloader=0
|lead=0
|sg
}}

Will return:

Squad Marine Skills

Real

Skills Information

Squad Marine Skillset
Medical
0/5
Surgery
0/5
Engineering
0/5
Construction
0/5
CQC
0/5
Police
0/2
Powerloader
0/4
Leadership
0/4
Smartgun
-4
Melee
0
Firearms
0