Template:Sprite/Farmer: Difference between revisions
Jump to navigation
Jump to search
m (Slightly updated sprite positioning) |
m (Slightly adjusted positioning of sprites) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Sprite | <includeonly>{{Sprite | ||
|ratio={{{ratio| | |ratio={{{ratio|1.2}}} | ||
|sheetWidth= | |sheetWidth=184 | ||
|sheetHeight= | |sheetHeight=138 | ||
|row={{#switch: {{{expr|}}} | |row={{#switch: {{{expr|}}} | ||
| | | def = 1 | ||
| | | hum = 1 | ||
| | | cry = 2 | ||
| scared = 3 | | robo = 2 | ||
| scared = 3 | |||
| {{{row|1}}} | | {{{row|1}}} | ||
}} | }} | ||
|col={{#switch: {{{expr|}}} | |col={{#switch: {{{expr|}}} | ||
| | | def = 2.35 | ||
| | | hum = 3.6 | ||
| | | cry = 2.35 | ||
| scared = | | robo = 3 | ||
| {{{col|1 | | scared = 2.35 | ||
| {{{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--> | |||
| def = 3 | |||
| hum = 3 | |||
| cry = 3 | |||
| robo = 3 | |||
| scared = 3 | |||
| {{{noOfRows|3}}} | |||
}} | |||
|noOfColumns={{#switch: {{{expr|}}} | |||
| def = 5 | |||
| hum = 5 | |||
| cry = 5 | |||
| robo = 4 | |||
| scared = 5 | |||
| {{{noOfColumns|4}}} | |||
}} | }} | ||
|image=File:Farmer.png.png | |image=File:Farmer.png.png | ||
}}</includeonly><noinclude>{{documentation}}</noinclude> | }}</includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 13:48, 28 June 2023
This is the template for adding a Farmer to your page!
Type this... | ...get this! |
---|---|
{{Sprite/Farmer|expr=def}} |
|
{{Sprite/Farmer|expr=hum}} |
|
{{Sprite/Farmer|expr=cry}} |
|
{{Sprite/Farmer|expr=robo}} |
|
{{Sprite/Farmer|expr=scared}} |
|
{{Sprite/Farmer|row=1|col=1|ratio=3}} (beeg farmer) |