Difference between revisions of "Template:Crosshair table"

From QWiki
m
m
Line 5: Line 5:
 
!{{abbr|Crosshair|crosshair 1-8}}
 
!{{abbr|Crosshair|crosshair 1-8}}
 
!{{abbr|Size|crosshairsize}}
 
!{{abbr|Size|crosshairsize}}
!{{abbr|Outline|cl_crosshair_drawoutline, cl_crosshair_outlinethickness}}
 
!{{abbr|Dot|cl_crosshairdot}}
 
 
!{{abbr|Color|crosshaircolor}}
 
!{{abbr|Color|crosshaircolor}}
 
!{{abbr|Alpha|cl_crosshairusealpha, cl_crosshairalpha}}
 
!{{abbr|Alpha|cl_crosshairusealpha, cl_crosshairalpha}}
Line 21: Line 19:
 
   | 6 = <code>{{abbr|6|Classic semi-dynamic}}</code>}}
 
   | 6 = <code>{{abbr|6|Classic semi-dynamic}}</code>}}
 
|<code>{{{size|5}}}</code>
 
|<code>{{{size|5}}}</code>
|{{#ifeq:{{{outlinethickness|0}}}|0|No|Yes (thickness {{{outlinethickness}}})}}
 
|{{#switch:{{{dot|0}}}
 
  | 0 = No (<code>0</code>)
 
  | 1 = Yes (<code>1</code>)}}
 
 
|style="background-color:{{#switch:{{{color|1}}}
 
|style="background-color:{{#switch:{{{color|1}}}
 
   | 0  = rgb(251,134,134)
 
   | 0  = rgb(251,134,134)

Revision as of 09:29, 18 March 2017

Documentation (view - edit)

  • crosshair must be set to 1-7, or image.
  • color is not needed if crosshair=image
{{crosshair table
|crosshair=
|color|r= |g= |b=
|size=
|alpha=
}}

Adapted from Liquipedia