Template:Controls: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
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}}}| | <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> |
Revision as of 19:33, 30 November 2020
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 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.
{{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-click to take aim, then by Left-clicking to shoot/use.
The above documentation is transcluded from Template:Controls/doc. (edit | history)