Template:Amity Headshot: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
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; border: 2px solid {{ #switch: {{{DEPT}}} | #default = grey | Command = firebrick | Ops = goldenrod | Science = steelblue | FDC = darkslategrey }}; 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: 77px; 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: 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: 77px; 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: 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: 77px; height: 0; margin-left: 2px; border: 2px solid firebrick;"></div> | }}
{{ #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
| OVERRIDE =
}}
}}
</pre>
</pre>
Line 27: Line 28:
| DEPT = Science
| DEPT = Science
| POST = Officer
| POST = Officer
| OVERRIDE =
}}
}}
===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
| OVERRIDE =
}}
}}
</pre>
</pre>
Line 45: Line 48:
| DEPT = FDC
| DEPT = FDC
| POST = CO
| POST = CO
| OVERRIDE =
}}
}}
</noinclude>
</noinclude>

Navigation menu