Difference between revisions of "Template:NodeBox"

From Wurmpedia
Jump to navigation Jump to search
m (Add bullets)
m
Line 16: Line 16:
 
|-
 
|-
 
|
 
|
<ul>
+
 
 
*{{{location|Please add list of probable locations to the location = line in the template}}}
 
*{{{location|Please add list of probable locations to the location = line in the template}}}
</ul>
+
 
 
|-
 
|-
 
! class="infobox-header-row" | Harvest Method
 
! class="infobox-header-row" | Harvest Method
 
|-
 
|-
 
|
 
|
<ul>
 
 
     {{#switch: {{lc:{{{action}}}}}
 
     {{#switch: {{lc:{{{action}}}}}
 
     | forage = *Collected by [[forage|foraging]].
 
     | forage = *Collected by [[forage|foraging]].
Line 30: Line 29:
 
     | #default = Please add Harvest method to the action = line in the template
 
     | #default = Please add Harvest method to the action = line in the template
 
     }}
 
     }}
</ul>
 
 
|-
 
|-
 
! class="infobox-header-row" | Possible yields
 
! class="infobox-header-row" | Possible yields
 
|-
 
|-
 
|
 
|
<ul>
 
 
{{{yields|Please add list of possible yields to the yields = line in the template}}}
 
{{{yields|Please add list of possible yields to the yields = line in the template}}}
</ul>
 
 
|-
 
|-
 
! class="infobox-header-row" | Skill
 
! class="infobox-header-row" | Skill
 
|-
 
|-
 
|
 
|
<ul>
 
 
*Uses {{#switch: {{lc:{{{action}}}}}| forage = [[forage|foraging]]| botanize = [[botanize|botanizing]]| collect = no | #default = Please add Harvest method to the action = line in the template    }} skill.     
 
*Uses {{#switch: {{lc:{{{action}}}}}| forage = [[forage|foraging]]| botanize = [[botanize|botanizing]]| collect = no | #default = Please add Harvest method to the action = line in the template    }} skill.     
 
</ul>
 
</ul>

Revision as of 00:43, 6 December 2023



Resource node template

This template adds a box with an image of the node, harvest method, probable locations and possible yields.

It is also possible to include general information about Resource nodes on every node page by including the text in this template below the box section

Usage examples:

{{NodeBox
|name=Wildflowers         *** defaults to {{PAGENAME}} ***
|image=Wildflowers.jpg    *** defaults to {{PAGENAME}}.jpg or {{PAGENAME}}.png ***
|location=Grassland, Woodland, Steppe 
|action=botanize
|yields=Bouquets of common flowers, lavender flowers, camellia flowers, parsley, oleander, rosemary, lovage, woad, belladonna, rose flowers, and bouquets of dotted flowers. 
}}


{{NodeBox
|name=Low brush         *** defaults to {{PAGENAME}} ***
|image=Lowbrush.jpg    *** defaults to {{PAGENAME}}.jpg or {{PAGENAME}}.png ***
|location=Steppe 
|action=forage
|yields=Woad, thyme, strawberries, wemp plants, cotton, basil, cacao beans, and coffee cherries. 

}}