Editing Template:Item

Jump to navigation Jump to search

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:
<onlyinclude>{|class=pinktable style="max-width:350px;margin-left:{{{margin|30px}}};font-size:11px;text-align:center;border-width:2px;display:inline-block"
+
<onlyinclude><div style="display:inline-block">
!colspan=4 style="text-align:left;font-size:12px;"|<h4>{{#if:{{{link|}}}
+
{|class=pinktable style="width:500px;margin-left:{{{margin|30px}}};font-size:11px;text-align:center;border-width:2px"
|[[{{{link}}}{{!}}{{{name| }}}]]
+
!colspan=5 style="text-align:left;font-size:12px;"|<h4>{{ucfirst:{{{name| }}}}}</h4>
|{{{name| }}}}}</h4>
 
 
|-
 
|-
|colspan=4 |[[File:{{{image|Logo big.png}}}|left|100x100px|link=]] {{ucfirst:{{{desc| }}}}}
+
|colspan=2 style="background-color:#fff;width:100px;border-width:2px;height:100px;"|[[File:{{{image|Logo big.png}}}|100x100px|link=]]
 
+
|colspan=3 valign=top style="text-align:left;text-align:left;padding-left:5px;width:600px;border-width:2px"|{{ucfirst:{{{desc| }}}}}
 
|-
 
|-
!style="width:25%"|[[Loot]]
+
![[Loot]]
|{{#switch: {{{loot|}}}
+
|{{{{{loot|yes}}}}}
|yes={{yes}}
+
!Consume
|no={{no}}
+
|{{{{{consume|no}}}|style=width:60px}}
|#default={{n/a}}}}
+
!Ingredient in Recipes
!style="width:25%"|Consumable
 
|{{#switch: {{{consume|}}}
 
|yes={{yes}}
 
|no={{no}}
 
|#default={{n/a}}}}
 
 
|-
 
|-
![[Crafting Recipes|Craftable]]
+
![[Crafting Recipes|Crafted]]
|{{#switch: {{{craft|}}}
+
|{{{{{craft|no}}}}}
|yes={{yes}}
 
|no={{no}}
 
|#default={{n/a}}}}
 
 
!rowspan=2|[[Alchemy]]
 
!rowspan=2|[[Alchemy]]
|rowspan=2 style="width:25%"|{{{alchemy|Not<br>Convertable}}}
+
|rowspan=2|{{{alchemy|Not Convertable}}}
 +
|rowspan=2 {{n/a|{{{ingredient|N/A}}}|style=width:450px}}
 
|-
 
|-
 
![[Enchanting Recipes|Enchanted]]
 
![[Enchanting Recipes|Enchanted]]
|{{#switch: {{{enchant|}}}
+
|{{{{{enchant|no}}}}}
|yes={{yes}}
 
|no={{no}}
 
|#default={{n/a}}}}
 
 
|-
 
|-
|}</onlyinclude>{{clear}}
+
|}</div></onlyinclude>
{{Documentation}}
+
{|{{Template Explanation}}[[Category:Templates]]
 +
 
 +
===<nowiki>{{Item|name=|image=|desc=}}</nowiki>===
 +
*<code>name=</code> name of item
 +
*<code>image=</code> file-name of image
 +
*<code>desc=</code> adds short description, such as what happens when consumed
 +
 
 +
;Variables you only add when answer is different than default (delete the command otherwise)
 +
:'''note:''' you can also write <code>unknown</code> instead of <code>yes</code> or <code>no</code> when details are ''unknown''
 +
*<code>loot=</code> ''default:yes'' '''only add when item is NOT lootable''', just write <code>loot=no</code>
 +
*<code>craft=</code> ''default:no,'' '''only add when item can be crafted''', just write <code>craft=yes</code>
 +
*<code>enchant=</code> ''default:no,'' '''only add if item is enchanted''', just write <code>enchant=yes</code>
 +
*<code>consume=</code> ''default:no,'' '''only add when item is consumable''', just write <code>consume=yes</code>
 +
*<code>alchemy=</code> ''default:no,'' else you write how much [[Experience]] you get when converting this item
 +
*<code>ingredient=</code> ''default:n/a,'' else you list all the recipes this ingredient is part of
 +
;Optional
 +
*<code>margin=</code> can use this to remove the left side margin <code>margin=none</code>
 +
==See Also==
 +
{{Useful Templates}}
 +
|}

Please note that all contributions to Krafties 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)