Editing Recipe icon

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 1: Line 1:
<includeonly>{{#vardefine:recipe|{{#ask:[[Has learned from::{{{1|{{PAGENAME}}}}}]]|link=none}}}}<!-- define recipe link (including subobject)
+
<includeonly>{{#vardefine:item|{{#explode:{{{1|{{PAGENAME}}}}}|:|1}}}}<!-- define base item (removes 'Recipe: ')
-->{{#vardefine:item|{{#explode:{{#var:recipe}}|#|0}}}}<!-- define item (not including subobject)
 
 
 
 
-->{{#if:{{{small|}}}<!-- if small (25px) icon
 
-->{{#if:{{{small|}}}<!-- if small (25px) icon
 
-->|{{#if:{{#show:{{#var:item}}|?Has icon}}|<!-- if base item has an icon -->
 
-->|{{#if:{{#show:{{#var:item}}|?Has icon}}|<!-- if base item has an icon -->
<span class="{{{quality|quality-common}}}">[[File:{{#show:{{#var:recipe}}|?Has profession}} Recipe.png|25px|link={{{1|{{PAGENAME}}}}}]]</span><!-- size too small for diagonal trick
+
<span class="{{{quality|quality-common}}}">[[File:{{#show:{{#ask:[[Has learned from::{{{1|{{PAGENAME}}}}}]]|link=none}}|?Has profession}} Recipe.png|25px|link={{{1|{{PAGENAME}}}}}]]</span><!-- size too small for diagonal trick
-->|[[File:{{#show:{{#var:recipe}}|?Has profession}} Recipe.png|?]]}}<!-- else base item does not have an icon
+
-->|[[File:{{#show:{{#ask:[[Has learned from::{{{1|{{PAGENAME}}}}}]]|link=none}}|?Has profession}} Recipe.png|?]]}}<!-- else base item does not have an icon
 
-->|{{#if:{{#show:{{#var:item}}|?Has icon}}|<!-- else (85px) if base item has an icon -->
 
-->|{{#if:{{#show:{{#var:item}}|?Has icon}}|<!-- else (85px) if base item has an icon -->
 
<div class="recipe-img">
 
<div class="recipe-img">
 
<span class="{{{quality|quality-common}}}" style="position:absolute;">[[File:Recipe Background.png|85px]]</span>
 
<span class="{{{quality|quality-common}}}" style="position:absolute;">[[File:Recipe Background.png|85px]]</span>
<span style="position: absolute; padding-left: 32px">[[File:{{#show:{{#var:recipe}}|?Has profession}} Recipe.png|56px]]</span>
+
<span style="position: absolute; padding-left: 32px">[[File:{{#show:{{#ask:[[Has learned from::{{{1|{{PAGENAME}}}}}]]|link=none}}|?Has profession}} Recipe.png|56px]]</span>
 
<span style="padding-left: 3px; -webkit-clip-path: polygon(0% -30px, 0% 305%, 100% 310%, 100% 230%, 15% -165%); clip-path: polygon(0% -30px, 0% 305%, 100% 310%, 100% 230%, 15% -165%);">[[File:{{#var:item}}.png|80px]]</span>
 
<span style="padding-left: 3px; -webkit-clip-path: polygon(0% -30px, 0% 305%, 100% 310%, 100% 230%, 15% -165%); clip-path: polygon(0% -30px, 0% 305%, 100% 310%, 100% 230%, 15% -165%);">[[File:{{#var:item}}.png|80px]]</span>
 
</div><!--
 
</div><!--
 
-->|[[File:{{#replace:{{#titleparts:{{#var:item}}}}|:|-}}.png|Upload {{#var:item}} icon.]]}}<!-- else base item does not have an icon
 
-->|[[File:{{#replace:{{#titleparts:{{#var:item}}}}|:|-}}.png|Upload {{#var:item}} icon.]]}}<!-- else base item does not have an icon
 
-->}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>
 
-->}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>

Please note that all contributions to Corepunk Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page: