Difference between revisions of "Template:NodeInfo"

From Wurmpedia
Jump to navigation Jump to search
m
m (Add facility to add unique notes)
Line 1: Line 1:
 
+
<templatestyles src="InfoTable/styles.css" />
 +
<includeonly>
 
==Notes==
 
==Notes==
 
{{#if:{{{SpecialNote1|}}}|* {{{SpecialNote1}}}}}
 
{{#if:{{{SpecialNote1|}}}|* {{{SpecialNote1}}}}}
Line 10: 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>

Revision as of 22:26, 17 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=
}}