Template:Amity Headshot: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{| style=""
<div id="container" style="float:left; ">
{| style=""


| 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> }}
| 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: 73px; 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 | Enlisted = <div style="width: 73px; 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: 73px; 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: 73px; 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: 73px; height: 0; margin-left: 2px; border: 2px solid firebrick;"></div> | }}
{{ #switch: {{{POST}}} | CO = <div style="margin-top: 2px; width: 73px; height: 0; margin-left: 2px; border: 2px solid firebrick;"></div> | }}
</div>
{{Clear}}
</includeonly><noinclude>
</includeonly><noinclude>
==Usage Notes==
==Usage Notes==

Revision as of 00:28, 15 June 2022

Usage Notes

Basic Syntax w/ Example

{{Amity Headshot
| NAME = Kivik Altik-Nerun
| SHORT = Kivik
| IDNAME = Kivik
| DEPT = Science
| POST = Officer
}}
Kivik-V2.png
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
}}
Rivi-awards-2399.png
Vataix