Jump to content

Template:ResourceNode: Difference between revisions

From Drifters Almanac
No edit summary
No edit summary
Line 1: Line 1:
<!-- Template:ResourceNode -->
<div class="resource-node-template">
<div style="display: flex; flex-wrap: wrap; gap: 1em; margin-bottom: 1em;">


<!-- Image box -->
'''{{{name|{{PAGENAME}}}}}'''
<div style="flex: 1 1 300px; max-width: 300px;">
 
{{#if: {{{node image file|}}}
{{#if:{{{node_image_file|}}}|
| [[File:{{{node image file}}}|frameless|center|300px]]
[[File:{{{node_image_file}}}|thumb|{{{name}}}]]
}}
 
<!-- ========================== -->
<!--          NODE INFO        -->
<!-- ========================== -->
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Node Info</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
{{#if:{{{harvesting_profession|}}}|'''Harvesting Profession''': [[:Category:{{{harvesting_profession}}}|{{{harvesting_profession}}}]]<br />
}}{{#if:{{{harvesting_level|}}}|'''Harvesting Level''': {{{harvesting_level}}}<br />
}}{{#if:{{{tool_required|}}}|'''Tool Required''': {{{tool_required}}}<br />
}}{{#if:{{{location|}}}|'''Location''': {{{location}}}<br />
}}
}}
</div>
</div>


<!-- Info box -->
<!-- ========================== -->
<div style="flex: 2 1 400px; background-color: #222; padding: 1em; border: 1px solid #555; border-radius: 8px;">
<!--      POSSIBLE YIELD      -->
{| class="wikitable" style="width: 100%; background-color: #111;"
<!-- ========================== -->
! colspan="2" style="text-align: center;" | Node Information
{{#if:{{{possible_yield|}}}|
|-
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Possible Yield</div>
! Location
<hr style="border: 0; border-top: 1px solid #555;" />
| {{{location|Unknown}}}
<div style="margin-left: 1em;">
|-
{{#invoke:ListLinks|fromDelimited|1={{{possible_yield}}}|delimiter=, }}
! Harvesting Profession
| [[Category:{{{harvesting profession|Unknown}}} Nodes|{{{harvesting profession}}}]] [[{{{harvesting profession}}}]]
|-
! Harvesting Level
| {{{harvesting level|Any}}}
|-
! Tool Required
| {{{tool required|—}}}
|}
</div>
</div>
</div>
<!-- Possible Yield -->
{{#if: {{{possible yield|}}}
|== Possible Yield ==
{{{possible yield}}}
}}
}}


<!-- ========================== -->
<!--        CATEGORIES        -->
<!-- ========================== -->
[[Category:Resource Nodes]]
[[Category:Resource Nodes]]
[[Category:Harvesting]]
[[Category:Harvesting]]
{{#if:{{{harvesting_profession|}}}|[[Category:{{{harvesting_profession}}} Nodes]]}}
</div>

Revision as of 17:24, 7 May 2025

ResourceNode


Node Info