Difference between revisions of "Template:Crosshair table"

From QWiki
m
m
Line 8: Line 8:
 
!{{abbr|Alpha|crosshairalpha}}
 
!{{abbr|Alpha|crosshairalpha}}
 
|-
 
|-
|{{#switch:{{{crosshair|4}}}
+
|style="height:30px;width:96px;padding:0px;margin:0px;background-color: rgb({{{r}}},{{{g}}},{{{b}}});"|{{#switch:{{{crosshair|4}}}
 
   | 0  
 
   | 0  
 
   | 1
 
   | 1
Line 16: Line 16:
 
   | 5
 
   | 5
 
   | 6
 
   | 6
   | 7 = <span style="color:#000">|[[File:Crosshair{{{crosshair|}}}.png]]</span>
+
   | 7 = [[File:Crosshair{{{crosshair|}}}.png]]
 
   | image = <code>image</code>}}
 
   | image = <code>image</code>}}
 
|style="background-color: rgb({{{r}}},{{{g}}},{{{b}}});color:#fff}}"|{{{r}}} {{{g}}} {{{b}}}
 
|style="background-color: rgb({{{r}}},{{{g}}},{{{b}}});color:#fff}}"|{{{r}}} {{{g}}} {{{b}}}

Revision as of 18:27, 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