3,597
edits
mNo edit summary |
|||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| 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 }};" | | |||
|} | |} | ||
</includeonly><noinclude> | |||
==Usage Notes== | ==Usage Notes== | ||
===Expanded Syntax w/ Example=== | ===Expanded Syntax w/ Example=== |