Template:Databank2/doc: Difference between revisions

From Subnautica Wiki
(Created the documentation)
 
m (Added appropriate categories)
Line 8: Line 8:
==Examples==
==Examples==
On the [[Peeper]] article, adding <code>{<nowiki/>{DataBank2}}</code> adds {{DataBank2|page=Peeper}}. This produces the same result as <code>{<nowiki/>{Recipe2|page=Peeper}}</code>. The second method will work anywhere, but only the first method should be used on the [[Peeper]].
On the [[Peeper]] article, adding <code>{<nowiki/>{DataBank2}}</code> adds {{DataBank2|page=Peeper}}. This produces the same result as <code>{<nowiki/>{Recipe2|page=Peeper}}</code>. The second method will work anywhere, but only the first method should be used on the [[Peeper]].
<includeonly>[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 05:17, 21 April 2020

This template uses Template:DataBank to easily add the data bank to an article.

Usage

Type {{DataBank2}} onto a page below the ==Data Bank Entry==. This will add the complete data bank.

If the data bank you want to add does not describe the article (e.g., Specimen Research Data on the Peeper article), then add {{DataBank2|page=Page}}. This will add the data bank for the topic Page.

Examples

On the Peeper article, adding {{DataBank2}} adds (No target detected) . This produces the same result as {{Recipe2|page=Peeper}}. The second method will work anywhere, but only the first method should be used on the Peeper.