Difference between revisions of "Template:Crosshair table"

From QWiki
(Created page with "<includeonly><div class="table-responsive"> {|class="wikitable" style="width:{{{width|{{#if:{{{nopreview|}}}|567px|660px}}}}};text-align:center;margin-bottom:0px;" !colspan=10...")
 
m
Line 14: Line 14:
 
   ! colspan=2 {{!}} {{abbr|Preview|Taken on a native 1280x720 resolution. Note that crosshair proportions vary depending on the user's resolution setting.}} {{#ifexist:File:Crosshair {{{name|{{#var:id}}}}}.png||<span class="plainlinks">''<sup>[{{fullurl:lpcommons:Special:Upload|wpDestFile=Crosshair%20{{urlencode:{{{name|{{#var:id}}}}}}}.png&wpUploadDescription=%5B%5BCategory%3ACrosshairs%5D%5D}} [upload&#93;]</sup>''</span>}}}}
 
   ! colspan=2 {{!}} {{abbr|Preview|Taken on a native 1280x720 resolution. Note that crosshair proportions vary depending on the user's resolution setting.}} {{#ifexist:File:Crosshair {{{name|{{#var:id}}}}}.png||<span class="plainlinks">''<sup>[{{fullurl:lpcommons:Special:Upload|wpDestFile=Crosshair%20{{urlencode:{{{name|{{#var:id}}}}}}}.png&wpUploadDescription=%5B%5BCategory%3ACrosshairs%5D%5D}} [upload&#93;]</sup>''</span>}}}}
 
|- style=height:32px
 
|- style=height:32px
|{{#switch:{{{style|4}}}
+
|{{#switch:{{{crosshair|4}}}
 
   | 0 = <code>{{abbr|0|''Global Offensive'' dynamic}}</code>
 
   | 0 = <code>{{abbr|0|''Global Offensive'' dynamic}}</code>
 
   | 1 = <code>{{abbr|1|''Global Offensive'' static}}</code>
 
   | 1 = <code>{{abbr|1|''Global Offensive'' static}}</code>

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