Difference between revisions of "Template:HarvestInfo"
Jump to navigation
Jump to search
m ("An -> One" for consumed ingredients, also changed that to not be a sub-item, looks better this way imho) |
(fixed unclosed tags; removed redundant code; cleanup) |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>[[File:{{{item|default item image}}}.png]] |
− | [[ | + | |
− | {{ | + | {{#if:{{{desc|}}}|{{{desc}}}}} |
− | #if: {{{desc|}}} | | + | |
− | {{{desc}}} | ||
− | }} | ||
==={{{manutitle|Harvesting information}}}=== | ==={{{manutitle|Harvesting information}}}=== | ||
− | Recommended [[ | + | Recommended [[Harvestables|Harvesting]] level: {{{lvl|}}}<br /> |
Base Harvesting experience given: {{{exp}}}<br /> | Base Harvesting experience given: {{{exp}}}<br /> | ||
− | + | Tools required:{{#if:{{{tool|}}}| | |
− | * [[ | + | *[[File:{{{tool}}}.png|25px]] [[{{{tool}}}]]| |
− | #if: {{{ing|}}} | | + | *<span style="color:green">None</span>}}{{#if:{{{ing|}}}| |
− | * One [[ | + | *One [[File:{{{ing}}}.png|25px]] [[{{{ing}}}]] is consumed for each ore harvested.}} |
− | Knowledge required: {{ #if: {{{know|}}} | | + | Knowledge required:{{#if:{{{know|}}}| |
− | * {{ | + | *{{#if:{{{bookpic|}}}|[[File:{{{bookpic}}}.png|25px]] }}[[{{{know}}}]]| |
− | #if: {{{bookpic|}}} | [[ | + | *<span style="color:green">None</span>}} |
− | + | Nexus required:{{#if:{{{nexuslvl|}}}| | |
− | #if: {{{nexuslvl|}}} | | + | *[[{{{nexus|Inorganic}}} Nexus#{{{nexus|Inorganic}}} {{{nexuslvl}}}|{{{nexus|Inorganic}}}: {{{nexuslvl}}}]]| |
− | * [[{{{nexus|Inorganic}}} Nexus#{{{nexus|Inorganic}}} {{{nexuslvl}}}|{{{nexus|Inorganic}}}: {{{nexuslvl}}}]]| * <span style="color:green">None</span> }}</includeonly> | + | *<span style="color:green">None</span>}}</includeonly><noinclude> |
− | <noinclude> | ||
== HarvestInfo template == | == HarvestInfo template == | ||
− | * Created from | + | *Created from [[:Template:ManuInfo]]. |
=== Parameters === | === Parameters === | ||
Line 28: | Line 25: | ||
* '''exp''': base experience given, defaults to empty | * '''exp''': base experience given, defaults to empty | ||
* '''lvl''': recommended skill level, defaults to empty | * '''lvl''': recommended skill level, defaults to empty | ||
− | * '''know''': required knowledge, i.e. the link will be made to '' | + | * '''know''': required knowledge, i.e. the link will be made to ''know''; ''optional'' |
* '''bookpic''': book image; ''optional'' | * '''bookpic''': book image; ''optional'' | ||
* '''nexus''': required nexus; ''optional'' | * '''nexus''': required nexus; ''optional'' | ||
Line 39: | Line 36: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{HarvestInfo | {{HarvestInfo | ||
− | + | |item = | |
− | + | |desc = | |
− | + | |exp = | |
− | + | |lvl = | |
− | + | |know = | |
− | + | |bookpic = | |
− | + | |nexus = | |
− | + | |nexuslvl = | |
− | + | |tool = | |
− | + | |ing = | |
}} | }} | ||
− | + | </nowiki></pre></noinclude> | |
− | </noinclude> |
Revision as of 15:01, 22 November 2010
HarvestInfo template
- Created from Template:ManuInfo.
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
- 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; optional
- bookpic: book image; optional
- nexus: required nexus; optional
- nexuslvl: level of the required nexus; optional
- tool: tool needed to make; optional
- ing: Name of the ingredient used to harvest the item; optional
Usage
Copy and paste the code below, fill in the necessary information, remove unused parameters, preview, save.
{{HarvestInfo |item = |desc = |exp = |lvl = |know = |bookpic = |nexus = |nexuslvl = |tool = |ing = }}