Template:Amity Crew Figures: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
{| style="text-align:center; margin-bottom:10px;" cellspacing=5px
{| style="text-align:center; margin-bottom:10px;" cellspacing=5px
{{ #if: {{{CO|}}}
{{ #if: {{{CO|}}}
| {{!}} style="width: 90px; background-color: lightgrey; padding-top: 10px; ; border-radius: 0 0 10px 10px; border-top: 4px solid black;" {{!}} {{ #switch: {{{DEPT}}} | FDC = [[File:C-PIC-CAPTAIN-FDC{{ #switch: {{{CO}}} | Rivi = -RIVI}}.png|x110px|link=]] | #default= [[File:C-PIC-CAPTAIN{{ #switch: {{{CO}}} | Rivi = -FDC-RIVI}}.png|x110px|link=]] }}
| {{!}} style="width: 90px; background-color: lightgrey; padding-top: 10px; border-radius: 0 0 10px 10px; border-top: 4px solid {{ #switch: {{{DEPT}}} | #default = grey | Command = maroon | Ops = goldrenrod | Science = steelblue | FDC = slategrey }};" {{!}} {{ #switch: {{{DEPT}}} | FDC = [[File:C-PIC-CAPTAIN-FDC{{ #switch: {{{CO}}} | Rivi = -RIVI}}.png|x110px|link=]] | #default= [[File:C-PIC-CAPTAIN{{ #switch: {{{CO}}} | Rivi = -FDC-RIVI}}.png|x110px|link=]] }}
'''{{ #switch: {{{CO}}} | Rivi = 1 | #default = 1}}'''
'''{{ #switch: {{{CO}}} | Rivi = 1 | #default = 1}}'''
<br/> {{ #switch: {{{DEPT}}} | FDC = Ambassador | #default= CO }}
<br/> {{ #switch: {{{DEPT}}} | FDC = Ambassador | #default= CO }}
|}}
|}}
{{ #if: {{{OFFICERS|}}}
{{ #if: {{{OFFICERS|}}}
| {{!}}  style="width: 90px; background-color: lightgrey; padding-top: 10px; border-radius: 0 0 10px 10px; border-top: 4px solid black;" {{!}} [[File:C-PIC-OFFICER-{{ #switch: {{{DEPT}}} | Command = CMD | Ops = OPS | Science = SCI | FDC = FDC | #default = B&W }}.png|x110px|link=]]
| {{!}}  style="width: 90px; background-color: lightgrey; padding-top: 10px; border-radius: 0 0 10px 10px; border-top: 4px solid {{ #switch: {{{DEPT}}} | #default = grey | Command = maroon | Ops = goldrenrod | Science = steelblue | FDC = slategrey }};" {{!}} [[File:C-PIC-OFFICER-{{ #switch: {{{DEPT}}} | Command = CMD | Ops = OPS | Science = SCI | FDC = FDC | #default = B&W }}.png|x110px|link=]]
'''{{{OFFICERS}}}'''
'''{{{OFFICERS}}}'''
<br/> {{ #switch: {{{DEPT}}} | FDC = Diplomats | #default= Officers }}
<br/> {{ #switch: {{{DEPT}}} | FDC = Diplomats | #default= Officers }}
|}}
|}}
{{ #if: {{{ENLISTED|}}}
{{ #if: {{{ENLISTED|}}}
| {{!}} style="width: 90px; background-color: lightgrey; padding-top: 10px; border-radius: 0 0 10px 10px; border-top: 4px solid black;" {{!}} [[File:C-PIC-ENLISTED-{{ #switch: {{{DEPT}}} | Command = CMD | Ops = OPS | Science = SCI | FDC = FDC | #default = B&W }}.png|x110px|link=]]
| {{!}} style="width: 90px; background-color: lightgrey; padding-top: 10px; border-radius: 0 0 10px 10px; border-top: 4px solid {{ #switch: {{{DEPT}}} | #default = grey | Command = maroon | Ops = goldrenrod | Science = steelblue | FDC = slategrey }};" {{!}} [[File:C-PIC-ENLISTED-{{ #switch: {{{DEPT}}} | Command = CMD | Ops = OPS | Science = SCI | FDC = FDC | #default = B&W }}.png|x110px|link=]]
'''{{{ENLISTED}}}'''
'''{{{ENLISTED}}}'''
<br/> {{ #switch: {{{DEPT}}} | FDC = Staff | #default= Enlisted }}
<br/> {{ #switch: {{{DEPT}}} | FDC = Staff | #default= Enlisted }}
|}}
|}}
{{ #if: {{{CIVILIANS|}}}
{{ #if: {{{CIVILIANS|}}}
| {{!}}  style="width: 90px; background-color: lightgrey; padding-top: 10px; border-radius: 0 0 10px 10px; border-top: 4px solid black;" {{!}} [[File:C-PIC-CIV-{{ #switch: {{{DEPT}}} | Command = RED | Ops = YEL | Science = BLU | FDC = FDC | #default = NTRL }}.png|x110px|link=]]
| {{!}}  style="width: 90px; background-color: lightgrey; padding-top: 10px; border-radius: 0 0 10px 10px; border-top: 4px solid {{ #switch: {{{DEPT}}} | #default = grey | Command = maroon | Ops = goldrenrod | Science = steelblue | FDC = slategrey }};" {{!}} [[File:C-PIC-CIV-{{ #switch: {{{DEPT}}} | Command = RED | Ops = YEL | Science = BLU | FDC = FDC | #default = NTRL }}.png|x110px|link=]]
'''{{{CIVILIANS}}}'''
'''{{{CIVILIANS}}}'''
<br/> {{ #switch: {{{DEPT}}} | FDC = Others | #default= Civilians }}
<br/> {{ #switch: {{{DEPT}}} | FDC = Others | #default= Civilians }}

Revision as of 07:40, 14 June 2022

Usage Notes

Basic Department Listing Syntax

{{ Amity Crew Figures
| DEPT = 
| CO = 1
| OFFICERS = 50
| ENLISTED = 300
| CIVILIANS = 1,000
}}

Yields...

C-PIC-CAPTAIN.png

1
CO

C-PIC-OFFICER-B&W.png

50
Officers

C-PIC-ENLISTED-B&W.png

300
Enlisted

C-PIC-CIV-NTRL.png

1,000
Civilians


Excluding Any Duty Post

Simply remove any duty post / role (including CO) that you don't want to include. You can also set the # to 0 or leave it blank (your choice).

{{ Amity Crew Figures
| OFFICERS = 10
| ENLISTED = 20
}}

Yields...

C-PIC-OFFICER-B&W.png

10
Officers

C-PIC-ENLISTED-B&W.png

20
Enlisted


Switching Department

{{ Amity Crew Figures
| DEPT = Command
| OFFICERS = 10
| ENLISTED = 20
| CIVILIANS = 100
}}

Yields...

C-PIC-OFFICER-CMD.png

10
Officers

C-PIC-ENLISTED-CMD.png

20
Enlisted

C-PIC-CIV-RED.png

100
Civilians


{{ Amity Crew Figures
| DEPT = Ops
| OFFICERS = 10
| ENLISTED = 20
| CIVILIANS = 100
}}

Yields...

C-PIC-OFFICER-OPS.png

10
Officers

C-PIC-ENLISTED-OPS.png

20
Enlisted

C-PIC-CIV-YEL.png

100
Civilians


{{ Amity Crew Figures
| DEPT = Science
| OFFICERS = 10
| ENLISTED = 20
| CIVILIANS = 100
}}

Yields...

C-PIC-OFFICER-SCI.png

10
Officers

C-PIC-ENLISTED-SCI.png

20
Enlisted

C-PIC-CIV-BLU.png

100
Civilians


{{ Amity Crew Figures
| DEPT = FDC
| CO = 1
| OFFICERS = 10
| ENLISTED = 20
| CIVILIANS = 100
}}

Yields...

C-PIC-CAPTAIN-FDC.png

1
Ambassador

C-PIC-OFFICER-FDC.png

10
Diplomats

C-PIC-ENLISTED-FDC.png

20
Staff

C-PIC-CIV-FDC.png

100
Others

Note: Switching DEPT to FDC changes "CO" to "Ambassador", "Officers" to "Diplomats", "Enlisted" to "Staff", and "Civilians" to "Others" (since they're all technically civilians).

{{ Amity Crew Figures
| DEPT = FDC
| CO = Rivi
| OFFICERS = 10
| ENLISTED = 20
| CIVILIANS = 100
}}

Yields...

C-PIC-CAPTAIN-FDC-RIVI.png

1
Ambassador

C-PIC-OFFICER-FDC.png

10
Diplomats

C-PIC-ENLISTED-FDC.png

20
Staff

C-PIC-CIV-FDC.png

100
Others