Difference between revisions of "Template:NodeBox"

From Wurmpedia
Jump to navigation Jump to search
m
m
Line 21: Line 21:
 
|-
 
|-
 
|
 
|
 +
<ul>
 
     {{#switch: {{lc:{{{action}}}}}
 
     {{#switch: {{lc:{{{action}}}}}
 
     | forage = Collected by [[forage|foraging]].
 
     | forage = Collected by [[forage|foraging]].
Line 27: Line 28:
 
     | #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
 
|-
 
|-
 
|
 
|
    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>
 +
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>
 
|}<!-- End of NodeBox -->
 
|}<!-- End of NodeBox -->
  

Revision as of 00:07, 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. 

}}