Template:MscTileInf: Difference between revisions

From MegaManMaker Wiki
Jump to navigation Jump to search
Added comprehensive use guide
mNo edit summary
 
Line 1: Line 1:
<includeonly><span style="image-rendering:pixelated;">{{#ifexpr:{{{1|1}}}=1and{{{2|0}}}=0|[[File:Ice.png|sub|This tileset uses ice physics]]|}}{{#ifexpr:{{{2|0}}}=1and{{{2|0}}}-{{{1|1}}}=1|[[File:Animated.gif|sub|This tileset uses a{{#if:{{{3|}}}|&nbsp;{{{3|}}} frame animation|n animation}}]]|}}{{#ifexpr:{{{1|0}}}=1and{{{2|0}}}=1|[[File:FlashTileAnimated.gif|sub|This tileset has ice physics and a{{#if:{{{3|}}}|&nbsp;{{{3|}}} frame animation|n animation}}]]|}}</span></includeonly><noinclude>Extremely simple template to indicate tiles that either use ice physics, are animated, or both. Hovering over the icon next a tile's name produces a description of the tile's special properties.
<includeonly><span style="image-rendering:pixelated;">{{#ifexpr:{{{1|1}}}=1and{{{2|0}}}=0|[[File:Ice.png|sub|This tileset uses ice physics]]|}}{{#ifexpr:{{{2|0}}}=1and{{{2|0}}}-{{{1|1}}}=1|[[File:Animated.gif|sub|This tileset uses a{{#if:{{{3|}}}|&nbsp;{{{3|}}} frame animation|n animation}}]]|}}{{#ifexpr:{{{1|0}}}=1and{{{2|0}}}=1|[[File:FlashTileAnimated.gif|sub|This tileset has ice physics and a{{#if:{{{3|}}}|&nbsp;{{{3|}}} frame animation|n animation}}]]|}}</span></includeonly><noinclude>Extremely simple template to indicate tiles that either use ice physics, are animated, or both. Hovering over the icon next to a tile's name produces a description of the tile's special properties.


Alternate template name is <code>Ice</code>.
Alternate template name is <code>Ice</code>.

Latest revision as of 00:01, 11 August 2024

Extremely simple template to indicate tiles that either use ice physics, are animated, or both. Hovering over the icon next to a tile's name produces a description of the tile's special properties.

Alternate template name is Ice.

Parameters

  • Whether the tile has ice physics (1 if true, 0 if false)
  • Whether tile is animated (1 if true, 0 if false)
  • The number of unique frames for an animated tile

Setting no parameters will default to just ice physics.

Examples

Usage Code Look
Ice physics (default)
Some Tile 1 {{MscTileInf}}
Some Tile 1 {{Ice}}
Some Tile 1 This tileset uses ice physics
Ice physics
Not animated
Some Tile 2 {{MscTileInf|1}}
Some Tile 2 {{Ice|1}}
Some Tile 2 This tileset uses ice physics
Ice physics
Animated
No number of frames mentioned
Some Tile 3 {{MiscTileInf|1|1}}
Some Tile 3 {{Ice|1|1}}
Some Tile 3 This tileset has ice physics and an animation
No ice physics
Animated
No number of frames mentioned
Some Tile 4 {{MscTileInf|0|1}}
Some Tile 4 {{Ice|0|1}}
Some Tile 4 This tileset uses an animation
Ice physics
Animated
Number of frames mentioned
Some Tile 5 {{MscTileInf|0|1|3}}
Some Tile 5 {{Ice|0|1|3}}
Some Tile 5 This tileset uses a 3 frame animation
No ice physics
Animated
Number of frames mentioned
Some Tile 6 {{MscTileInf|1|1|3}}
Some Tile 6 {{Ice|1|1|3}}
Some Tile 6 This tileset has ice physics and a 3 frame animation