Template:Sprite/Buro: Difference between revisions

Jump to navigation Jump to search
m (Transcluded documentation)
m (Changed expression name "default" to be "def" for easier inclusion)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Sprite
<includeonly>{{Sprite
  |ratio={{{ratio|1.2}}}
  |ratio={{{ratio|1.2}}}
  |sheetWidth=400 <!--this entire sprite template is a test because they're centered weirdly and it needs to be kept intact while also looking good enough for pages-->
  |sheetWidth=400  
  |sheetHeight=1120
  |sheetHeight=1120
  |row={{#switch: {{{expr|}}}
  |row={{#switch: {{{expr|}}}
   | default = 1.6
   | def = 1.6
   | shake = 18.8
   | shake = 18.8
   | skate = 8.8
   | skate = 8.8
   | skateyay = 10.1
   | skateyay = 10.1
   | skateslip = 12.7
   | skateslip = 12.6
   | dskate = 13.8
   | dskate = 13.8
   | dskateyay = 15.1
   | dskateyay = 15.1
   | dskateslip = 17.7
   | dskateslip = 17.6
   | floorsob = 20
   | floorsob = 20
   | chase = 2
   | chase = 2
Line 19: Line 19:
  }}
  }}
  |col={{#switch: {{{expr|}}}
  |col={{#switch: {{{expr|}}}
   | default = 1
   | def = 1
   | shake = 7.7
   | shake = 7.7
   | skate = 1
   | skate = 1
Line 34: Line 34:
  }} <!-- "noOfRows" and "noOfColumns" are switched for every expression in order to center them properly without losing integrity of the overall template-->
  }} <!-- "noOfRows" and "noOfColumns" are switched for every expression in order to center them properly without losing integrity of the overall template-->
  |noOfRows={{#switch: {{{expr|}}}
  |noOfRows={{#switch: {{{expr|}}}
   | default = 25
   | def = 25
   | shake = 20
   | shake = 20
   | skate = 20
   | skate = 20
Line 49: Line 49:
  }}
  }}
  |noOfColumns={{#switch: {{{expr}}}
  |noOfColumns={{#switch: {{{expr}}}
   | default = 9
   | def = 9
   | shake = 9
   | shake = 9
   | skate = 9
   | skate = 9

Latest revision as of 11:30, 26 June 2023