Difference between revisions of "Template:Crosshair table"

From QWiki
m
m
Line 7: Line 7:
 
!{{abbr|Size|crosshairsize}}
 
!{{abbr|Size|crosshairsize}}
 
!{{abbr|Alpha|crosshairalpha}}
 
!{{abbr|Alpha|crosshairalpha}}
|- style=height:30px
+
|- style="height:30px"
 
|{{#switch:{{{crosshair|4}}}
 
|{{#switch:{{{crosshair|4}}}
 
   | 0  
 
   | 0  
Line 18: Line 18:
 
   | 7 = <div style="background-color: rgb({{{r}}},{{{g}}},{{{b}}});">[[File:Crosshair{{{crosshair|}}}.png]]</div>
 
   | 7 = <div style="background-color: rgb({{{r}}},{{{g}}},{{{b}}});">[[File:Crosshair{{{crosshair|}}}.png]]</div>
 
   | image = <div style="background-color:white;"><code>image</code></div>}}
 
   | image = <div style="background-color:white;"><code>image</code></div>}}
|style=height:30px{{#switch:{{{crosshair|}}}
+
|style="height:30px"{{#switch:{{{crosshair|}}}
 
   | 0
 
   | 0
 
   | 1
 
   | 1

Revision as of 20:33, 26 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