Template:Sprite/Saturday: Difference between revisions
Jump to navigation
Jump to search
(i have no idea how this works the template does not explain this at all, here goes nothing) |
(i did it, sprites should work now!) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Sprite | |||
{| | |ratio={{{ratio|1}}} | ||
| | |sheetWidth=225 | ||
| | |sheetHeight=250 | ||
|row={{#switch: {{{expr|}}} | |||
| | | neutral = 1 | ||
| happy = 2 | |||
| | | barely = 4 | ||
| | | missed = 5 | ||
| | | {{{row|1}}} | ||
| | }} | ||
| | |col={{#switch: {{{expr|}}} | ||
| neutral = 1 | |||
| happy = 5 | |||
| barely = 1 | |||
| missed = 1 | |||
| {{{col|1}}} | |||
}} | |||
|noOfRows={{#switch: {{{expr|}}} <!-- "noOfRows" and "noOfColumns" are switched for every expression in order to center them properly without losing integrity of the overall template--> | |||
| neutral = 5 | |||
| happy = 5 | |||
| barely = 5 | |||
| missed = 5 | |||
| {{{noOfRows|3}}} | |||
}} | |||
|noOfColumns={{#switch: {{{expr|}}} | |||
| neutral = 5 | |||
| happy = 5 | |||
| barely = 5 | |||
| missed = 5 | |||
| {{{noOfColumns|4}}} | |||
}} | |||
|image=File:SaturdaySprites.png | |||
}}</includeonly><noinclude>{{documentation}}</noinclude> |