Template:ResourceNode: Difference between revisions
Appearance
m Mildew moved page Template:Resource Node to Template:ResourceNode without leaving a redirect |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="resource-node-template"> | <div class="resource-node-template"> | ||
<includeonly>{{DISPLAYTITLE:{{{name}}}}}</includeonly> | |||
'''{{{name|{{PAGENAME}}}}}''' | '''{{{name|{{PAGENAME}}}}}''' | ||
{{#if:{{{node_image|}}}|[[File:{{{node_image}}}|thumb|{{{name|}}}]]|[[File:Image_Placeholder.png|thumb|Image Needed]]}} | |||
{{#if:{{{ | <!-- | ||
[[File:{{{ | ========================== | ||
}} | NODE INFO | ||
========================== | |||
<!-- ========================== | --><div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Node Info</div> | ||
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Node Info</div> | |||
<hr style="border: 0; border-top: 1px solid #555;" /> | <hr style="border: 0; border-top: 1px solid #555;" /> | ||
<div style="margin-left: 1em;"> | <div style="margin-left: 1em;"> | ||
{{#if:{{{harvesting_profession|}}}|'''Harvesting Profession | {{#if:{{{harvesting_profession|}}}|'''Harvesting Profession: [[{{{harvesting_profession}}}]]'''<br /> | ||
}}{{#if:{{{harvesting_level|}}}|'''Harvesting Level''' | }}{{#if:{{{harvesting_level|}}}|'''Harvesting Level:''' {{{harvesting_level}}}<br /> | ||
}}{{#if:{{{tool_required|}}}|'''Tool Required | }}{{#if:{{{tool_required|}}}|'''Tool Required: [[{{{tool_required}}}]]'''<br /> | ||
}}{{#if:{{{location|}}}|'''Location''' | }}{{#if:{{{location|}}}|'''Location:''' {{#invoke:ListComponents|fromDelimited|1={{{location}}}|delimiter=, }}<br /> | ||
}} | }} | ||
</div> | </div><!-- | ||
========================== | |||
<!-- ========================== | POSSIBLE YIELD | ||
========================== | |||
-->{{#if:{{{possible_yield|}}}| | |||
{{#if:{{{possible_yield|}}}| | |||
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Possible Yield</div> | <div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Possible Yield</div> | ||
<hr style="border: 0; border-top: 1px solid #555;" /> | <hr style="border: 0; border-top: 1px solid #555;" /> | ||
Line 29: | Line 25: | ||
{{#invoke:ListLinks|fromDelimited|1={{{possible_yield}}}|delimiter=, }} | {{#invoke:ListLinks|fromDelimited|1={{{possible_yield}}}|delimiter=, }} | ||
</div> | </div> | ||
}} | }}<!-- | ||
========================== | |||
<!-- ========================== | CATEGORIES | ||
========================== | |||
--><includeonly>[[Category:Resource Nodes]] | |||
[[Category:Resource Nodes]] | [[Category:Harvesting]]</includeonly> | ||
[[Category:Harvesting]] | |||
{{#if:{{{harvesting_profession|}}}|[[Category:{{{harvesting_profession}}} Nodes]]}} | {{#if:{{{harvesting_profession|}}}|[[Category:{{{harvesting_profession}}} Nodes]]}} | ||
</div> | |||
</div> | <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> |