Шаблон:TGMC-Skills: различия между версиями
imported>Neocloudy (Changes for size, and add some descriptions) |
imported>Neocloudy (template arguments changed) |
||
Строка 4: | Строка 4: | ||
[[TGMC:Skills|Skills Information]] | [[TGMC:Skills|Skills Information]] | ||
{| class="wikitable" | {| class="wikitable" | ||
| colspan="2" width={{{sizeoverride|200}}} style="background-color:{{{color|#90c9de}}}; |<center>'''{{{tabletitle|{{{job|}}}|}}} | | colspan="2" width={{{sizeoverride|200}}} style="background-color:{{{color|#90c9de}}}"; |<center>'''{{{tabletitle|{{{job|}}}|}}} Skills'''</center> | ||
|- | |- | ||
|<center>Medical</center> | |<center>Medical</center> | ||
Строка 17: | Строка 17: | ||
|<center>Construction</center> | |<center>Construction</center> | ||
|<center>{{{construction|0}}}/5</center> | |<center>{{{construction|0}}}/5</center> | ||
|- | |- | ||
|<center>Police</center> | |<center>Police</center> | ||
Строка 29: | Строка 26: | ||
|<center>Leadership</center> | |<center>Leadership</center> | ||
|<center>{{{lead|0}}}/4</center> | |<center>{{{lead|0}}}/4</center> | ||
|- | |||
|<center>CQC</center> | |||
|<center>{{{cqc|0}}}</center> | |||
|- | |- | ||
|<center>Smartgun</center> | |<center>Smartgun</center> | ||
Строка 44: | Строка 44: | ||
"params": { | "params": { | ||
"job": { | "job": { | ||
"description": "The job title, leave blank and | "description": "The job title, leave blank for heading and table title [if also left blank] to default to Skills", | ||
"required": true | "required": true | ||
}, | }, | ||
Строка 62: | Строка 62: | ||
"lead": {}, | "lead": {}, | ||
"sizeoverride": { | "sizeoverride": { | ||
"description": "The width for the entire table to try and reach, adjust if the title is too big for the table", | "description": "The width for the entire table to try and reach, adjust if the title is too big for the table. Number column will try to take up 30% of the table", | ||
"default": "200" | "default": "200" | ||
}, | }, | ||
"color": { | "color": { | ||
"description": "Color override, leave blank for light blue" | "description": "Color override in HTML (#______), leave blank for light blue," | ||
}, | }, | ||
"tabletitle": { | "tabletitle": { | ||
"description": "The title override, | "description": "The title override. If blank, falls back to job or reads Skills if both are blank" | ||
} | } | ||
}, | }, | ||
Строка 75: | Строка 75: | ||
} | } | ||
</templatedata> | </templatedata> | ||
This is a template for use with skills on the TGMC marine pages. Getting skills is sort of dependent on code diving. | This is a template for use with skills on the TGMC marine pages. Getting skills is sort of dependent on code diving. | ||
* Size override should be left over 200 for most pages. | |||
* Colors look best relatively light as it also translates properly into dark mode. | |||
Example usage: | |||
<pre> | <pre> | ||
{{ | {{TGMC-Skills | ||
|color=# | |color=#Cbb7f3 | ||
|sizeoverride= | |sizeoverride=225 | ||
|job= | |job=Spatial Agent | ||
|tabletitle= | |tabletitle=Spatial | ||
|premsg= | |premsg=The Spatial Agent skillset has maximum of every skill. | ||
|cqc= | |cqc=5 | ||
|police= | |police=2 | ||
|melee= | |melee=2 | ||
|medical= | |medical=5 | ||
|surgery= | |surgery=5 | ||
|engineering= | |engineering=5 | ||
|construction= | |construction=5 | ||
|firearms= | |firearms=2 | ||
|powerloader= | |powerloader=4 | ||
|lead= | |lead=4 | ||
|sg | |sg=2 | ||
}} | }} | ||
</pre> | </pre> | ||
Returns: | Returns: | ||
{{ | {{TGMC-Skills | ||
|color=# | |color=#Cbb7f3 | ||
|sizeoverride= | |sizeoverride=225 | ||
|job= | |job=Spatial Agent | ||
|tabletitle= | |tabletitle=Spatial | ||
|premsg= | |premsg=The Spatial Agent skillset has maximum of every skill. | ||
|cqc= | |cqc=5 | ||
|police= | |police=2 | ||
|melee= | |melee=2 | ||
|medical= | |medical=5 | ||
|surgery= | |surgery=5 | ||
|engineering= | |engineering=5 | ||
|construction= | |construction=5 | ||
|firearms= | |firearms=2 | ||
|powerloader= | |powerloader=4 | ||
|lead= | |lead=4 | ||
|sg | |sg=2 | ||
}} | }} | ||
</noinclude> | </noinclude> |
Текущая версия от 20:18, 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 for heading and table title [if also left blank] to default to Skills | Неизвестно | обязательный |
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. Number column will try to take up 30% of the table
| Неизвестно | необязательный |
color | color | Color override in HTML (#______), leave blank for light blue, | Неизвестно | необязательный |
tabletitle | tabletitle | The title override. If blank, falls back to job or reads Skills if both are blank | Неизвестно | необязательный |
This is a template for use with skills on the TGMC marine pages. Getting skills is sort of dependent on code diving.
- Size override should be left over 200 for most pages.
- Colors look best relatively light as it also translates properly into dark mode.
Example usage:
{{TGMC-Skills |color=#Cbb7f3 |sizeoverride=225 |job=Spatial Agent |tabletitle=Spatial |premsg=The Spatial Agent skillset has maximum of every skill. |cqc=5 |police=2 |melee=2 |medical=5 |surgery=5 |engineering=5 |construction=5 |firearms=2 |powerloader=4 |lead=4 |sg=2 }}
Returns:
Spatial Agent Skills[править код]
The Spatial Agent skillset has maximum of every skill.