Template:Attacks: Difference between revisions
From Official Barotrauma Wiki
(itemdamage duration context) |
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>.[[Category:Cargo Querying Templates]][[Category:Templates]]</noinclude> |
Revision as of 16:47, 29 June 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}}
.