ManuInfo: Difference between revisions
Jump to navigation
Jump to search
(Undo revision 29276 by Psihokiller4 (Talk)) |
(Undo revision 29277 by Psihokiller4 (Talk)) |
||
Line 1: | Line 1: | ||
<includeonly>{{ | |||
#switch: {{{skill}}} | |||
|Summoning = | |||
|#default = [[Image:{{{item|default item image}}}.png]]<br /> | |||
}}{{ | |||
#if: {{{desc|}}} | | |||
{{{desc}}} | |||
}} | |||
==={{{ingstitle|Ingredients}}}=== | |||
* UNKNOWN | |||
==={{{manutitle|Manufacturing information}}}=== | |||
Recommended {{#switch: {{{skill}}} | |||
| Weapons = [[:Category:Manufacturing|Manufacturing]] | |||
| Armour = [[:Category:Manufacturing|Manufacturing]] | |||
| Items = [[:Category:Manufacturing|Manufacturing]] | |||
| #default = [[:Category:{{{skill}}}|{{{skill}}}]] | |||
}} level: {{{lvl|}}}<br /> | |||
Base {{#switch: {{{skill}}} | |||
| Weapons = Manufacturing | |||
| Armour = Manufacturing | |||
| Items = Manufacturing | |||
| #default = {{{skill}}} | |||
}} experience given: {{{exp}}}<br /> | |||
Required tools: {{#if: {{{tool|}}} | | |||
* [[Image:{{{tool}}}.png|25px]] [[{{{tool}}}]]<br />| * <span style="color:green">None</span>}}{{ | |||
#if: {{{tool2|}}} | | |||
* [[Image:{{{tool2}}}.png|25px]] [[{{{tool2}}}]]<br />}} | |||
Knowledge required: {{ #if: {{{know|}}} | | |||
* {{ | |||
#if: {{{bookpic|}}} | [[Image:{{{bookpic}}}.png|25px]] }} [[{{{know}}}|{{{know}}}]]<br />| * <span style="color:green">None</span> <br />}} | |||
Required nexus: {{ | |||
#if: {{{nexus|}}} | | |||
* [[{{{nexus}}}_Nexus#{{{nexus}}} {{{nexuslvl}}}|{{{nexus}}}: {{{nexuslvl}}}]]| * <span style="color:green">None</span> <br />}}{{ | |||
#if: {{{nexus2|}}} | | |||
* [[{{{nexus2}}}_Nexus#{{{nexus2}}} {{{nexus2lvl}}}|{{{nexus2}}}: {{{nexus2lvl}}}]]}} | |||
{{#if: {{{food|}}} |Food subtracted: {{{food}}}<br />}}{{ | |||
#if: {{{mana|}}} |Mana subtracted: {{{mana}}}<br />}}</includeonly> | |||
<noinclude> | |||
== ManuInfo template == | |||
=== Purpose === | |||
This template's purpose is to offer a uniform way to create the manufacturing information section for items, hopefully allowing for easy changes in the future as well as customization. | |||
* This template does not include the weight and stackability of items as that's not related to the manufacturing of an item. | |||
=== Parameters === | |||
* '''item''': Name of the item (capitalization, spacing etc. as the wiki-page-name); ''mandatory'' | |||
* '''desc''': Description, will be added between the image and the list of ingredients; ''optional'' | |||
* '''ingstitle''': Subtitle for the list of ingredients, defaults to "Ingredients"; ''optional'' | |||
* '''manutitle''': Subtitle for the manufacturing details, defaults to "Manufacturing information"; ''optional'' | |||
* '''skill''': Skill that '''item''' belongs to, please provide ''Weapons'', ''Armour'' and ''Items'' respectively, if the item is in those subdirectories, the template will replace them automatically with ''Manufacturing''; ''mandatory'' | |||
* '''exp''': base experience given, defaults to empty | |||
* '''lvl''': recommended skill level, defaults to empty | |||
* '''know''': required knowledge, i.e. the link will be made to ''know|know''; ''optional'' | |||
* '''bookpic''': book image; ''optional'' (if knowledge is required you must enter this line but you can leave it empty) | |||
* '''nexus''': required nexus; ''optional'' | |||
* '''nexuslvl''': level of the required nexus; ''optional'' | |||
* '''nexus2''': second required nexus; ''optional'' | |||
* '''nexus2lvl''': level of the second required nexus; ''optional'' | |||
* '''food''': Food cost; ''optional'' | |||
* '''mana''': Mana cost; ''optional'' | |||
* '''tool''': tool needed to make; ''optional'' | |||
* '''tool2''': second tool needed to make; ''optional'' | |||
* '''ing1''': Name of the first ingredient, see ''item'' above; ''mandatory'' | |||
* '''ing1amount''': Amount of first item needed in recipe, defaults to 1 if ingredient is not empty, else to empty. | |||
* '''ing2'''...'''ing6''': same as ''ing1'' above for second through sixth ingredient, but ''optional''. | |||
* '''ing2amount'''...'''ing6amount''': same as ''ing1amount'' above for second through sixth ingredient, but ''optional''. | |||
=== Usage === | |||
Copy and paste the code below, fill in the necessary information, remove unused parameters, preview, save. | |||
<pre><nowiki> | |||
{{ManuInfo | |||
|manutitle = | |||
|ingstitle = | |||
|item = | |||
|desc = | |||
|skill = | |||
|exp = | |||
|lvl = | |||
|know = | |||
|bookpic = | |||
|nexus = | |||
|nexuslvl = | |||
|nexus2 = | |||
|nexus2lvl = | |||
|food = | |||
|mana = | |||
|tool = | |||
|tool2 = | |||
|ing1 = | |||
|ing1amount = | |||
|ing2 =ation | |||
|ingstitle = Get this stuff first | |||
|desc = The roof, the roof, the roof is on [[Alchemy/Fire Essence|fire]]! | |||
|item = Fire Essence | |||
|skill = Alchemy | |||
|exp = 6 | |||
|lvl = 1 | |||
|food = 1 | |||
|ing1 = Sulfur | |||
|ing1amount = 1 | |||
|ing2 = Red Rose | |||
|ing3 = Red Snapdragons | |||
}} | |||
</nowiki></pre> | |||
Note that the example makes use of the fact that ''ing#amount'' defaults to 1 for non-empty ''ing#s''. | |||
{{ManuInfo | |||
|manutitle = Mixing Information | |||
|ingstitle = Get this stuff first | |||
|item = Fire Essence | |||
|desc = The roof, the roof, the roof is on [[Fire Essence|fire]]! | |||
|skill = Alchemy | |||
|exp = 6 | |||
|lvl = 1 | |||
|food = 1 | |||
|ing1 = Sulfur | |||
|ing1amount = 1 | |||
|ing2 = Red Rose | |||
|ing3 = Red Snapdragons | |||
}} | |||
</noinclude> | |||
|ing2amount = | |||
|ing3 = | |||
|ing3amount = | |||
|ing4 = | |||
|ing4amount = | |||
|ing5 = | |||
|ing5amount = | |||
|ing6 = | |||
|ing6amount = | |||
}} | |||
</nowiki></pre> | |||
'''Example''' | |||
<pre><nowiki> | |||
{{ManuInfo | |||
|manutitle = Mixing Inform |
Revision as of 08:12, 3 July 2010
ManuInfo template
Purpose
This template's purpose is to offer a uniform way to create the manufacturing information section for items, hopefully allowing for easy changes in the future as well as customization.
- This template does not include the weight and stackability of items as that's not related to the manufacturing of an item.
Parameters
- item: Name of the item (capitalization, spacing etc. as the wiki-page-name); mandatory
- desc: Description, will be added between the image and the list of ingredients; optional
- ingstitle: Subtitle for the list of ingredients, defaults to "Ingredients"; optional
- manutitle: Subtitle for the manufacturing details, defaults to "Manufacturing information"; optional
- skill: Skill that item belongs to, please provide Weapons, Armour and Items respectively, if the item is in those subdirectories, the template will replace them automatically with Manufacturing; mandatory
- exp: base experience given, defaults to empty
- lvl: recommended skill level, defaults to empty
- know: required knowledge, i.e. the link will be made to know|know; optional
- bookpic: book image; optional (if knowledge is required you must enter this line but you can leave it empty)
- nexus: required nexus; optional
- nexuslvl: level of the required nexus; optional
- nexus2: second required nexus; optional
- nexus2lvl: level of the second required nexus; optional
- food: Food cost; optional
- mana: Mana cost; optional
- tool: tool needed to make; optional
- tool2: second tool needed to make; optional
- ing1: Name of the first ingredient, see item above; mandatory
- ing1amount: Amount of first item needed in recipe, defaults to 1 if ingredient is not empty, else to empty.
- ing2...ing6: same as ing1 above for second through sixth ingredient, but optional.
- ing2amount...ing6amount: same as ing1amount above for second through sixth ingredient, but optional.
Usage
Copy and paste the code below, fill in the necessary information, remove unused parameters, preview, save.
{{ManuInfo |manutitle = |ingstitle = |item = |desc = |skill = |exp = |lvl = |know = |bookpic = |nexus = |nexuslvl = |nexus2 = |nexus2lvl = |food = |mana = |tool = |tool2 = |ing1 = |ing1amount = |ing2 =ation |ingstitle = Get this stuff first |desc = The roof, the roof, the roof is on [[Alchemy/Fire Essence|fire]]! |item = Fire Essence |skill = Alchemy |exp = 6 |lvl = 1 |food = 1 |ing1 = Sulfur |ing1amount = 1 |ing2 = Red Rose |ing3 = Red Snapdragons }}
Note that the example makes use of the fact that ing#amount defaults to 1 for non-empty ing#s.
The roof, the roof, the roof is on fire!
Get this stuff first
- 1 Sulfur
- 1 Red Rose
- 1 Red Snapdragons
Mixing Information
Recommended Alchemy level: 1
Base Alchemy experience given: 6
Required tools:
- None
Knowledge required:
- None
Required nexus:
- None
Food subtracted: 1
|ing2amount = |ing3 = |ing3amount = |ing4 = |ing4amount = |ing5 = |ing5amount = |ing6 = |ing6amount =
}}
</nowiki>
Example
<nowiki> {{ManuInfo |manutitle = Mixing Inform