Difference between revisions of "Template:NodeBox"

From Wurmpedia
Jump to navigation Jump to search
m
m (Add bullets)
Line 23: Line 23:
 
|-
 
|-
 
|
 
|
*<ul>
+
<ul>
 
     {{#switch: {{lc:{{{action}}}}}
 
     {{#switch: {{lc:{{{action}}}}}
     | forage = Collected by [[forage|foraging]].
+
     | forage = *Collected by [[forage|foraging]].
     | botanize = Collected by [[botanize|botanizing]].
+
     | botanize = *Collected by [[botanize|botanizing]].
     | collect = Collected by collecting.
+
     | collect = *Collected by collecting.
 
     | #default = Please add Harvest method to the action = line in the template
 
     | #default = Please add Harvest method to the action = line in the template
 
     }}
 
     }}
Line 35: Line 35:
 
|-
 
|-
 
|
 
|
*<ul>
+
<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>
 
</ul>

Revision as of 16:23, 5 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. 

}}