Template:Amity Headshot: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
|}
|}
{{ #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="margin-top: 2px; width: 73px; height: 0; margin-left: 2px; border: 2px solid grey;"></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> | #default = <div style="width: 73px; height: 0; margin-left: 2px; border: 2px solid black;"></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 grey;"></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 black;"></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 grey;"></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 black;"></div> }}
</div></includeonly><noinclude>
</div></includeonly><noinclude>
==Usage Notes==
==Usage Notes==

Revision as of 01:07, 15 June 2022

Usage Notes

Expanded Syntax w/ Example

  1. Name: Include the full name of your character (may be left blank)
  2. Shortened Name: If your name is too long, include a shorter version (i.e. last name only.)
  3. ID Name: The name on your Character /ID page.
  4. Department: Current options are Command, Science, Ops, or FDC (may be left blank)
  5. Post: Current options are CO, Officer, Enlisted, or Civilian (may be left blank)

Note: Be sure to include a CLEAR Template under sections of Headshots to avoid formatting issues! (See in examples below)...

{{Amity Headshot
| 1 = Kivik Altik-Nerun
| 2 = Kivik
| 3 = Kivik
| 4 = Science
| 5 = Officer
}}
{{Clear}}

Yields...

Kivik-V2.png
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 = Niarivi Vataix
| 2 = Vataix
| 3 = Rivi Vataix
| 4 = FDC
| 5 = CO
}}

Yields...

Rivi-awards-2399.png
Vataix

Stacking & Simplified Syntax

{{Amity Headshot|Roshanara Rahman|Rahman|Roshanara Rahman|Command|CO}}
{{Amity Headshot|Wil Ukinix|Ukinix|Wil Ukinix|Command|Officer}}
{{Amity Headshot||Barberra|Annamae Barberra|Command|Enlisted}}
{{Amity Headshot||Kivik|Kivik|Science|Officer}}
{{Amity Headshot|Scotty Reade|Reade|Scotty Reade|Ops|Officer}}
{{Amity Headshot||Summerside|Arthur Summerside}}
{{Clear}}

Yields...

Rahman-Official-Portrait-2397.png
Rahman
WilUkinix.png
Ukinix
Barberra2400.png
Barberra
Kivik-V2.png
Kivik
Reade-Update.png
Reade
ArthurSummerside.jpg
Summerside