Jump to content

Template:ResourceNode: Difference between revisions

From Drifters Almanac
mNo edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="resource-node-template">
<includeonly>{{DISPLAYTITLE:{{{name}}}}}</includeonly>
'''{{{name|{{PAGENAME}}}}}'''
{{#if:{{{node_image|}}}|[[File:{{{node_image}}}|thumb|{{{name|}}}]]|[[File:Image_Placeholder.png|thumb|Image Needed]]}}
<!--
<!--
== Usage == Copy/Paste from "{{Resource Node" to the closing brackets "}}" and fill in the variables
==========================
 
        NODE INFO       
 
==========================
{{Resource Node
--><div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Node Info</div>
|node name=
<hr style="border: 0; border-top: 1px solid #555;" />
|node image file=
<div style="margin-left: 1em;">
|location=[[Newhaven Valley]]
{{#if:{{{harvesting_profession|}}}|'''Harvesting Profession: [[{{{harvesting_profession}}}]]'''<br />
|harvesting profession=
}}{{#if:{{{harvesting_level|}}}|'''Harvesting Level:''' {{{harvesting_level}}}<br />
|harvesting level=
}}{{#if:{{{tool_required|}}}|'''Tool Required: [[{{{tool_required}}}]]'''<br />
|tool required=
}}{{#if:{{{location|}}}|'''Location:''' {{#invoke:ListComponents|fromDelimited|1={{{location}}}|delimiter=, }}<br />
|possible yield=
}}
 
-->
{{#if: {{{node image file}}}
|[[File:{{{node image file}}}|thumb|{{{node name}}}]]
}}
<h2> Node Info </h2>
:Location: {{{location}}}
:Harvesting Profession: [[{{{harvesting profession}}}]]
:Harvesting Level: {{{harvesting level}}}
:Tool Required: {{{tool required}}}
 
{{#if: {{{possible yield}}}
|<h2> Possible Yield (Based on Profession Level)</h2>
{{{possible yield}}}
}}
{{#if: {{{harvesting profession}}}
|[[Category:{{{harvesting profession}}}]]
}}
}}
</div><!--
==========================
      POSSIBLE YIELD     
==========================
-->{{#if:{{{possible_yield|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Possible Yield</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
{{#invoke:ListLinks|fromDelimited|1={{{possible_yield}}}|delimiter=, }}
</div>
}}<!--
==========================
        CATEGORIES       
==========================
--><includeonly>[[Category:Resource Nodes]]
[[Category:Harvesting]]</includeonly>
{{#if:{{{harvesting_profession|}}}|[[Category:{{{harvesting_profession}}} Nodes]]}}
</div>


[[Category:Resource Nodes]][[Category:Harvesting]]
<includeonly><div style="display:none">
[[Resource node::{{{name|}}}]]
[[Harvesting profession::{{{harvesting_profession|}}}]]
[[Profession level requirement::{{{harvesting_level|}}}]]
[[Tool type::{{{tool_required|}}}]]
{{#arraymap:{{{location|}}}|,|x|[[Location::x]]}}
{{#arraymap:{{{possible_yield|}}}|,|x|[[Harvest yield::x]]}}
<span style="display:none">{{#default_form:ResourceNode}}</span>
</div></includeonly>

Latest revision as of 21:13, 25 June 2025

ResourceNode

Image Needed
Node Info