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
{| class="wikitable"
|ratio={{{ratio|1}}}
|-
|sheetWidth=225
| <code><nowiki>{{Sprite/SaturdaySprites|expr=neutral}}</nowiki></code> || {{Sprite/Saturday|expr=neutral}}
|sheetHeight=250
|-
|row={{#switch: {{{expr|}}}
| <code><nowiki>{{Sprite/SaturdaySprites|expr=happy}}</nowiki></code> || {{Sprite/Saturday|expr=happy}}
  | neutral = 1
|-
  | happy = 2
| <code><nowiki>{{Sprite/SaturdaySprites|expr=barely}}</nowiki></code> || {{Sprite/Saturday|expr=barely}}
  | barely = 4
|-
  | missed = 5
| <code><nowiki>{{Sprite/SaturdaySprites|expr=missed}}</nowiki></code> || {{Sprite/Saturday|expr=missed}}
  | {{{row|1}}}
|-
}}
| <code><nowiki>{{Sprite/SaturdaySprites|row=1|col=1|ratio=3}}</nowiki></code> (beeg farmer) || {{Sprite/Saturday|row=1|col=1|ratio=3}}
|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>

Latest revision as of 11:42, 1 June 2024