Difference between revisions of "Template:Crosshair table"

From QWiki
m
m
Line 7: Line 7:
 
!{{abbr|Color|crosshaircolor}}
 
!{{abbr|Color|crosshaircolor}}
 
!{{abbr|Alpha|crosshairalpha}}
 
!{{abbr|Alpha|crosshairalpha}}
{{#if:{{{nopreview|}}}||
+
{{#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&#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

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