Template:Craft: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Trying again on background colors) |
||
(68 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
== {{# | {{Navbox | ||
{| | |name = Craft | ||
| | |title = {{#if:{{{onlyDisassemble|}}}|Disassemble Information|Crafting Information}} | ||
|state = uncollapsed | |||
| | |||
|bodystyle = background:#dddddd; width:100%; vertical-align:middle; border-color: #999966; color:#222222; | |||
|titlestyle = {{#if: {{{onlyDisassemble|}}}|background:#9933CC|background:#996633}}; color:#FFFF99; padding-left:1em; padding-right:1em; text-align:center; | |||
| | |groupstyle = {{#if: {{{onlyDisassemble|}}}|background:#9933CC|background:#996633}}; color:#FFFF99; padding-left:1em; padding-right:1em; text-align:right; font-weight: bold; white-space:nowrap; | ||
|{{{ | |belowstyle = {{#if: {{{onlyDisassemble|}}}|background:#9966FF|background:#FFFFDD}}; color:#C6AA8D; padding-left:1em; padding-right:1em; text-align:center; font-weight: bold; white-space:nowrap; font-size: 0.8em; text-decoration: none; | ||
|{{{Tool| | |||
|} | |group1=Learned from | ||
{| | |list1= {{#if:{{{onlyDisassemble|}}}| | ||
| | |{{#switch:{{{autolearn|}}} | ||
|true = Once you have the appropriate levels in all the required skills | |||
|false = {{#if: {{{book_learn1|}}}|A recipe book|When you disassemble a [[{{{name|}}}]] (if you have the required skills at the appropriate level) }} | |||
| | }} | ||
|{{{ComponentI| | }} | ||
|{{{ToolI| | |||
|} | |group2=Recipe book | ||
<noinclude> | |list2= {{#if: {{{book_learn1|}}}|{{Navbox|child | ||
[[ | | groupstyle = {{#if: {{{onlyDisassemble|}}}|background:#9966FF|background:#999966}}; color:#FFFFCC; padding-left:1em; padding-right:1em; text-align:right; font-weight: bold; white-space:nowrap; | ||
| group1 = Book 1 | |||
| list1 = {{{book_learn1|}}}{{#if: {{{book_learn1|}}}|, once you reach lvl {{{book_learn1_lvl}}} in {{SKtoname1|{{{Skill1|}}}}}|}} | |||
| group2 = Book 2 | |||
| list2 = {{{book_learn2|}}}{{#if: {{{book_learn2|}}}|, once you reach lvl {{{book_learn2_lvl}}} in {{SKtoname1|{{{Skill1|}}}}}|}} | |||
| group3 = Book 3 | |||
| list3 = {{{book_learn3|}}}{{#if: {{{book_learn3|}}}|, once you reach lvl {{{book_learn3_lvl}}} in {{SKtoname1|{{{Skill1|}}}}}|}} | |||
| group4 = Book 4 | |||
| list4 = {{{book_learn4|}}}{{#if: {{{book_learn4|}}}|, once you reach lvl {{{book_learn4_lvl}}} in {{SKtoname1|{{{Skill1|}}}}}|}} | |||
| group5 = Book 5 | |||
| list5 = {{{book_learn5|}}}{{#if: {{{book_learn5|}}}|, once you reach lvl {{{book_learn5_lvl}}} in {{SKtoname1|{{{Skill1|}}}}}|}} | |||
| group6 = Book 6 | |||
| list6 = {{{book_learn6|}}}{{#if: {{{book_learn6|}}}|, once you reach lvl {{{book_learn6_lvl}}} in {{SKtoname1|{{{Skill1|}}}}}|}} | |||
}} }} | |||
|group3=Skills | |||
|list3={{#if: {{{Skill1|}}}|{{Navbox|child | |||
| groupstyle = {{#if: {{{onlyDisassemble|}}}|background:#9966FF|background:#999966}}; color:#FFFFCC; padding-left:1em; padding-right:1em; text-align:right; font-weight: bold; white-space:nowrap; | |||
| group1 = Skill 1 | |||
| list1 = {{SKtoname1|{{{Skill1|}}}}} {{#if: {{{Skill1|}}}|{{{SkillLvl1}}}|}} | |||
| group2 = Skill 2 | |||
| list2 = {{#if: {{{Skill2|}}}|{{SKtoname1|{{{Skill2|}}}}} {{#if: {{{SkillLvl2|}}}|{{{SkillLvl2|}}}|1}}|}} | |||
| group3 = Skill 3 | |||
| list3 = {{#if: {{{Skill3|}}}|{{SKtoname1|{{{Skill3|}}}}} {{#if: {{{SkillLvl3|}}}|{{{SkillLvl3|}}}|1}}|}} | |||
| group4 = Skill 4 | |||
| list4 = {{#if: {{{Skill4|}}}|{{SKtoname1|{{{Skill4|}}}}} {{#if: {{{SkillLvl4|}}}|{{{SkillLvl4|}}}|1}}|}} | |||
| group5 = Skill 5 | |||
| list5 = {{#if: {{{Skill5|}}}|{{SKtoname1|{{{Skill5|}}}}} {{#if: {{{SkillLvl5|}}}|{{{SkillLvl5|}}}|1}}|}} | |||
| group6 = Skill 6 | |||
| list6 = {{#if: {{{Skill6|}}}|{{SKtoname1|{{{Skill6|}}}}} {{#if: {{{SkillLvl6|}}}|{{{SkillLvl6|}}}|1}}|}} | |||
}} }} | |||
|group4=Tools | |||
|list4={{#if: {{{Tool|}}}|{{Navbox|child | |||
| groupstyle = {{#if: {{{onlyDisassemble|}}}|background:#9966FF|background:#999966}}; color:#FFFFCC; padding-left:1em; padding-right:1em; text-align:right; font-weight: bold; white-space:nowrap; | |||
| group1 = Tool 1 | |||
| list1 = {{{Tool|}}} | |||
| group2 = Tool 2 | |||
| list2 = {{{Tool2|}}} | |||
| group3 = Tool 3 | |||
| list3 = {{{Tool3|}}} | |||
| group4 = Tool 4 | |||
| list4 = {{{Tool4|}}} | |||
| group5 = Tool 5 | |||
| list5 = {{{Tool5|}}} | |||
| group6 = Tool 6 | |||
| list6 = {{{Tool6|}}} | |||
}} }} | |||
|group5=Components | |||
|list5={{#if: {{{ComponentR|}}}|{{Navbox|child | |||
| groupstyle = {{#if: {{{onlyDisassemble|}}}|background:#9966FF|background:#999966}}; color:#FFFFCC; padding-left:1em; padding-right:1em; text-align:right; font-weight: bold; white-space:nowrap; | |||
| group1 = Comp. 1 | |||
| list1 = {{{ComponentR|}}} | |||
| group2 = Comp. 2 | |||
| list2 = {{{ComponentR2|}}} | |||
| group3 = Comp. 3 | |||
| list3 = {{{ComponentR3|}}} | |||
| group4 = Comp. 4 | |||
| list4 = {{{ComponentR4|}}} | |||
| group5 = Comp. 5 | |||
| list5 = {{{ComponentR5|}}} | |||
| group6 = Comp. 6 | |||
| list6 = {{{ComponentR6|}}} | |||
| group7 = Comp. 7 | |||
| list7 = {{{ComponentR7|}}} | |||
| group8 = Comp. 8 | |||
| list8 = {{{ComponentR8|}}} | |||
| group9 = Comp. 9 | |||
| list9 = {{{ComponentR9|}}} | |||
| group10 = Comp. 10 | |||
| list10 = {{{ComponentR10|}}} | |||
}} }} | |||
|group6=Crafting time | |||
|list6={{#if: {{{time|}}}|{{craftingtime|{{{time|0}}}}} }} | |||
|bodycolor=background:#333333; | |||
|group7=Can be disassembled? | |||
|list7={{#switch:{{{reversible|}}} | |||
|true=Yes{{#if: {{{decomp_learn|}}}|, and it'll also give you {{{decomp_learn|}}} experience points towards all the used skills when disassembling it }} | |||
|false=No | |||
|#default= | |||
}} | |||
|group8=Can only be disassembled? | |||
|list8={{#if:{{{onlyDisassemble|}}}|Can only be disassembled|}} | |||
|group9=Component in | |||
|list9={{{ComponentI|}}} | |||
|group10=Tool for | |||
|list10={{{ToolI|}}} | |||
|below={{#if: {{{name|}}}|[{{fullurl:Crafting/{{{name|}}}|action=edit}} Edit this recipe] | [{{fullurl:Crafting/{{lc:{{PAGENAME}}}}|action=edit}} Edit this recipe]}} | |||
}}<noinclude> | |||
WARNING: If you are going to use this template in Crafting\ pages, please type the name of the good in the name of the page in lowercase, otherwise it won't work; | |||
If the item can only be disassembled, set 'onlyDisassemble' to 1, and 'reversible' to 'true'. This will change the color of the template, and add the text that it can only be disassembled. | |||
[[category:navbox templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 01:11, 22 February 2021
|
WARNING: If you are going to use this template in Crafting\ pages, please type the name of the good in the name of the page in lowercase, otherwise it won't work;
If the item can only be disassembled, set 'onlyDisassemble' to 1, and 'reversible' to 'true'. This will change the color of the template, and add the text that it can only be disassembled.