Template:Amity Headshot: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 3: Line 3:
{| style=""
{| 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: {{{4}}} | #default = grey | Command = firebrick | Ops = goldenrod | Science = steelblue | FDC = darkslategrey }};" | {{ #if: {{{3}}} | <div id="inner" style="position: relative; left: -2px; top: -4px; background-color: black;">{{:{{{3}}}/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: {{{4}}} | #default = grey | Command = firebrick | Ops = goldenrod | Science = steelblue | FDC = darkslategrey }}; color: white; text-align: center; font-size: smaller;" | {{ #if: {{{2}}} | '''{{{2}}}''' | '''{{{1}}}''' }}
|}
|}
{{ #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: {{{5}}} | CO | Officer | Enlisted = <div style="width: 73px; height: 0; margin-left: 2px; border: 2px solid {{ #switch: {{{4}}} | #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: {{{5}}} | CO | Officer = <div style="margin-top: 2px; width: 73px; height: 0; margin-left: 2px; border: 2px solid {{ #switch: {{{4}}} | #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: {{{5}}} | CO = <div style="margin-top: 2px; width: 73px; height: 0; margin-left: 2px; border: 2px solid firebrick;"></div> | }}
</div>
</div>
</includeonly><noinclude>
</includeonly><noinclude>
Line 24: Line 24:
}}
}}
</pre>
</pre>
{{Amity Headshot
| NAME = Kivik Altik-Nerun
| SHORT = Kivik
| IDNAME = Kivik
| DEPT = Science
| POST = Officer
}}
{{Amity Headshot
| NAME = Kivik Altik-Nerun
| SHORT = Kivik
| IDNAME = Kivik
| DEPT = Science
| POST = Officer
}}
{{Amity Headshot
{{Amity Headshot
| NAME = Kivik Altik-Nerun
| NAME = Kivik Altik-Nerun
Line 67: Line 53:
}}
}}
{{Clear}}
{{Clear}}
===Stacking & Simplified Syntax===
<pre>
{{Amity Headshot||Rahman|Roshanara Rahman|Command|CO}}
{{Amity Headshot||Kivik|Kivik|Science|Officer}}
{{Amity Headshot||Ukinix|Wil Ukinix|Command|Officer}}
</pre>
{{Amity Headshot||Rahman|Roshanara Rahman|Command|CO}}
{{Amity Headshot||Kivik|Kivik|Science|Officer}}
{{Amity Headshot||Ukinix|Wil Ukinix|Command|Officer}}
</noinclude>
</noinclude>

Navigation menu