Template:Amity Headshot: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{| id="container"" style="float:left; display:block; margin-left: -2px; margin-right: 4px;" | ||
| 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: {{{ | | 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="background-color:{{ #switch: | | 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=== | ||
# '''Name:''' | # '''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) | ||
# '''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) | ||
# '' | #*''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 22: | ||
<pre> | <pre> | ||
{{Amity Headshot | {{Amity Headshot | ||
| 1 = | | 1 = Officer | ||
| 2 = Kivik | | 2 = Kivik | ||
| 3 = | | 3 = | ||
| 4 = Science | | 4 = Science | ||
}} | }} | ||
{{Clear}} | {{Clear}} | ||
Line 33: | Line 31: | ||
Yields... | Yields... | ||
{{Amity Headshot | {{Amity Headshot | ||
| 1 = | | 1 = Officer | ||
| 2 = Kivik | | 2 = Kivik | ||
| 3 = | | 3 = | ||
| 4 = Science | | 4 = Science | ||
}} | }} | ||
{{Clear}} | {{Clear}} | ||
Line 47: | Line 44: | ||
<pre> | <pre> | ||
{{Amity Headshot | {{Amity Headshot | ||
| 1 = | | 1 = CO | ||
| 2 = Vataix | | 2 = Rivi Vataix | ||
| 3 = | | 3 = Vataix | ||
| 4 = FDC | | 4 = FDC | ||
}} | }} | ||
</pre> | </pre> | ||
Yields... | Yields... | ||
{{Amity Headshot | {{Amity Headshot | ||
| 1 = | | 1 = CO | ||
| 2 = Vataix | | 2 = Rivi Vataix | ||
| 3 = | | 3 = Vataix | ||
| 4 = FDC | | 4 = FDC | ||
}} | }} | ||
{{Clear}} | {{Clear}} | ||
===Stacking & Simplified Syntax=== | ===Stacking & Simplified Syntax=== | ||
<pre> | <pre> | ||
{{Amity Headshot|Roshanara Rahman| | {{Amity Headshot|CO|Roshanara Rahman|Rahman|Command}} | ||
{{Amity Headshot|Wil Ukinix| | {{Amity Headshot|Officer|Wil Ukinix|W. Ukinix|Command}} | ||
{{Amity Headshot||Barberra| | {{Amity Headshot|Enlisted|Annamae Barberra|Barberra|Command}} | ||
{{Amity Headshot||Kivik| | {{Amity Headshot|Officer|Kivik||Science}} | ||
{{Amity Headshot|Scotty Reade| | {{Amity Headshot|Officer|Scotty Reade|Reade|Ops}} | ||
{{Amity Headshot||Summerside| | {{Amity Headshot||Arthur Summerside|Summerside}} | ||
{{Clear}} | {{Clear}} | ||
</pre> | </pre> | ||
Yields... | Yields... | ||
{{Amity Headshot|Roshanara Rahman| | {{Amity Headshot|CO|Roshanara Rahman|Rahman|Command}} | ||
{{Amity Headshot|Wil Ukinix| | {{Amity Headshot|Officer|Wil Ukinix|W. Ukinix|Command}} | ||
{{Amity Headshot||Barberra| | {{Amity Headshot|Enlisted|Annamae Barberra|Barberra|Command}} | ||
{{Amity Headshot||Kivik| | {{Amity Headshot|Officer|Kivik||Science}} | ||
{{Amity Headshot|Scotty Reade| | {{Amity Headshot|Officer|Scotty Reade|Reade|Ops}} | ||
{{Amity Headshot||Summerside| | {{Amity Headshot||Arthur Summerside|Summerside}} | ||
{{Clear}} | {{Clear}} | ||
</noinclude> | </noinclude> |
Latest revision as of 19:46, 16 June 2022
Usage Notes
Expanded Syntax w/ Example
- Post: Current options are CO, Officer, Enlisted, or Civilian (may be left blank)
- Name: The name of your character as it appears on their ID (if left blank, no image will display)
- 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)
- 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)...
{{Amity Headshot | 1 = Officer | 2 = Kivik | 3 = | 4 = Science }} {{Clear}}
Yields...
Kivik |
Department & Post
You can change 4 (Department) to either Command, Science, Ops, or FDC. This will affect the colour scheme.
You can change 5 (Post) to either CO, Officer, Enlisted, or Civilian. This will affect the number of bars displayed.
{{Amity Headshot | 1 = CO | 2 = Rivi Vataix | 3 = Vataix | 4 = FDC }}
Yields...
Vataix |
Stacking & Simplified Syntax
{{Amity Headshot|CO|Roshanara Rahman|Rahman|Command}} {{Amity Headshot|Officer|Wil Ukinix|W. Ukinix|Command}} {{Amity Headshot|Enlisted|Annamae Barberra|Barberra|Command}} {{Amity Headshot|Officer|Kivik||Science}} {{Amity Headshot|Officer|Scotty Reade|Reade|Ops}} {{Amity Headshot||Arthur Summerside|Summerside}} {{Clear}}
Yields...
Rahman |
W. Ukinix |
Barberra |
Kivik |
Reade |
Summerside |