Template:NodeInfo: Difference between revisions

From WU Wiki
Jump to navigation Jump to search
wurmpedia->Manachan
m Add facility to add unique notes
wurmpedia->Manachan
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>

Revision as of 21:32, 18 December 2023

<templatestyles src="InfoTable/styles.css" />



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=
}}