Editing Item info
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 55: | Line 55: | ||
-->|<span class="{{#var:quality class}}">[[File:{{{icon}}}|85px]]</span><!-- use provided icon | -->|<span class="{{#var:quality class}}">[[File:{{{icon}}}|85px]]</span><!-- use provided icon | ||
-->|{{#ifeq:{{#explode:{{PAGENAME}}|:|0}}|Recipe<!-- if the item is a recipe | -->|{{#ifeq:{{#explode:{{PAGENAME}}|:|0}}|Recipe<!-- if the item is a recipe | ||
− | -->|{{Recipe icon| | + | -->|{{Recipe icon|{{#var:quality class}}}}<!-- use the recipe icon template |
-->|{{#vardefine:defaultIcon|File:{{#replace:{{#titleparts:{{PAGENAME}}}}|:|-}}.png}}<!-- else use default icon | -->|{{#vardefine:defaultIcon|File:{{#replace:{{#titleparts:{{PAGENAME}}}}|:|-}}.png}}<!-- else use default icon | ||
-->{{#ifexist:{{#var:defaultIcon}}<!-- if default icon exists | -->{{#ifexist:{{#var:defaultIcon}}<!-- if default icon exists |