Template:Depticon

From Yogstation-13
Revision as of 10:12, 20 April 2020 by Helpful Herbert (talk | contribs) (Added missing category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


About

Clickable icon for jobs / departments, intended for use in tables like Guide to Research and Development.

Parameter-Usage

Parameters were named for compact use in tables.

Parameter Example Description
size 64px Optional, icon-size. Default: 32px
rd y Optional, department-switch (R&D). Make sure to set a non-empty value. Do not combine with other switches.
engi y Optional, department-switch (Engineering). Make sure to set a non-empty value. Do not combine with other switches.
sec y Optional, department-switch (Security). Make sure to set a non-empty value. Do not combine with other switches.
med y Optional, department-switch (Medical). Make sure to set a non-empty value. Do not combine with other switches.
serv y Optional, department-switch (Service). Make sure to set a non-empty value. Do not combine with other switches.
sup y Optional, department-switch (Supply). Make sure to set a non-empty value. Do not combine with other switches.

Beware: There is no fallback if no department-switch is provided.

Examples

Minimal

{{Depticon|rd=y}}

Depticon minskyrd.png

Adjusted icon-size

{{Depticon
|rd=y
|size=48px
}}

Depticon minskyrd.png

Different departments

Code Example
{{Depticon|rd=y}}
Depticon minskyrd.png
{{Depticon|engi=y}}
Depticon minskyengi.png
{{Depticon|sec=y}}
Depticon minskysec.png
{{Depticon|med=y}}
Depticon minskymedicb.png
{{Depticon|serv=y}}
Depticon nanotransen.png
{{Depticon|sup=y}}
Depticon minskycargo.png

Wrong use: Missing department

{{Depticon}}


Wrong use: Multiple departments

{{Depticon
|engi=y
|med=y
}}

Depticon minskyengi.pngDepticon minskymedicb.png