Changes

Jump to: navigation, search

Template:MaterialText

87 bytes added, 2 months ago
Optimize?
<includeonly>{{#switchvardefine:{{{1|}}}image
| Bells = {{#vardefineswitch:image{{{1|Bells}}}
| Bells = Bells
| Caps = {{#vardefine:image|Caps}}
| Caps = Caps
| Leaf Ticket = {{#vardefine:image|Leaf_Ticket}}
| #default = {{#vardefine:image|{{#cargo_query:tables=Entities|fields=Image|where=_pageName="{{{1|}}}"|default=Error-image|no html}}}}
| = Error-image
}}[[File:{{#var:image}}.png|24px|link={{{1|}}}]] {{#if:{{{link|}}} | [[{{{1|}}}]] | {{{1|}}}
| #default =
}}</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>
{{#var:{{{1|}}}.Image
| {{#vardefineecho:{{{1|}}}.Image
| #default = {{#vardefine:image | {{#cargo_query:tables=Entities|fields=Image|where=_pageName="{{{1|}}}"|default=Error-image|no html}}}}
}}
}}
}}
}}[[File:{{#var:image}}.png|24px|link={{{1|}}}]] {{#if:{{{link|}}} | [[{{{1|}}}]] | {{{1|}}} }}</includeonly><noinclude>
}}</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>
</noinclude>
9,684

edits