Template:NodeInfo: Difference between revisions
Jump to navigation
Jump to search
wurmpedia->Manachan m Add facility to add unique notes |
wurmpedia->Manachan m change capitalization of variable names |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
<includeonly> | <includeonly> | ||
==Notes== | ==Notes== | ||
{{#if:{{{ | {{#if:{{{specialnote1|}}}|* {{{specialnote1}}}}} | ||
{{#if:{{{ | {{#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''' | 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. | ||
| | |specialnote2= | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
Latest 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=
}}