Difference between revisions of "KombatKode"

From Sega Retro

 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><div style="white-space: nowrap; display:inline-block;">{{SpritePassword|spriteimage={{{image|}}}|spritewidth={{{crop_width}}}|spritescale={{{size|2}}}|{{{1}}}}}</div></includeonly><noinclude>Easy template for making Mortal Kombat Kombat Kodes.
+
<includeonly><div style="display: flex; flex-wrap: nowrap; gap: 0.25em; text-align: center;">{{
 +
#vardefine:x1|{{#sub:{{{1}}}|0|1}}}}{{
 +
#vardefine:x2|{{#sub:{{{1}}}|1|1}}}}{{
 +
#vardefine:x3|{{#sub:{{{1}}}|2|1}}}}{{
 +
#vardefine:x4|{{#sub:{{{1}}}|3|1}}}}{{
 +
#vardefine:x5|{{#sub:{{{1}}}|4|1}}}}{{
 +
#vardefine:x6|{{#sub:{{{1}}}|5|1}}}}<div><div>{{
 +
sprite|{{{image}}}|{{{size|2}}}|crop_width={{{crop_width}}}|crop_x={{#expr:{{#var:x1}}*{{{crop_width}}}}}}}</div><div>{{#var:x1}}</div></div><div><div>{{
 +
sprite|{{{image}}}|{{{size|2}}}|crop_width={{{crop_width}}}|crop_x={{#expr:{{#var:x2}}*{{{crop_width}}}}}}}</div><div>{{#var:x2}}</div></div><div><div>{{
 +
sprite|{{{image}}}|{{{size|2}}}|crop_width={{{crop_width}}}|crop_x={{#expr:{{#var:x3}}*{{{crop_width}}}}}}}</div><div>{{#var:x3}}</div></div><div><div>{{
 +
sprite|{{{image}}}|{{{size|2}}}|crop_width={{{crop_width}}}|crop_x={{#expr:{{#var:x4}}*{{{crop_width}}}}}}}</div><div>{{#var:x4}}</div></div><div><div>{{
 +
sprite|{{{image}}}|{{{size|2}}}|crop_width={{{crop_width}}}|crop_x={{#expr:{{#var:x5}}*{{{crop_width}}}}}}}</div><div>{{#var:x5}}</div></div><div><div>{{
 +
sprite|{{{image}}}|{{{size|2}}}|crop_width={{{crop_width}}}|crop_x={{#expr:{{#var:x6}}*{{{crop_width}}}}}}}</div><div>{{#var:x6}}</div></div></div></includeonly><noinclude>Easy template for making Mortal Kombat Kombat Kodes.
  
Now uses [[Template:SpritePassword]] as a base - KombatKode existed first and I'm too lazy to change the usage -[[User:Black Squirrel|Black Squirrel]] ([[User talk:Black Squirrel|talk]]) 12:37, 15 February 2024 (EST)
+
{{KombatKode|123456|image=MortalKombat3 MD KombatCodes Sprites.png|crop_width=13}}
  
{{KombatKode|123456|image=MortalKombat3 MD KombatCodes Sprites.png|crop_width=13}}
+
{{KombatKode|975310|image=MortalKombat3 MD KombatCodes Sprites.png|crop_width=13}}
  
{{KombatKode|975310|image=MortalKombat3 MD KombatCodes Sprites.png|crop_width=13}}[[Category:Templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 14:32, 1 April 2024

Easy template for making Mortal Kombat Kombat Kodes.

MortalKombat3 MD KombatCodes Sprites.png
1
MortalKombat3 MD KombatCodes Sprites.png
2
MortalKombat3 MD KombatCodes Sprites.png
3
MortalKombat3 MD KombatCodes Sprites.png
4
MortalKombat3 MD KombatCodes Sprites.png
5
MortalKombat3 MD KombatCodes Sprites.png
6
MortalKombat3 MD KombatCodes Sprites.png
9
MortalKombat3 MD KombatCodes Sprites.png
7
MortalKombat3 MD KombatCodes Sprites.png
5
MortalKombat3 MD KombatCodes Sprites.png
3
MortalKombat3 MD KombatCodes Sprites.png
1
MortalKombat3 MD KombatCodes Sprites.png
0