Difference between revisions of "Template:Crosshair table"

From QWiki
m
m
Line 3: Line 3:
 
!colspan=10|Crosshair settings
 
!colspan=10|Crosshair settings
 
|-
 
|-
!{{abbr|Crosshair|crosshair 1-6}}
+
!{{abbr|Crosshair|crosshair 1-7}}
 
!{{abbr|Color|crosshaircolor}}
 
!{{abbr|Color|crosshaircolor}}
 
!{{abbr|Size|crosshairsize}}
 
!{{abbr|Size|crosshairsize}}
 
!{{abbr|Alpha|crosshairalpha}}
 
!{{abbr|Alpha|crosshairalpha}}
 
|-
 
|-
|<code>{{{crosshair|1}}}</code>
+
|style="background-color: rgb({{{r}}},{{{g}}},{{{b}}});height:30px;width:96px;padding:0px;margin:0px;"|[[File:Crosshair{{{crosshair|}}}.png]]
 
|style="background-color: rgb({{{r}}},{{{g}}},{{{b}}});color:#fff}}"|{{{r}}} {{{g}}} {{{b}}}
 
|style="background-color: rgb({{{r}}},{{{g}}},{{{b}}});color:#fff}}"|{{{r}}} {{{g}}} {{{b}}}
 
|<code>{{{size|1}}}</code>
 
|<code>{{{size|1}}}</code>

Revision as of 06:12, 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