Template:Controls: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(Created page with "<includeonly>The {{PAGENAME}} is held with {{#switch: {{{1}}} | 1 | one = one hand | 2 | both | two = both hands | !! missing number of hands !! }} {{#if: {{{2}}}|and must be...")
 
No edit summary
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}}}|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 Right-click to take aim, then by Left-clicking to shoot/use.</includeonly><noinclude>{{clr}}{{doc}}</noinclude>

Revision as of 19:24, 30 November 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-click to take aim, then by Left-clicking to shoot/use.
{{Controls|two|{{Hyperlink|Shotgun Shell}}s}}
gives: The Controls is held with both hands. 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.