Anonymous user
Template:BlockSprite: Difference between revisions
m
no edit summary
imported>Ttv pedro270707 mNo edit summary |
imported>Ttv pedro270707 mNo edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ #vardefine:invoke|{{#invoke:Sprite|get|data=BlockSprite|id={{{1|}}}}} }}{{#if: {{{link|}}} | {{#ifeq: {{{link|}}} | y | [[{{{1|}}}{{!}}{{#var:invoke}} {{ | <includeonly>{{ #vardefine:invoke|{{#invoke:Sprite|get|data=BlockSprite|id={{{1|}}}|size=16}} }}<!-- | ||
-->{{#vardefine:name|{{#ifeq: {{boolean|{{{name|}}}|string=y}} | y | {{{1|}}} | {{#ifeq: {{boolean|{{{name|}}}|string=y}} | n | | {{{name|}}} }} }} }}<!-- | |||
-->{{#if: {{{link|}}} | {{#ifeq: {{boolean|{{{link|}}}|string=y}} | y | [[{{{1|}}}{{!}}{{#var:invoke}} {{#var:name}}]] | {{#ifeq: {{boolean|{{{link|}}}|string=y}} | n | {{#var:invoke}} {{#var:name}} | [[{{{link|}}}{{!}}{{#var:invoke}} {{#var:name}}]] }} }} | {{#var:invoke}} {{#var:name}}}}</includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
<!-- Put categories on the documentation page --> | <!-- Put categories on the documentation page --> | ||
</noinclude> | </noinclude> |