Difference between revisions of "Template:Crosshair table"

From QWiki
m
m
Line 17: Line 17:
 
   | 6
 
   | 6
 
   | 7 = <div style="height:30px;width:96px;padding:0px;margin:0px;background-color: rgb({{{r}}},{{{g}}},{{{b}}});">[[File:Crosshair{{{crosshair|}}}.png]]</div>
 
   | 7 = <div style="height:30px;width:96px;padding:0px;margin:0px;background-color: rgb({{{r}}},{{{g}}},{{{b}}});">[[File:Crosshair{{{crosshair|}}}.png]]</div>
   | image = <div style="height:30px;background-color:white;"><code>image</code></div>}}
+
   | image = <div style="height:30px;padding:0px;margin:0px;background-color:white;"><code>image</code></div>}}
 
|{{#switch:{{{crosshair|}}}
 
|{{#switch:{{{crosshair|}}}
 
   | 0
 
   | 0

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