|
|
(101 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| <includeonly><div class="table-responsive"> | | <includeonly><div class="table-responsive"> |
− | {|class="wikitable" style="width:{{{width|{{#if:{{{nopreview|}}}|567px|660px}}}}};text-align:center;margin-bottom:0px;" | + | {|class="wikitable" style="width:300px;text-align:center;margin-bottom:0px;" |
| !colspan=10|Crosshair settings | | !colspan=10|Crosshair settings |
| |- | | |- |
− | !{{abbr|Crosshair|crosshair 1-8}} | + | !{{abbr|Crosshair|crosshair 1 to 7, or 'image'}} |
| + | !{{abbr|Color|crosshaircolor}} |
| !{{abbr|Size|crosshairsize}} | | !{{abbr|Size|crosshairsize}} |
− | !{{abbr|Outline|cl_crosshair_drawoutline, cl_crosshair_outlinethickness}}
| + | !{{abbr|Alpha|crosshairalpha}} |
− | !{{abbr|Dot|cl_crosshairdot}}
| + | |- |
− | !{{abbr|Color|crosshaircolor}}
| + | | style=padding:0px | {{#switch:{{{crosshair|6}}} |
− | !{{abbr|Alpha|cl_crosshairusealpha, cl_crosshairalpha}} | + | | 0 |
− | {{#if:{{{nopreview|}}}||
| + | | 1 |
− | ! 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]]</sup>''</span>}}}}
| + | | 2 |
− | |- style=height:32px
| + | | 3 |
− | |{{#switch:{{{crosshair|4}}} | + | | 4 |
− | | 0 = <code>{{abbr|0|''Global Offensive'' dynamic}}</code> | + | | 5 |
− | | 1 = <code>{{abbr|1|''Global Offensive'' static}}</code> | + | | 6 |
− | | 2 = <code>{{abbr|2|Classic dynamic}}</code> | + | | 7 = <div style="background-color: rgb({{{r|255}}},{{{g|255}}},{{{b|50}}});"> [[File:Crosshair{{{crosshair|6}}}.png]]</div> |
− | | 3 = <code>{{abbr|3|Classic fully dynamic}}</code> | + | | image = <div style="padding:0px;background-color:white;"><code>image</code></div>}} |
− | | 4 = <code>{{abbr|4|Classic static}}</code> | + | | {{#switch:{{{crosshair|6}}} |
− | | 5 = <code>{{abbr|5|Classic 1.6-style dynamic}}</code> | + | | 0 |
− | | 6 = <code>{{abbr|6|Classic semi-dynamic}}</code>}} | + | | 1 |
− | |<code>{{{size|5}}}</code>
| + | | 2 |
− | |{{#ifeq:{{{outlinethickness|0}}}|0|No|Yes (thickness {{{outlinethickness}}})}}
| + | | 3 |
− | |{{#switch:{{{dot|0}}}
| + | | 4 |
− | | 0 = No (<code>0</code>) | + | | 5 |
− | | 1 = Yes (<code>1</code>)}}
| + | | 6 |
− | |style="background-color:{{#switch:{{{color|1}}} | + | | 7 = <div style="padding:0px;text-align:center;width:96px;">{{{r}}} {{{g}}} {{{b}}}</div> |
− | | 0 = rgb(251,134,134) | + | | image = <div style="padding:0px;text-align:center;width:96px;background-color:white;">image</div>}} |
− | | 1 = rgb(128,255,128) | + | |{{{size|1}}} |
− | | 2 = rgb(251,251,134) | + | |{{{alpha|1}}} |
− | | 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> | |
− | {{#if:{{{nopreview|}}}||
| |
− | {{!}}[[File:Crosshair {{{name|{{#var:id}}}}}.png]]
| |
− | {{!}} style="background-color:#222" {{!}} [[File:Crosshair {{{name|{{#var:id}}}}}.png]]}}
| |
| |} | | |} |
− | {| class="mw-collapsible mw-collapsed wikitable" style="width:{{{width|{{#if:{{{nopreview|}}}|567px|660px}}}}};margin-top:0px;"
| |
− | ! align="center" style=font-size:85%;padding:5px | ''Click "Expand" for a code to copy and paste into your console.''
| |
− | |-
| |
− | | style=font-size:85%;padding:5px | <code>cl_crosshairalpha {{{alpha|255}}}; cl_crosshaircolor {{#switch:{{{color|1}}}|5w|5=5|#default={{{color|1}}}}}; {{#ifeq:{{{color}}}|5|cl_crosshaircolor_b {{{b}}}; cl_crosshaircolor_r {{{r}}}; cl_crosshaircolor_g {{{g}}};|}}cl_crosshairdot {{{dot|0}}}; cl_crosshairgap {{{gap|1}}}; cl_crosshairsize {{{size|5}}}; cl_crosshairstyle {{{style|4}}}; cl_crosshairusealpha {{#if:{{{alpha}}}|1|0}}; cl_crosshairthickness {{{thickness|0.5}}}; {{#ifeq:{{{outlinethickness|0}}}|0||cl_crosshair_outlinethickness {{{outlinethickness|0}}};}} cl_crosshair_drawoutline {{#switch:{{{outlinethickness|0}}}|0=0|#default=1}};</code>
| |
− | |}{{#if:{{{nocat|}}}||[[Category:Players with crosshair info]]{{#if:{{{nopreview|}}}|[[Category:Players with no crosshair preview]]}}}}
| |
| </div></includeonly><noinclude> | | </div></includeonly><noinclude> |
| {{Documentation}}[[Category:Table templates]] [[Category:Hardware Templates]][[Category:Templates]]</noinclude> | | {{Documentation}}[[Category:Table templates]] [[Category:Hardware Templates]][[Category:Templates]]</noinclude> |