Difference between revisions of "Template:Primary"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
style="background:#{{#switch: {{#sub:{{{1}}}|0|3}}
+
style="color: black !important; background-color:#{{#switch: {{#sub:{{{1}}}|0|2}}
 
  |O5=9bb0ff|O6=a2b8ff|O7=9db1ff|O8=9db1ff|O9=9ab2ff
 
  |O5=9bb0ff|O6=a2b8ff|O7=9db1ff|O8=9db1ff|O9=9ab2ff
 
  |B0=9cb2ff|B1=a0b6ff|B2=a0b4ff|B3=a5b9ff|B4=a4b8ff
 
  |B0=9cb2ff|B1=a0b6ff|B2=a0b4ff|B3=a5b9ff|B4=a4b8ff
 
  |B5=aabfff|B6=acbdff|B7=adbfff|B8=b1c3ff|B9=b5c6ff
 
  |B5=aabfff|B6=acbdff|B7=adbfff|B8=b1c3ff|B9=b5c6ff
|BD0=9cb2ff|BD1=a0b6ff|BD2=a0b4ff|BD3=a5b9ff|BD4=a4b8ff
 
|BD5=aabfff|BD6=acbdff|BD7=adbfff|BD8=b1c3ff|BD9=b5c6ff
 
 
  |A0=b9c9ff|A1=b5c7ff|A2=bbcbff|A3=bfcfff|A4=bfcfff
 
  |A0=b9c9ff|A1=b5c7ff|A2=bbcbff|A3=bfcfff|A4=bfcfff
 
  |A5=cad7ff|A6=c7d4ff|A7=c8d5ff|A8=d5deff|A9=dbe0ff
 
  |A5=cad7ff|A6=c7d4ff|A7=c8d5ff|A8=d5deff|A9=dbe0ff
Line 15: Line 13:
 
  |M0=ffc38b|M1=ffcc8e|M2=ffc483|M3=ffce81|M4=ffc97f
 
  |M0=ffc38b|M1=ffcc8e|M2=ffc483|M3=ffce81|M4=ffc97f
 
  |M5=ffcc6f|M6=ffc370|M7=ffc370|M8=ffc66d|M9=ffc66d
 
  |M5=ffcc6f|M6=ffc370|M7=ffc370|M8=ffc66d|M9=ffc66d
  |D=cfdaff  
+
  |D=cfdaff |BD=EB4B25|NS=aabfff|BH=707070
  |ffffff}}"<noinclude>
+
  |ffffff}} !important"<noinclude>
  
 
Set the background color for the primary in the [[Template:UWP]] when the template includes a primary code.  
 
Set the background color for the primary in the [[Template:UWP]] when the template includes a primary code.  

Latest revision as of 02:05, 22 February 2021

style="color: black !important; background-color:#ffffff !important"

Set the background color for the primary in the Template:UWP when the template includes a primary code.

  • This data is derived from Star Colors site, specifically from the Full List for the colors provided.