Template:Controls/doc: Difference between revisions
From Official Barotrauma Wiki
m (31percent moved page Template:Weapon Controls/doc to Template:Controls/doc) |
m (3 revisions imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
==Syntax== | ==Syntax== | ||
<pre> | <pre> | ||
{{ | {{Controls|number of hands to hold|ammunition}} | ||
</pre> | </pre> | ||
==Examples== | ==Examples== | ||
*<code><nowiki>{{PAGENAME}}</nowiki></code> will be replaced with the current page name. | *<code><nowiki>{{PAGENAME}}</nowiki></code> will be replaced with the current page name. | ||
<pre>{{ | <pre>{{Controls|one}}</pre> gives: {{Controls|one}} | ||
<pre>{{ | <pre>{{Controls|two|{{Hyperlink|Shotgun Shell}}s}}</pre> gives: {{Controls|two|{{Hyperlink|Shotgun Shell}}s}} | ||
{{doc/end}} | {{doc/end}} |
Latest revision as of 14:44, 18 December 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/doc 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/doc 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.
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.