Difference between revisions of "Template:HarvestInfo"

From ELWiki
Jump to navigation Jump to search
(attempt to fix spacing and newlines)
m (set item image to 80px, some have 50px, others 80px, this will make all the same size (I hope))
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>[[File:{{{item|default item image}}}.png]]{{#if:{{{desc|}}}|&#32;
+
<includeonly>[[File:{{{item|default item image}}}.png|80px]]{{#if:{{{desc|}}}|&#32;
  
 
{{#if:x|{{{desc}}}}}}}
 
{{#if:x|{{{desc}}}}}}}
  
==={{{manutitle|Harvesting information}}}===
+
=== {{{manutitle|Harvesting information}}} ===
 
Recommended [[Harvestables|Harvesting]] level: {{{lvl|}}}<br />
 
Recommended [[Harvestables|Harvesting]] level: {{{lvl|}}}<br />
 
Base Harvesting experience given: {{{exp}}}<br />
 
Base Harvesting experience given: {{{exp}}}<br />
Tools required:{{#if:{{{tool|}}}|
+
[[:Category:Tools|Tools]] required:{{#if:{{{tool|}}}|
*[[File:{{{tool}}}.png|25px]] [[{{{tool}}}]]|
+
* [[File:{{{tool}}}.png|25px]] [[{{{tool}}}]]|
*<span style="color:green">None</span>}}{{#if:{{{ing|}}}|
+
* <span style="color:green">None</span>}}{{#if:{{{ing|}}}|
*One [[File:{{{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|}}}|
+
[[Books|Knowledge]] required:{{#if:{{{know|}}}|
*{{#if:{{{bookpic|}}}|[[File:{{{bookpic}}}.png|25px]]&#32;}}[[{{{know}}}]]|
+
* {{#if:{{{bookpic|}}}|[[File:{{{bookpic}}}.png|25px]]&#32;}}[[{{{know}}}]]|
*<span style="color:green">None</span>}}
+
* <span style="color:green">None</span>}}
Nexus required:{{#if:{{{nexuslvl|}}}|
+
[[Nexus]] required:{{#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><noinclude>
+
* <span style="color:green">None</span>}}</includeonly><noinclude>
 
== Documentation ==
 
== Documentation ==
*Created from [[:Template:ManuInfo]].
+
* Created from [[:Template:ManuInfo]].
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 18:11, 26 November 2018

Documentation

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