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; background-color: {{ #switch: {{{4}}} | #default = grey | Command = firebrick | Ops = goldenrod | Science = steelblue | FDC = darkslategrey }};" | {{ #if: {{{3}}} | <div id="inner" style="position: relative; left: -12px; top: -4px; background-color: black;">{{:{{{3}}}/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: {{{DEPARTMENT}}} | #default = grey | Command = firebrick | Ops = goldenrod | Science = steelblue | FDC = darkslategrey }};" | {{ #if: {{{IDNAME}}} | <div id="inner" style="position: relative; left: -12px; top: -4px; background-color: black;">{{:{{{IDNAME}}}/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: {{{2}}} | '''{{{2}}}''' | '''{{{1}}}''' }}
| style="background-color:{{ #switch: {{{DEPARTMENT}}} | #default = grey | Command = firebrick | Ops = goldenrod | Science = steelblue | FDC = darkslategrey }}; color: white; text-align: center; font-size: smaller;" | {{ #if: {{{SHORTNAME}}} | '''{{{SHORTNAME}}}''' | '''{{{1}}}''' }}
|}
|}
{{ #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> | #default = <div style="width: 73px; height: 0; margin-left: 2px; border: 2px solid dimgrey;"></div> }}
{{ #switch: {{{POST}}} | CO | Officer | Enlisted = <div style="width: 73px; height: 0; margin-left: 2px; border: 2px solid {{ #switch: {{{DEPARTMENT}}} | #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> }}
{{ #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> | #default = <div style="margin-top: 2px; width: 73px; height: 0; margin-left: 2px; border: 2px solid dimgrey;"></div> }}
{{ #switch: {{{POST}}} | CO | Officer = <div style="margin-top: 2px; width: 73px; height: 0; margin-left: 2px; border: 2px solid {{ #switch: {{{DEPARTMENT}}} | #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: {{{5}}} | 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> }}
{{ #switch: {{{POST}}} | 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>
</div></includeonly><noinclude>
==Usage Notes==
==Usage Notes==
===Expanded Syntax w/ Example===
===Expanded Syntax w/ Example===
# '''Name:''' Include the full name of your character (may be left blank)
# '''Post:''' Current options are ''CO, Officer, Enlisted, or Civilian'' (may be left blank)
# '''Shortened Name:''' If your name is too long, include a shorter version (i.e. last name only.)
# '''Name:''' The name of your character as it appears on their ID (if left blank, no image will display)
# '''ID Name:''' The name on your Character /ID page.
# '''Shortened Name:''' If your name is too long, include a shorter version to display (i.e. last name only)
# '''Department:''' Current options are ''Command, Science, Ops, or FDC'' (may be left blank)
# '''Department:''' Current options are ''Command, Science, Ops, or FDC'' (may be left blank)
# '''Post:''' Current options are ''CO, Officer, Enlisted, or Civilian'' (may be left blank)
**''Syntax is the same as for the "Headshot" Template (with the addition of 4: Department.''


'''Note:''' Be sure to include a CLEAR Template under sections of Headshots to avoid formatting issues! (See in examples below)...
'''Note:''' Be sure to include a CLEAR Template under sections of Headshots to avoid formatting issues! (See in examples below)...
Line 23: Line 23:
<pre>
<pre>
{{Amity Headshot
{{Amity Headshot
| 1 = Kivik Altik-Nerun
| 1 = Officer
| 2 = Kivik
| 2 = Kivik
| 3 = Kivik
| 3 =  
| 4 = Science
| 4 = Science
| 5 = Officer
}}
}}
{{Clear}}
{{Clear}}
Line 33: Line 32:
Yields...
Yields...
{{Amity Headshot
{{Amity Headshot
| 1 = Kivik Altik-Nerun
| 1 = Officer
| 2 = Kivik
| 2 = Kivik
| 3 = Kivik
| 3 =  
| 4 = Science
| 4 = Science
| 5 = Officer
}}
}}
{{Clear}}
{{Clear}}
Line 47: Line 45:
<pre>
<pre>
{{Amity Headshot
{{Amity Headshot
| 1 = Niarivi Vataix
| 1 = CO
| 2 = Vataix
| 2 = Rivi Vataix
| 3 = Rivi Vataix
| 3 = Vataix
| 4 = FDC
| 4 = FDC
| 5 = CO
}}
}}
</pre>
</pre>
Yields...
Yields...
{{Amity Headshot
{{Amity Headshot
| 1 = Niarivi Vataix
| 1 = CO
| 2 = Vataix
| 2 = Rivi Vataix
| 3 = Rivi Vataix
| 3 = Vataix
| 4 = FDC
| 4 = FDC
| 5 = CO
}}
}}
{{Clear}}
{{Clear}}
===Stacking & Simplified Syntax===
===Stacking & Simplified Syntax===
<pre>
<pre>
{{Amity Headshot|Roshanara Rahman|Rahman|Roshanara Rahman|Command|CO}}
{{Amity Headshot|CO|Roshanara Rahman|Rahman|Command}}
{{Amity Headshot|Wil Ukinix|Ukinix|Wil Ukinix|Command|Officer}}
{{Amity Headshot|Officer|Wil Ukinix|W. Ukinix|Command}}
{{Amity Headshot||Barberra|Annamae Barberra|Command|Enlisted}}
{{Amity Headshot|Enlisted|Annamae Barberra|Barberra}}
{{Amity Headshot||Kivik|Kivik|Science|Officer}}
{{Amity Headshot|Officer|Kivik||Science}}
{{Amity Headshot|Scotty Reade|Reade|Scotty Reade|Ops|Officer}}
{{Amity Headshot|Officer|Scotty Reade|Reade|Ops}}
{{Amity Headshot||Summerside|Arthur Summerside}}
{{Amity Headshot||Arthur Summerside|Summerside}}
{{Clear}}
{{Clear}}
</pre>
</pre>
Yields...
Yields...
{{Amity Headshot|Roshanara Rahman|Rahman|Roshanara Rahman|Command|CO}}
{{Amity Headshot|CO|Roshanara Rahman|Rahman|Command}}
{{Amity Headshot|Wil Ukinix|Ukinix|Wil Ukinix|Command|Officer}}
{{Amity Headshot|Officer|Wil Ukinix|W. Ukinix|Command}}
{{Amity Headshot||Barberra|Annamae Barberra|Command|Enlisted}}
{{Amity Headshot|Enlisted|Annamae Barberra|Barberra}}
{{Amity Headshot||Kivik|Kivik|Science|Officer}}
{{Amity Headshot|Officer|Kivik||Science}}
{{Amity Headshot|Scotty Reade|Reade|Scotty Reade|Ops|Officer}}
{{Amity Headshot|Officer|Scotty Reade|Reade|Ops}}
{{Amity Headshot||Summerside|Arthur Summerside}}
{{Amity Headshot||Arthur Summerside|Summerside}}
{{Clear}}
{{Clear}}
</noinclude>
</noinclude>

Navigation menu