Template:Amity Headshot: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
{| style="" | {| style="" | ||
| id="outer" style="display: inline-block; width: 75px; height: 75px; overflow: hidden; display: inline-block; border-radius: 25% 25% 0 0 | | id="outer" style="display: inline-block; width: 75px; height: 75px; overflow: hidden; display: inline-block; border-radius: 25% 25% 0 0; background-color: {{ #switch: {{{DEPT}}} | #default = grey | Command = firebrick | Ops = goldenrod | Science = steelblue | FDC = darkslategrey }};" | {{ #if: {{{IDNAME}}} | <div id="inner" style="position: relative; left: -2px; top: -4px; background-color: black;">{{:{{{IDNAME}}}/ID|TEMPLATE=Member Portrait-100}}</div> }} | ||
|- | |- | ||
| style="background-color:{{ #switch: {{{DEPT}}} | #default = grey | Command = firebrick | Ops = goldenrod | Science = steelblue | FDC = darkslategrey }}; color: white; text-align: center; font-size: smaller;" | {{ #if: {{{SHORT}}} | '''{{{SHORT}}}''' | '''{{{NAME}}}''' }} | | style="background-color:{{ #switch: {{{DEPT}}} | #default = grey | Command = firebrick | Ops = goldenrod | Science = steelblue | FDC = darkslategrey }}; color: white; text-align: center; font-size: smaller;" | {{ #if: {{{SHORT}}} | '''{{{SHORT}}}''' | '''{{{NAME}}}''' }} | ||
|} | |} | ||
{{ #switch: {{{POST}}} | CO | Officer | Enlisted = <div style="width: | {{ #switch: {{{POST}}} | CO | Officer | Enlisted = <div style="width: 75px; height: 0; margin-left: 2px; border: 2px solid {{ #switch: {{{DEPT}}} | #default = grey | Command = firebrick | Ops = goldenrod | Science = steelblue | FDC = darkslategrey }};"></div> | }} | ||
{{ #switch: {{{POST}}} | CO | Officer = <div style="margin-top: 2px; width: | {{ #switch: {{{POST}}} | CO | Officer = <div style="margin-top: 2px; width: 75px; height: 0; margin-left: 2px; border: 2px solid {{ #switch: {{{DEPT}}} | #default = grey | Command = firebrick | Ops = goldenrod | Science = steelblue | FDC = darkslategrey }};"></div> | }} | ||
{{ #switch: {{{POST}}} | CO = <div style="margin-top: 2px; width: | {{ #switch: {{{POST}}} | CO = <div style="margin-top: 2px; width: 75px; height: 0; margin-left: 2px; border: 2px solid firebrick;"></div> | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
==Usage Notes== | |||
===Basic Syntax w/ Example=== | |||
<pre> | <pre> | ||
{{Amity Headshot | {{Amity Headshot | ||
Line 18: | Line 20: | ||
| DEPT = Science | | DEPT = Science | ||
| POST = Officer | | POST = Officer | ||
}} | }} | ||
</pre> | </pre> | ||
Line 27: | Line 28: | ||
| DEPT = Science | | DEPT = Science | ||
| POST = Officer | | POST = Officer | ||
}} | }} | ||
===Department & Post=== | |||
You can change DEPT to either '''Command''', '''Science''', '''Ops''', or '''FDC'''. This will affect the colour scheme. | |||
You can change POST to either '''CO''', '''Officer''', '''Enlisted''', or '''Civilian'''. This will affect the number of bars displayed. | |||
<pre> | <pre> | ||
{{Amity Headshot | {{Amity Headshot | ||
Line 36: | Line 40: | ||
| DEPT = FDC | | DEPT = FDC | ||
| POST = CO | | POST = CO | ||
}} | }} | ||
</pre> | </pre> | ||
Line 45: | Line 48: | ||
| DEPT = FDC | | DEPT = FDC | ||
| POST = CO | | POST = CO | ||
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 00:26, 15 June 2022
Usage Notes
Basic Syntax w/ Example
{{Amity Headshot | NAME = Kivik Altik-Nerun | SHORT = Kivik | IDNAME = Kivik | DEPT = Science | POST = Officer }}
Kivik |
Department & Post
You can change DEPT to either Command, Science, Ops, or FDC. This will affect the colour scheme.
You can change POST to either CO, Officer, Enlisted, or Civilian. This will affect the number of bars displayed.
{{Amity Headshot | NAME = Niarivi Vataix | SHORT = Vataix | IDNAME = Rivi Vataix | DEPT = FDC | POST = CO }}
Vataix |