Difference between revisions of "Template:InlineGrid"

From Industrial-Craft-Wiki
Jump to: navigation, search
(Testing out an idea)
 
m
Line 1: Line 1:
{{#if: {{{name|}}}|<span
+
{{#if: {{{name|}}}|<span class="tooltip" title="{{{tooltip|{{{name}}}}}}">[[File:Grid {{{name}}}.png|32px|link={{#ifeq:{{{link|}}}|None||{{{link|{{{name}}}}}}}}|class=crafting-grid-image]]
class="crafting-grid-div"
 
><span 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}}">{{#ifeq:{{{link|}}}|None|{{{number}}}{{#if: {{{percent|}}} | %}}|[[{{{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>}}
</span></span>|<!--Nothing has been provided-->}}<noinclude></noinclude>
+
</span>|<!--Nothing has been provided-->}}<noinclude></noinclude>

Revision as of 21:38, 1 December 2016