Difference between revisions of "Template:NodeInfo"

From Wurmpedia
Jump to navigation Jump to search
m
m (change capitalization of variable names)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
<templatestyles src="InfoTable/styles.css" />
 +
<includeonly>
 
==Notes==
 
==Notes==
{{#if:{{{SpecialNote1|}}}|* {{{SpecialNote1}}}}}{{#if:{{{SpecialNote2|}}}|* {{{SpecialNote2}}}}}* Lore can vary slightly from one {{{name}}} node to the next due to a number of factors such as season, location, tile type and skill.
+
{{#if:{{{specialnote1|}}}|* {{{specialnote1}}}}}
 +
{{#if:{{{specialnote2|}}}|* {{{specialnote2}}}}}
 +
* Lore can vary slightly from one {{{name}}} node to the next due to a number of factors such as season, location, tile type and skill.
 
* Resource nodes spawn and disappear randomly over time. It can be a few days or more for new resource nodes to appear on an empty tile.
 
* Resource nodes spawn and disappear randomly over time. It can be a few days or more for new resource nodes to appear on an empty tile.
 
* Resource nodes are destroyed if the type of the tile changes, such as paving or packing the tile, or when items are collected from them.
 
* Resource nodes are destroyed if the type of the tile changes, such as paving or packing the tile, or when items are collected from them.
Line 8: Line 11:
 
* [[Resource nodes]]
 
* [[Resource nodes]]
 
* List of [[Node resources]]
 
* List of [[Node resources]]
 +
</includeonly>
 +
 +
<noinclude>
 +
 +
Resource node Info section
 +
 +
This template adds Common notes to Resource node pages.
 +
 +
It can accept up to 2 '''optional''' specialnote variables to add unique items at the top of the notes list
 +
 +
Usage examples:
 +
 +
<pre>
 +
{{NodeInfo
 +
|name={{PAGENAME}}
 +
|specialnote1=This note will appear at the top of the Notes list.
 +
|specialnote2=
 +
}}
 +
</pre>
 +
</noinclude>

Latest revision as of 21:32, 18 December 2023



Resource node Info section

This template adds Common notes to Resource node pages.

It can accept up to 2 optional specialnote variables to add unique items at the top of the notes list

Usage examples:

{{NodeInfo
|name={{PAGENAME}}
|specialnote1=This note will appear at the top of the Notes list.
|specialnote2=
}}