Template:HarvestInfo: Difference between revisions

From Eternal Lands Wiki
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]]
[[Image:{{{item|default item image}}}.png]]<br />
 
{{
{{#if:{{{desc|}}}|{{{desc}}}}}
#if: {{{desc|}}} |
 
{{{desc}}}
}}
==={{{manutitle|Harvesting information}}}===
==={{{manutitle|Harvesting information}}}===
Recommended [[:Category:Harvestables|Harvesting]] level: {{{lvl|}}}<br />
Recommended [[Harvestables|Harvesting]] level: {{{lvl|}}}<br />
Base Harvesting experience given: {{{exp}}}<br />
Base Harvesting experience given: {{{exp}}}<br />
Required tools: {{#if: {{{tool|}}} |
Tools required:{{#if:{{{tool|}}}|
* [[Image:{{{tool}}}.png|25px]] [[{{{tool}}}]]<br />| * <span style="color:green">None</span>}}{{
*[[File:{{{tool}}}.png|25px]] [[{{{tool}}}]]|
#if: {{{ing|}}} |
*<span style="color:green">None</span>}}{{#if:{{{ing|}}}|
* One [[Image:{{{ing}}}.png|25px]] [[{{{ing}}}]] is consumed for each ore harvested.}}
*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|}}} | [[Image:{{{bookpic}}}.png|25px]] }} [[{{{know}}}|{{{know}}}]]<br />| * <span style="color:green">None</span> <br />}}
*<span style="color:green">None</span>}}
Required nexus: {{
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 the ManuInfo.
*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|know''; ''optional''
* '''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 =
|item =
|desc =
|desc =
|exp =
|exp =
|lvl =
|lvl =
|know =
|know =
|bookpic =
|bookpic =
|nexus =
|nexus =
|nexuslvl =
|nexuslvl =
|tool =
|tool =
|ing =
|ing =
}}
}}
 
</nowiki></pre></noinclude>
</noinclude>

Revision as of 16:01, 22 November 2010

HarvestInfo template

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 =
}}