Template:Attacks: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
No edit summary
Line 33: Line 33:
</includeonly><noinclude>This template is used on creatures pages in the Attacks section, to display a table listing their attacks. Data is read from the Creatures cargo table, and as such, it must be defined in the creature infobox. See [[Template:Creatures infobox]] for details.
</includeonly><noinclude>This template is used on creatures pages in the Attacks section, to display a table listing their attacks. Data is read from the Creatures cargo table, and as such, it must be defined in the creature infobox. See [[Template:Creatures infobox]] for details.


By default, it uses the PAGENAME as the creature's name. If it is ever required, you can specify a different name in the first parameter, if using it on a different page: <code><nowiki>{{Attacks|Watcher}}</nowiki></code>).</noinclude>
By default, it uses the PAGENAME as the creature's name. If it is ever required, you can specify a different name in the first parameter, if using it on a different page: <code><nowiki>{{Attacks|Watcher}}</nowiki></code>.</noinclude>

Revision as of 21:39, 22 May 2022

This template is used on creatures pages in the Attacks section, to display a table listing their attacks. Data is read from the Creatures cargo table, and as such, it must be defined in the creature infobox. See Template:Creatures infobox for details.

By default, it uses the PAGENAME as the creature's name. If it is ever required, you can specify a different name in the first parameter, if using it on a different page: {{Attacks|Watcher}}.