Template:Depticon: Difference between revisions
Jump to navigation
Jump to search
(Created a template for department-icons to use in tables) |
(No difference)
|
Revision as of 08:51, 20 April 2020
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}}
Adjusted icon-size
{{Depticon |rd=y |size=48px }}
Different departments
Code | Example |
---|---|
{{Depticon|rd=y}} |
|
{{Depticon|engi=y}} |
|
{{Depticon|sec=y}} |
|
{{Depticon|med=y}} |
|
{{Depticon|serv=y}} |
|
{{Depticon|sup=y}} |
Wrong use: Missing department
{{Depticon}}
Wrong use: Multiple departments
{{Depticon |engi=y |med=y }}