Template:Controls: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
m (6 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>The {{PAGENAME}} is held with {{#switch: {{{1}}} | 1 | one = one hand | 2 | both | two = both hands | !! missing number of hands !! }}{{#if: {{{2|}}}| &nbsp;and must be loaded with {{{2}}} to be used|}}. As with all weapons and tools, using it is done by holding the Right-click to take aim, then by Left-clicking to shoot/use.</includeonly><noinclude>{{clr}}{{doc}}</noinclude>
<includeonly>The {{PAGENAME}} is held with {{#switch: {{{1}}} | 1 | one = one hand | 2 | both | two = both hands | !! missing number of hands !! }}{{#if: {{{2|}}}| &nbsp;and must be loaded with {{{2}}} to be used|}}. As with all weapons and tools, using it is done by holding the {{Key|mouse|right}} Right-click to take aim, then by {{Key|mouse|left}} Left-clicking to shoot/use.</includeonly><noinclude>{{clr}}{{doc}}</noinclude>

Latest revision as of 14:44, 18 December 2020

Documentation

This template is used for recurring controls description on weapons and tools articles.

Syntax

{{Controls|number of hands to hold|ammunition}}

Examples

  • {{PAGENAME}} will be replaced with the current page name.
{{Controls|one}}
gives: The Controls is held with one hand. As with all weapons and tools, using it is done by holding the Right Mouse Right-click to take aim, then by Left Mouse Left-clicking to shoot/use.
{{Controls|two|{{Hyperlink|Shotgun Shell}}s}}
gives: The Controls is held with both hands and must be loaded with Shotgun Shells to be used. As with all weapons and tools, using it is done by holding the Right Mouse Right-click to take aim, then by Left Mouse Left-clicking to shoot/use.