Difference between revisions of "Template:NodeBox"

From Wurmpedia
Jump to navigation Jump to search
m
 
(10 intermediate revisions by 2 users not shown)
Line 16: Line 16:
 
|-
 
|-
 
|
 
|
{{{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}}}
 +
 
 
|-
 
|-
 
! class="infobox-header-row" | Harvest Method
 
! class="infobox-header-row" | Harvest Method
Line 22: Line 24:
 
|
 
|
 
     {{#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 31: Line 33:
 
|-
 
|-
 
|
 
|
 +
<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.     
+
*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 -->
  
Line 42: Line 47:
  
  
[[Category:Resource Nodes]]
+
== Description ==
 +
''{{{examine}}}''
 +
 
 +
[[Category:Resource nodes]]
 
</includeonly>
 
</includeonly>
  
Line 62: Line 70:
 
|action=botanize
 
|action=botanize
 
|yields=Bouquets of common flowers, lavender flowers, camellia flowers, parsley, oleander, rosemary, lovage, woad, belladonna, rose flowers, and bouquets of dotted flowers.  
 
|yields=Bouquets of common flowers, lavender flowers, camellia flowers, parsley, oleander, rosemary, lovage, woad, belladonna, rose flowers, and bouquets of dotted flowers.  
 +
|examine=Examine text here
 
}}
 
}}
 
</pre>
 
</pre>
Line 73: Line 82:
 
|action=forage
 
|action=forage
 
|yields=Woad, thyme, strawberries, wemp plants, cotton, basil, cacao beans, and coffee cherries.  
 
|yields=Woad, thyme, strawberries, wemp plants, cotton, basil, cacao beans, and coffee cherries.  
 
+
|examine=Examine text here
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 20:53, 17 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. 
|examine=Examine text here
}}


{{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. 
|examine=Examine text here
}}