Шаблон:TGMC-Skills: различия между версиями
Перейти к навигации
Перейти к поиску
imported>Neocloudy м (Width fix?) |
imported>Neocloudy (Changes for size, and add some descriptions) |
||
Строка 4: | Строка 4: | ||
[[TGMC:Skills|Skills Information]] | [[TGMC:Skills|Skills Information]] | ||
{| class="wikitable" | {| class="wikitable" | ||
| colspan="2" width= | | colspan="2" width={{{sizeoverride|200}}} style="background-color:{{{color|#90c9de}}}; |<center>'''{{{tabletitle|{{{job|}}}|}}} Skillset'''</center> | ||
|- | |- | ||
|<center>Medical</center> | |<center>Medical</center> | ||
| width= | | width="30%" |<center>{{{medical|0}}}/5</center> | ||
|- | |- | ||
|<center>Surgery</center> | |<center>Surgery</center> | ||
Строка 44: | Строка 44: | ||
"params": { | "params": { | ||
"job": { | "job": { | ||
" | "description": "The job title, leave blank and the header and tabletitle [if applicable] will read \"Skills\" and \"Skillset\"", | ||
"required": true | |||
}, | |||
"premsg": { | |||
"description": "The message above the skills table, leave blank to disable" | |||
}, | }, | ||
"police": {}, | "police": {}, | ||
"cqc": {}, | "cqc": {}, | ||
Строка 57: | Строка 60: | ||
"powerloader": {}, | "powerloader": {}, | ||
"firearms": {}, | "firearms": {}, | ||
"lead": {} | "lead": {}, | ||
"sizeoverride": { | |||
"description": "The width for the entire table to try and reach, adjust if the title is too big for the table", | |||
"default": "200" | |||
}, | |||
"color": { | |||
"description": "Color override, leave blank for light blue" | |||
}, | |||
"tabletitle": { | |||
"description": "The title override, leave blank to use the regular title" | |||
} | |||
}, | }, | ||
"description": "This is a template for showing a marine role's skills on the TGMC wiki." | "description": "This is a template for showing a marine role's skills on the TGMC wiki." | ||
} | } | ||
</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 ''0'' or '''-4''' for SG. | 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. Example usage: | ||
<pre> | <pre> | ||
{{Template:TGMC-Skills | {{Template:TGMC-Skills | ||
|color=#90dec4 | |color=#90dec4 | ||
|job= | |sizeoverride=250 | ||
|job=Early Synthetic Differences & | |||
|tabletitle=Early Synthetic | |||
|premsg=Real | |premsg=Real | ||
|cqc=0 | |cqc=0 | ||
Строка 81: | Строка 96: | ||
}} | }} | ||
</pre> | </pre> | ||
Returns: | |||
{{Template:TGMC-Skills | {{Template:TGMC-Skills | ||
|color=#90dec4 | |color=#90dec4 | ||
|job= | |sizeoverride=250 | ||
|job=Early Synthetic Differences & | |||
|tabletitle=Early Synthetic | |||
|premsg=Real | |premsg=Real | ||
|cqc=0 | |cqc=0 |
Версия от 16:58, 6 августа 2023
Skills
This is a template for showing a marine role's skills on the TGMC wiki.
Параметр | Описание | Тип | Статус | |
---|---|---|---|---|
job | job | The job title, leave blank and the header and tabletitle [if applicable] will read "Skills" and "Skillset" | Неизвестно | обязательный |
premsg | premsg | The message above the skills table, leave blank to disable | Неизвестно | необязательный |
police | police | без описания | Неизвестно | необязательный |
cqc | cqc | без описания | Неизвестно | необязательный |
melee | melee | без описания | Неизвестно | необязательный |
surgery | surgery | без описания | Неизвестно | необязательный |
medical | medical | без описания | Неизвестно | необязательный |
engineering | engineering | без описания | Неизвестно | необязательный |
construction | construction | без описания | Неизвестно | необязательный |
sg | sg | без описания | Неизвестно | необязательный |
powerloader | powerloader | без описания | Неизвестно | необязательный |
firearms | firearms | без описания | Неизвестно | необязательный |
lead | lead | без описания | Неизвестно | необязательный |
sizeoverride | sizeoverride | The width for the entire table to try and reach, adjust if the title is too big for the table
| Неизвестно | необязательный |
color | color | Color override, leave blank for light blue | Неизвестно | необязательный |
tabletitle | tabletitle | The title override, leave blank to use the regular title | Неизвестно | необязательный |
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. Example usage:
{{Template:TGMC-Skills |color=#90dec4 |sizeoverride=250 |job=Early Synthetic Differences & |tabletitle=Early Synthetic |premsg=Real |cqc=0 |police=0 |melee=0 |medical=0 |surgery=0 |engineering=0 |construction=0 |firearms=0 |powerloader=0 |lead=0 |sg }}
Returns:
Early Synthetic Differences & Skills
Real