Template:Attacks: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{| class="responsive-table" style="min-width:31%;max-width:69%;" | <includeonly>{| class="responsive-table" style="min-width:31%;max-width:69%;" | ||
!Attack!!Target type!!width="17%"|Afflictions on hit{{#cargo_query: | !Attack!!Target type!!width="17%"|Afflictions on hit{{#cargo_query: | ||
tables = Creatures | tables = Creatures | ||
Line 31: | Line 31: | ||
}} | }} | ||
|} | |} | ||
</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> |
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}}
).