Template:HarvestInfo: Difference between revisions

From Eternal Lands Wiki
Jump to navigation Jump to search
m (Testing)
m (17 revisions imported)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>[[File:{{{item|default item image}}}.png|80px]]{{#if:{{{desc|}}}|&#32;
[[Image:{{{item|default item image}}}.png]]<br />
{{
#if: {{{desc|}}} |
{{{desc}}}
}}
==={{{manutitle|Harvesting information}}}===
Recommended [[:Category:Harvestables|Harvesting]] level: {{{lvl|}}}<br />
Base Harvesting experience given: {{{exp}}}<br />
Required tools: {{#if: {{{tool|}}} |
* [[Image:{{{tool}}}.png|25px]] [[{{{tool}}}]]<br />| * <span style="color:green">None</span>}}{{
#if: {{{ing|}}} |
** An [[Image:{{{ing}}}.png|25px]] [[{{{ing}}}]] is consumed for each ore harvested.}}
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> }}</includeonly>


<noinclude>
{{#if:x|{{{desc}}}}}}}
== HarvestInfo template ==


* Created from the ManuInfo.
=== {{{manutitle|Harvesting information}}} ===
Recommended [[Harvestables|Harvesting]] level: {{{lvl|}}}<br />
Base Harvesting experience given: {{{exp}}}<br />
[[:Category:Tools|Tools]] required:{{#if:{{{tool|}}}|
* [[File:{{{tool}}}.png|25px]] [[{{{tool}}}]]|
* <span style="color:green">None</span>}}{{#if:{{{ing|}}}|
* One [[File:{{{ing}}}.png|25px]] [[{{{ing}}}]] is consumed for each ore harvested.}}
[[Books|Knowledge]] required:{{#if:{{{know|}}}|
* {{#if:{{{bookpic|}}}|[[File:{{{bookpic}}}.png|25px]]&#32;}}[[{{{know}}}]]|
* <span style="color:green">None</span>}}
[[Nexus]] required:{{#if:{{{nexuslvl|}}}|
* [[{{{nexus|Inorganic}}} Nexus#{{{nexus|Inorganic}}} {{{nexuslvl}}}|{{{nexus|Inorganic}}}: {{{nexuslvl}}}]]|
* <span style="color:green">None</span>}}</includeonly><noinclude>
== Documentation ==
* Created from [[:Template:ManuInfo]].


=== Parameters ===
=== Parameters ===
Line 29: Line 24:
* '''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 40: Line 35:
<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>

Latest revision as of 08:35, 9 August 2021

Documentation[edit]

Parameters[edit]

  • 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[edit]

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