|
|
Line 1: |
Line 1: |
− | {{#vardefine:item|{{#explode:Recipe: Campfire|:|1}}}}
| + | {{#ask: [[Has reward::?;Experience]]|format=template|template=ListBody}} |
− | | |
− | {{#if:{{#show:{{#var:item}}|?Has icon}}|<!-- if base item has an icon
| |
− | -->{{#if:{{{small|YES FOR NOW}}}|<!-- if small (25px) icon -->
| |
− | <span class="{{{1|quality-common}}}">[[File:{{#show:{{#ask:[[Has learned from::Recipe: {{#var:item}}]]|link=none}}|?Has profession}} Recipe.png|25px|link=Recipe: {{#var:item}}]]</span><!-- size too small for diagonal trick
| |
− | -->|<!-- else big (85px) item -->
| |
− | <div class="recipe-img">
| |
− | <span class="{{{1|quality-common}}}" style="position:absolute;">[[File:Recipe Background.png|85px]]</span>
| |
− | <span style="position: absolute; padding-left: 22px">[[File:{{#show:{{#ask:[[Has learned from::Recipe: {{#var:item}}]]|link=none}}|?Has profession}} Recipe.png|63px]]</span>
| |
− | <span style="padding-left: 3px; -webkit-clip-path: polygon(0% -30px, 0% 305%, 100% 310%); clip-path: polygon(0% -30px, 0% 305%, 100% 310%);">[[File:{{#var:item}}.png|80px]]</span>
| |
− | </div>}}|[[File:{{#replace:{{#titleparts:{{#var:item}}}}|:|-}}.png|Upload {{#var:item}} icon.]]<!-- if base item does not have an icon
| |
− | -->}}
| |
Revision as of 13:54, 13 January 2024