Template:Grid/Crafting Square Numbers: Difference between revisions

m (1 revision)
 
No edit summary
Line 1: Line 1:
<includeonly>{{#ifexpr: {{ #if: {{{1|}}} | {{{1}}} | 1 }} > 9 |<span class="{{{3|}}}2">{{Sprite
<includeonly>{{#ifexpr: {{ #if: {{{1|}}} | {{{1}}} | 1 }} > 9 |<span class="{{{3|}}}2">{{Sprite |pos={{ #expr: floor ( {{{1}}} / 10 ) }} |link={{{2|}}} |image=GridNumbersCSS.png |sheetsize=64}}</span>}}{{#ifexpr: {{ #if: {{{1|}}} | {{{1}}} | 1 }} < 2 ||<span class="{{{3|}}}" style="position:absolute; left:12px;">{{Sprite |pos={{ #expr: (({{{1}}} - 1) mod 10) + 1 }} |link={{{2|}}} |image=GridNumbersCSS.png |sheetsize=64}}</span>}}</includeonly><noinclude>{{/doc}}[[Category:Image templates|C]]</noinclude>
|pos={{ #expr: floor ( {{{1}}} / 10 ) }}
|link={{{2|}}}
|image=GridNumbersCSS.png
|sheetsize=64
}}</span>}}
{{#ifexpr: {{ #if: {{{1|}}} | {{{1}}} | 1 }} < 2 ||<span class="{{{3|}}}" style="position:absolute; left:12px;">{{Sprite
|pos={{ #expr: (({{{1}}} - 1) mod 10) + 1 }}
|link={{{2|}}}
|image=GridNumbersCSS.png
|sheetsize=64
}}</span>}}</includeonly><noinclude>
{{/doc}}
 
[[Category:Image templates|C]]
</noinclude>

Revision as of 20:51, 22 November 2012

Shows a number suitable for overlaying crafting square items.

The number 1 is not shown, {{Grid/Crafting Square Numbers|1}} gives  (grey border for clarification)

long numbers are supported: {{Grid/Crafting Square Numbers|64}} gives

GridNumbersCSS.png
GridNumbersCSS.png

.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis