Difference between revisions of "Template:Crosshair table"
From QWiki
m |
m |
||
Line 3: | Line 3: | ||
!colspan=10|Crosshair settings | !colspan=10|Crosshair settings | ||
|- | |- | ||
− | !{{abbr|Crosshair|crosshair 1-7}} | + | !{{abbr|Crosshair|crosshair 1-7 or 'image'}} |
!{{abbr|Color|crosshaircolor}} | !{{abbr|Color|crosshaircolor}} | ||
!{{abbr|Size|crosshairsize}} | !{{abbr|Size|crosshairsize}} | ||
Line 16: | Line 16: | ||
| 5 | | 5 | ||
| 6 | | 6 | ||
− | | 7 = <div style="height:30px;width:96px;padding: | + | | 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;padding:0px;margin:0px;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|}}} | ||
Line 26: | Line 26: | ||
| 5 | | 5 | ||
| 6 | | 6 | ||
− | | 7 = <div style="text-align:center;padding-top: | + | | 7 = <div style="text-align:center;padding-top:0px;height:30px;width:96px;"><code>{{{r}}} {{{g}}} {{{b}}}</code></div> |
| image = <div style="text-align:center;padding-top:0px;height:30px;width:96px;background-color:white;"><code>image</code></div>}} | | image = <div style="text-align:center;padding-top:0px;height:30px;width:96px;background-color:white;"><code>image</code></div>}} | ||
|<code>{{{size|1}}}</code> | |<code>{{{size|1}}}</code> |
Revision as of 20:24, 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