Difference between revisions of "Template:Crosshair table"

From QWiki
m
m
Line 1: Line 1:
 
<includeonly><div class="table-responsive">
 
<includeonly><div class="table-responsive">
{|class="wikitable" style="width:300px;text-align:center;margin-bottom:0px;" cellpadding="0"
+
{|class="wikitable" style="width:300px;text-align:center;margin-bottom:0px;"  
 
!colspan=10|Crosshair settings
 
!colspan=10|Crosshair settings
 
|-
 
|-
Line 8: Line 8:
 
!{{abbr|Alpha|crosshairalpha}}
 
!{{abbr|Alpha|crosshairalpha}}
 
|-  
 
|-  
| {{#switch:{{{crosshair|4}}}
+
| style=padding:0px; {{#switch:{{{crosshair|4}}}
 
   | 0  
 
   | 0  
 
   | 1
 
   | 1
Line 16: Line 16:
 
   | 5
 
   | 5
 
   | 6
 
   | 6
   | 7 = <div style="padding:0px;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="padding:0px;background-color:white;"><code>image</code></div>}}
 
   | image = <div style="padding:0px;background-color:white;"><code>image</code></div>}}
 
| {{#switch:{{{crosshair|}}}
 
| {{#switch:{{{crosshair|}}}

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