Difference between revisions of "Template:Primary"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
style="background:#{{#switch: {{#sub:{{{1}}}|0|2}}
+
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
Line 13: 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
  |ffffff}}"<noinclude>
+
|D=cfdaff |BD=EB4B25|NS=aabfff|BH=707070
 +
  |ffffff}} !important"<noinclude>
 +
 
 +
Set the background color for the primary in the [[Template:UWP]] when the template includes a primary code.
 +
* This data is derived from [http://www.vendian.org/mncharity/dir3/starcolor/ Star Colors] site, specifically from the [http://www.vendian.org/mncharity/dir3/starcolor/UnstableURLs/starcolors.html Full List] for the colors provided.
 +
 
  
Set the background color for the primary in the [[Template:UWP]] when the template includes a primary code. This data is derived from [http://www.vendian.org/mncharity/dir3/starcolor/ Star Colors] site, specifically from the [http://www.vendian.org/mncharity/dir3/starcolor/UnstableURLs/starcolors.html Full List] for the colors provided.
 
 
[[Category: Templates|Primary]]
 
[[Category: Templates|Primary]]
 
</noinclude>
 
</noinclude>

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.