Шаблон:TGMC-Skills: различия между версиями
imported>Neocloudy (template arguments changed) |
imported>Neocloudy (stamina skill) |
||
Строка 38: | Строка 38: | ||
|<center>Firearms</center> | |<center>Firearms</center> | ||
|<center>{{{firearms|0}}}</center> | |<center>{{{firearms|0}}}</center> | ||
|- | |||
|<center>Stamina</center> | |||
|<center>{{{stamina|0}}}</center> | |||
|- | |||
|} | |} | ||
<noinclude> | <noinclude> | ||
Строка 53: | Строка 57: | ||
"cqc": {}, | "cqc": {}, | ||
"melee": {}, | "melee": {}, | ||
"stamina": {}, | |||
"surgery": {}, | "surgery": {}, | ||
"medical": {}, | "medical": {}, | ||
Строка 89: | Строка 94: | ||
|police=2 | |police=2 | ||
|melee=2 | |melee=2 | ||
|stamina=5 | |||
|medical=5 | |medical=5 | ||
|surgery=5 | |surgery=5 | ||
Строка 109: | Строка 115: | ||
|police=2 | |police=2 | ||
|melee=2 | |melee=2 | ||
|stamina=5 | |||
|medical=5 | |medical=5 | ||
|surgery=5 | |surgery=5 |
Версия от 19:04, 1 января 2024
Skills
<templatedata> { "params": { "job": { "description": "The job title, leave blank for heading and table title [if also left blank] to default to Skills", "required": true }, "premsg": { "description": "The message above the skills table, leave blank to disable" }, "police": {}, "cqc": {}, "melee": {}, "stamina": {}, "surgery": {}, "medical": {}, "engineering": {}, "construction": {}, "sg": {}, "powerloader": {}, "firearms": {}, "lead": {}, "sizeoverride": { "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" }, "color": { "description": "Color override in HTML (#______), leave blank for light blue," }, "tabletitle": { "description": "The title override. If blank, falls back to job or reads Skills if both are blank" } }, "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.
- 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 |stamina=5 |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.