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

imported>Neocloudy
(change template to be a table)
imported>Neocloudy
м (Width fix?)
Строка 4: Строка 4:
[[TGMC:Skills|Skills Information]]
[[TGMC:Skills|Skills Information]]
{| class="wikitable"
{| class="wikitable"
| colspan="2" width="80%" style="background-color:{{{color|#90c9de}}}; |<center>'''{{{job|}}} Skillset'''</center>
| colspan="2" width=175 style="background-color:{{{color|#90c9de}}}; |<center>'''{{{job|Skillset}}}'''</center>
|-
|-
|<center>Medical</center>
|<center>Medical</center>
| width="40%" |<center>{{{medical|0}}}/5</center>
| width=50 |<center>{{{medical|0}}}/5</center>
|-
|-
|<center>Surgery</center>
|<center>Surgery</center>

Версия от 13:45, 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
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