Template:Amity Headshot: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div id="container" style="float:left; display:block;">
<includeonly>
{| style=""
{| id="container"" style="float:left;"


| 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: {{{2}}} | <div id="inner" style="position: relative; left: -12px; top: -4px; background-color: black;">{{:{{{2}}}/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: {{{2}}} | <div id="inner" style="position: relative; left: -12px; top: -4px; background-color: black;">{{:{{{2}}}/ID|TEMPLATE=Member Portrait-100}}</div> }}
|-
|-
| style="background-color:{{ #switch: {{{4}}} | #default = grey | Command = firebrick | Ops = goldenrod | Science = steelblue | FDC = darkslategrey }}; color: white; text-align: center; font-size: smaller;" | {{ #if: {{{3}}} | '''{{{3}}}''' | '''{{{2}}}''' }}
| style="background-color:{{ #switch: {{{4}}} | #default = grey | Command = firebrick | Ops = goldenrod | Science = steelblue | FDC = darkslategrey }}; color: white; text-align: center; font-size: smaller;" | {{ #if: {{{3}}} | '''{{{3}}}''' | '''{{{2}}}''' }}
|-
| style ="height: 4px; background-color: {{ #switch: {{{1}}} | CO | Officer | Enlisted = {{ #switch: {{{4}}} | #default = grey | Command = firebrick | Ops = goldenrod | Science = steelblue | FDC = darkslategrey }} | #default = grey }};" |
|-
| style ="height: 4px; background-color: {{ #switch: {{{1}}} | CO | Officer = {{ #switch: {{{4}}} | #default = grey | Command = firebrick | Ops = goldenrod | Science = steelblue | FDC = darkslategrey }} | #default = grey }};" |
|-
| style ="height: 4px; background-color: {{ #switch: {{{1}}} | CO = firebrick | #default = grey }};" |
|}
|}
{{ #switch: {{{1}}} | 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> | #default = <div style="width: 73px; height: 0; margin-left: 2px; border: 2px solid dimgrey;"></div> }}
</includeonly><noinclude>
{{ #switch: {{{1}}} | 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> | #default = <div style="margin-top: 2px; width: 73px; height: 0; margin-left: 2px; border: 2px solid dimgrey;"></div> }}
{{ #switch: {{{1}}} | CO = <div style="margin-top: 2px; width: 73px; height: 0; margin-left: 2px; border: 2px solid firebrick;"></div> | #default = <div style="margin-top: 2px; width: 73px; height: 0; margin-left: 2px; border: 2px solid dimgrey;"></div> }}
</div></includeonly><noinclude>
==Usage Notes==
==Usage Notes==
===Expanded Syntax w/ Example===
===Expanded Syntax w/ Example===

Navigation menu