Шаблон: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" | ||
{{{ | | colspan="2" width="80%" style="background-color:{{{color|#90c9de}}}; |<center>'''{{{job|}}} Skillset'''</center> | ||
|- | |||
| | |<center>Medical</center> | ||
''' | | width="40%" |<center>{{{medical|0}}}/5</center> | ||
|- | |||
|<center>Surgery</center> | |||
|<center>{{{surgery|0}}}/5</center> | |||
|- | |||
|<center>Engineering</center> | |||
|<center>{{{engineering|0}}}/5</center> | |||
|- | |||
|<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 '' | 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 | |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 | |sg | ||
}} | }} | ||
</noinclude> | </noinclude> |
Версия от 13:39, 6 августа 2023
Skills
<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