Difference between revisions of "Template:MaterialText"

From Animal Crossing: Pocket Camp Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{#ifeq:{{{1|}}}|Bells|{{#vardefine:image|[[File:Bells.png|24px|link={{{1|}}}]]}}|{{#ifeq:{{{1|}}}|Caps|{{#vardefine:image|[[File:Caps.png|24px|link={{{1|}}}]]}}|{{#ifeq:{{{1|}}}|Leaf Ticket|{{#vardefine:image|[[File:Leaf_Ticket.png|24px|link={{{1|}}}]]}}|{{#vardefine:image|[[File:Moo_-_Mr._Resetti.jpg|24px|link={{{1|}}}]]}}}}}}}}{{#ifeq:{{#cargo_query:tables=CraftMaterials|where=_pageName="{{{1|}}}"|default=No}} | No | | {{#vardefine:image|[[File:{{#cargo_query:tables=CraftMaterials|fields=Image|where=_pageName="{{{1|}}}"|no html}}.png|24px|link={{{1|}}}]]}}}}{{#ifeq:{{#cargo_query:tables=Collectibles|where=_pageName="{{{1|}}}"|default=No}} | No | | {{#vardefine:image|[[File:{{#cargo_query:tables=Collectibles|fields=Image|where=_pageName="{{{1|}}}"|no html}}.png|60px|link={{{1|}}}]]}}}}{{#ifeq:{{#cargo_query:tables=GardenCreatures|where=_pageName="{{{1|}}}"|default=No}} | No | | {{#vardefine:image|[[File:{{#cargo_query:tables=GardenCreatures|fields=Image|where=_pageName="{{{1|}}}"|no html}}.png|60px|link={{{1|}}}]]}}}}{{#ifeq:{{#cargo_query:tables=FishingTourneyCreatures|where=_pageName="{{{1|}}}"|default=No}} | No | | {{#vardefine:image|[[File:{{#cargo_query:tables=FishingTourneyCreatures|fields=Image|where=_pageName="{{{1|}}}"|no html}}.png|60px|link={{{1|}}}]]}}}}{{#ifeq:{{#cargo_query:tables=Flowers|where=_pageName="{{{1|}}}"|default=No}} | No | | {{#vardefine:image|[[File:{{#cargo_query:tables=Flowers|fields=Image|where=_pageName="{{{1|}}}"|no html}}.png|24px|link={{{1|}}}]]}}}}{{#ifeq:{{#cargo_query:tables=Seeds|where=_pageName="{{{1|}}}"|default=No}} | No | | {{#vardefine:image|[[File:{{#cargo_query:tables=Seeds|fields=Image|where=_pageName="{{{1|}}}"|no html}}.png|24px|link={{{1|}}}]]}}}}{{#ifeq:{{#cargo_query:tables=Furniture|where=_pageName="{{{1|}}}"|default=No}} | No | | {{#vardefine:image|[[File:{{#cargo_query:tables=Furniture|fields=Image|where=_pageName="{{{1|}}}"|no html}}.png|24px|link={{{1|}}}]]}}}}{{#ifeq:{{#cargo_query:tables=Tools|where=_pageName="{{{1|}}}"|default=No}} | No | | {{#vardefine:image|[[File:{{#cargo_query:tables=Tools|fields=Image|where=_pageName="{{{1|}}}"|no html}}.png|24px|link={{{1|}}}]]}}}}{{#var:image}} {{#if:{{{link|}}} | [[{{{1|}}}]] | {{{1|}}} }}</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>
+
<includeonly>{{#ifeq:{{{1|}}}|Bells|{{#vardefine:image|[[File:Bells.png|24px|link={{{1|}}}]]}}|{{#ifeq:{{{1|}}}|Caps|{{#vardefine:image|[[File:Caps.png|24px|link={{{1|}}}]]}}|{{#ifeq:{{{1|}}}|Leaf Ticket|{{#vardefine:image|[[File:Leaf_Ticket.png|24px|link={{{1|}}}]]}}|{{#vardefine:image|[[File:Moo_-_Mr._Resetti.jpg|24px|link={{{1|}}}]]}}}}}}}}{{#ifeq:{{#cargo_query:tables=CraftMaterials|where=_pageName="{{{1|}}}"|default=No}} | No | | {{#vardefine:image|[[File:{{#cargo_query:tables=CraftMaterials|fields=Image|where=_pageName="{{{1|}}}"|no html}}.png|24px|link={{{1|}}}]]}}}}{{#ifeq:{{#cargo_query:tables=Collectibles|where=_pageName="{{{1|}}}"|default=No}} | No | | {{#vardefine:image|[[File:{{#cargo_query:tables=Collectibles|fields=Image|where=_pageName="{{{1|}}}"|no html}}.png|24px|link={{{1|}}}]]}}}}{{#ifeq:{{#cargo_query:tables=GardenCreatures|where=_pageName="{{{1|}}}"|default=No}} | No | | {{#vardefine:image|[[File:{{#cargo_query:tables=GardenCreatures|fields=Image|where=_pageName="{{{1|}}}"|no html}}.png|24px|link={{{1|}}}]]}}}}{{#ifeq:{{#cargo_query:tables=FishingTourneyCreatures|where=_pageName="{{{1|}}}"|default=No}} | No | | {{#vardefine:image|[[File:{{#cargo_query:tables=FishingTourneyCreatures|fields=Image|where=_pageName="{{{1|}}}"|no html}}.png|24px|link={{{1|}}}]]}}}}{{#ifeq:{{#cargo_query:tables=Flowers|where=_pageName="{{{1|}}}"|default=No}} | No | | {{#vardefine:image|[[File:{{#cargo_query:tables=Flowers|fields=Image|where=_pageName="{{{1|}}}"|no html}}.png|24px|link={{{1|}}}]]}}}}{{#ifeq:{{#cargo_query:tables=Seeds|where=_pageName="{{{1|}}}"|default=No}} | No | | {{#vardefine:image|[[File:{{#cargo_query:tables=Seeds|fields=Image|where=_pageName="{{{1|}}}"|no html}}.png|24px|link={{{1|}}}]]}}}}{{#ifeq:{{#cargo_query:tables=Furniture|where=_pageName="{{{1|}}}"|default=No}} | No | | {{#vardefine:image|[[File:{{#cargo_query:tables=Furniture|fields=Image|where=_pageName="{{{1|}}}"|no html}}.png|24px|link={{{1|}}}]]}}}}{{#ifeq:{{#cargo_query:tables=Tools|where=_pageName="{{{1|}}}"|default=No}} | No | | {{#vardefine:image|[[File:{{#cargo_query:tables=Tools|fields=Image|where=_pageName="{{{1|}}}"|no html}}.png|24px|link={{{1|}}}]]}}}}{{#var:image}} {{#if:{{{link|}}} | [[{{{1|}}}]] | {{{1|}}} }}</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>

Revision as of 21:01, 16 March 2018