Template:CrewHistory-Subpages: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Attempt to fix Operations #5)
(Attempt to fix Operations #6 (all going well so far, don't fail me now))
Line 10: Line 10:
{{#if:{{{MARINE|}}}|{{!}}style{{=}}"background:darkgreen" align{{=}}center{{!}}[[{{{SHIP}}} Crew History/Marine Regiment{{!}}<font color="white">Marine Regiment</font>]]|}}
{{#if:{{{MARINE|}}}|{{!}}style{{=}}"background:darkgreen" align{{=}}center{{!}}[[{{{SHIP}}} Crew History/Marine Regiment{{!}}<font color="white">Marine Regiment</font>]]|}}
{{#if:{{{INTEL|}}}|{{!}}style{{=}}"background:{{#if:{{{INTELRED|}}}|red|black}}" align{{=}}center{{!}}[[{{{SHIP}}} Crew History/Intelligence Division{{!}}<font color="white">Intelligence Division</font>]]|}}
{{#if:{{{INTEL|}}}|{{!}}style{{=}}"background:{{#if:{{{INTELRED|}}}|red|black}}" align{{=}}center{{!}}[[{{{SHIP}}} Crew History/Intelligence Division{{!}}<font color="white">Intelligence Division</font>]]|}}
{{#if:{{{DIPLO|}}}|{{!}}style{{=}}"background:{{#if:{{{DIPLORED|}}}|red|violet}}" align{{=}}center{{!}}[[{{{SHIP}}} Crew History/Diplomacy Division{{!}}<font color="white">Diplomacy Division</font>]]|}}
|style="background:#606060" align=center|[[{{{SHIP}}} Crew History/Civilian Contingent|<font color="white">Civilian Contingent</font>]]
|style="background:#606060" align=center|[[{{{SHIP}}} Crew History/Civilian Contingent|<font color="white">Civilian Contingent</font>]]
|}
|}

Revision as of 07:23, 21 July 2020

Similar to Template:CrewHistory but with a menu to subpages for individual divisions.