Шаблон:TGMC-Skills: различия между версиями
imported>Neocloudy м (remove new lines) |
imported>NyoomVoyager мНет описания правки |
||
(не показано 8 промежуточных версий 2 участников) | |||
Строка 1: | Строка 1: | ||
<div> | |||
{| class="wikitable"style="float:right; margin-left:10px" | |||
[[TGMC:Skills| | |+ [[TGMC:Skills|More information about skills]] | ||
{| | | colspan="2" width={{{sizeoverride|200}}} style="background-color:{{{color|#90c9de}}}"; |<center>'''{{{tabletitle|{{{job|}}}|}}} Skills'''</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>Police</center> | |||
|<center>{{{police|0}}}/2</center> | |||
|- | |||
|<center>Powerloader</center> | |||
|<center>{{{powerloader|0}}}/4</center> | |||
|- | |||
|<center>Leadership</center> | |||
|<center>{{{lead|0}}}/4</center> | |||
|- | |||
|<center>CQC</center> | |||
|<center>{{{cqc|0}}}</center> | |||
|- | |||
|<center>Smartgun</center> | |||
|<center>{{{sg|-4}}}</center> | |||
|- | |||
|<center>Melee</center> | |||
|<center>{{{melee|0}}}</center> | |||
|- | |||
|<center>Firearms</center> | |||
|<center>{{{firearms|0}}}</center> | |||
|- | |||
|<center>Stamina</center> | |||
|<center>{{{stamina|0}}}</center> | |||
|- | |||
|} | |} | ||
<noinclude> | <noinclude> | ||
</div> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"job": { | "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": {}, | "police": {}, | ||
"cqc": {}, | "cqc": {}, | ||
"melee": {}, | "melee": {}, | ||
"stamina": {}, | |||
"surgery": {}, | "surgery": {}, | ||
"medical": {}, | "medical": {}, | ||
Строка 34: | Строка 64: | ||
"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. 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" | |||
}, | |||
"format": { | |||
"description": "The type of text for the title, defaults to == if blank" | |||
} | |||
}, | }, | ||
"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. | 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 | ||
|job= | |color=#Cbb7f3 | ||
|premsg= | |sizeoverride=225 | ||
|cqc= | |job=Spatial Agent | ||
|police= | |tabletitle=Spatial | ||
|melee= | |format==== | ||
|medical= | |premsg=The Spatial Agent skillset has maximum of every skill. | ||
|surgery= | |cqc=5 | ||
|engineering= | |police=2 | ||
|construction= | |melee=2 | ||
|firearms= | |stamina=5 | ||
|powerloader= | |medical=5 | ||
|lead= | |surgery=5 | ||
|sg= | |engineering=5 | ||
|construction=5 | |||
|firearms=2 | |||
|powerloader=4 | |||
|lead=4 | |||
|sg=2 | |||
}} | }} | ||
</pre> | </pre> | ||
Returns: | |||
{{ | {{TGMC-Skills | ||
|job= | |color=#Cbb7f3 | ||
|premsg= | |sizeoverride=225 | ||
|cqc= | |job=Spatial Agent | ||
|police= | |tabletitle=Spatial | ||
|melee= | |format==== | ||
|medical= | |premsg=The Spatial Agent skillset has maximum of every skill. | ||
|surgery= | |cqc=5 | ||
|engineering= | |police=2 | ||
|construction= | |melee=2 | ||
|firearms= | |stamina=5 | ||
|powerloader= | |medical=5 | ||
|lead= | |surgery=5 | ||
|sg= | |engineering=5 | ||
|construction=5 | |||
|firearms=2 | |||
|powerloader=4 | |||
|lead=4 | |||
|sg=2 | |||
}} | }} | ||
</noinclude> | </noinclude> |
Текущая версия от 16:31, 23 марта 2024
<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" },
"format": {
"description": "The type of text for the title, defaults to == if 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 |format==== |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: