Difference between revisions of "Template:NodeInfo"

From Wurmpedia
Jump to navigation Jump to search
m (Add facility to add unique notes)
m (change capitalization of variable names)
 
Line 2: Line 2:
 
<includeonly>
 
<includeonly>
 
==Notes==
 
==Notes==
{{#if:{{{SpecialNote1|}}}|* {{{SpecialNote1}}}}}
+
{{#if:{{{specialnote1|}}}|* {{{specialnote1}}}}}
{{#if:{{{SpecialNote2|}}}|* {{{SpecialNote2}}}}}
+
{{#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.
 
* 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.
Line 19: Line 19:
 
This template adds Common notes to Resource node pages.  
 
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
+
It can accept up to 2 '''optional''' specialnote variables to add unique items at the top of the notes list
  
 
Usage examples:
 
Usage examples:
Line 26: Line 26:
 
{{NodeInfo
 
{{NodeInfo
 
|name={{PAGENAME}}
 
|name={{PAGENAME}}
|SpecialNote1=This note will appear at the top of the Notes list.
+
|specialnote1=This note will appear at the top of the Notes list.
|SpecialNote2=
+
|specialnote2=
 
}}
 
}}
 
</pre>
 
</pre>
 
</noinclude>
 
</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=
}}