Difference between revisions of "Template:Grid"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m (Oh, not work. That'd do it)
m (Fixed it so icons can just not link anywhere)
Line 1: Line 1:
{{#if: {{{name|}}}|<div  
{{#if: {{{name|}}}|<div  
class="crafting-grid-div"
class="crafting-grid-div"
><div class="tooltip" title="{{{tooltip|{{{name}}}}}}">[[File:Grid {{{name}}}.png|32px|link={{{link|{{{name}}}}}}|class=crafting-grid-image]]
><div class="tooltip" title="{{{tooltip|{{{name}}}}}}">[[File:Grid {{{name}}}.png|32px|link={{#ifeq:{{{link|}}}|None||{{{link|{{{name}}}}}}}}|class=crafting-grid-image]]
{{#if: {{{number|}}}  |<span class="secret-link {{#if: {{{percent|}}} | crafting-grid-percentage | crafting-grid-number}}">[[{{{link|{{{name}}}}}}{{!}}{{{number}}}{{#if: {{{percent|}}} | %}}]]</span>}}
{{#if: {{{number|}}}  |<span class="secret-link {{#if: {{{percent|}}} | crafting-grid-percentage | crafting-grid-number}}">{{#ifeq:{{{link|}}}|None|{{{number}}}{{#if: {{{percent|}}} | %}}|[[{{{link|{{{name}}}}}}{{!}}{{{number}}}{{#if: {{{percent|}}} | %}}]]}}</span>}}
</div></div>|<!--Nothing has been provided-->}}<noinclude>{{Documentation}}</noinclude>
</div></div>|<!--Nothing has been provided-->}}<noinclude>{{Documentation}}</noinclude>

Revision as of 17:44, 9 March 2015

Template-info.png Documentation

These grid templates mimic how various menus in the game look using CSS, and allow you to modify them with different items in each cell.

Available grids[edit]

Back-end Stuff[edit]

The above documentation is transcluded from Template:Grid/doc. (edit | history)