Difference between revisions of "Template:Crosshair table"

From QWiki
m
m
Line 19: 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>
|style="background-color:{{#switch:{{{color|1}}}
+
|style="background-color: rgb({{{r}}},{{{g}}},{{{b}}});color:#fff}}"
  | 0  = rgb(251,134,134)
+
|<code>{{{r}}} {{{g}}} {{{b}}}</code>
  | 1  = rgb(128,255,128)
 
  | 2  = rgb(251,251,134)
 
  | 3  = rgb(134,134,251)
 
  | 4  = rgb(134,251,251)
 
  | 5  = rgb({{{r}}},{{{g}}},{{{b}}})
 
  | 5w = rgb({{{r}}},{{{g}}},{{{b}}});color:#fff}}" |{{#switch:{{{color|1}}}
 
 
 
    | 0  = Red (<code>0</code>)
 
    | 1  = Green (<code>1</code>)
 
    | 2  = Yellow (<code>2</code>)
 
    | 3  = Blue (<code>3</code>)
 
    | 4  = Light blue (<code>4</code>)
 
    | 5
 
    | 5w = {{abbr|Custom|({{{r}}}, {{{g}}}, {{{b}}})}} (<code><span style="color:#000">5</span></code>) }}
 
 
|<code>{{{alpha|255}}}</code>
 
|<code>{{{alpha|255}}}</code>
 
{{#if:{{{nopreview|}}}||
 
{{#if:{{{nopreview|}}}||

Revision as of 21:30, 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