More actions
No edit summary |
Switch from wikitable to html table to fix some issues |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<table class="wikitable controls"> | |||
<caption>Controls</caption> | |||
<tr> | |||
<th>Key</th> | |||
{{#if: {{{primary-fire|}}} | | <th>PC</th> | ||
<th>PS</th> | |||
{{#if: {{{secondary-fire|}}} | | <th>XBox</th> | ||
<th>Action</th> | |||
{{#if: {{{interact|}}} | | </tr> | ||
{{#if:{{{primary-fire|}}}|<tr> | |||
{{#if: {{{specialization|}}} | | <td>Primary fire</td><td><div class="pc-mouse"><div class="mouse-btn-left"></div><div class="mouse-btn-middle"></div> </div></td><td><div class="console-side-trigger">RT</div></td><td><div class="console-side-trigger">RT</div></td><td>{{{primary-fire}}}</td> | ||
</tr>}} | |||
{{#if: {{{reload|}}} | | {{#if:{{{secondary-fire|}}}|<tr> | ||
<td>Secondary fire</td><td><div class="pc-mouse"><div class="mouse-btn-right"></div><div class="mouse-btn-middle"></div> </div></td><td><div class="console-side-trigger">LT</div></td><td><div class="console-side-trigger">LT</div></td><td>{{{secondary-fire}}}</td> | |||
{{#if: {{{weapon|}}} | | </tr>}} | ||
{{#if:{{{interact|}}}|<tr> | |||
{{#if: {{{gadget|}}} | | <td>Interact</td><td><div class="pc-key">E</div></td><td><div class="console-button ps-triangle">△</div></td><td><div class="console-button xbox-y">Y</div></td><td>{{{interact}}}</td> | ||
</tr>}} | |||
{{#if: {{{pick-up|}}} | | {{#if:{{{specialization|}}}|<tr> | ||
<td>Specialization</td><td><div class="pc-key">Q</div></td><td><div class="console-side-button">RB</div></td><td><div class="console-side-button">RB</div></td><td>{{{specialization}}}</td> | |||
{{#if: {{{crouch|}}} | | </tr>}} | ||
{{#if:{{{reload|}}}|<tr> | |||
{{#if: {{{jump|}}} | | <td>Reload</td><td><div class="pc-key">R</div></td><td><div class="console-button ps-square">◻</div></td><td><div class="console-button xbox-x">X</div></td><td>{{{reload}}}</td> | ||
</tr>}} | |||
{{#if:{{{weapon|}}}|<tr> | |||
<td>Weapon</td><td><div class="pc-key">1</div></td><td><div class="console-button ps-triangle">△</div></td><td><div class="console-button xbox-y">Y</div></td><td>{{{weapon}}}</td> | |||
</tr>}} | |||
{{#if:{{{gadget|}}}|<tr> | |||
<td>Gadget</td><td><div class="pc-key">4</div></td><td><div class="console-side-button">LB</div></td><td><div class="console-side-button">LB</div></td><td>{{{gadget}}}</td> | |||
</tr>}} | |||
{{#if:{{{pick-up|}}}|<tr> | |||
<td>Pick up</td><td><div class="pc-key">F</div></td><td><div class="console-button ps-square">◻</div></td><td><div class="console-button xbox-x">X</div></td><td>{{{pick-up}}}</td> | |||
</tr>}} | |||
{{#if:{{{crouch|}}}|<tr> | |||
<td>Crouch</td><td><div class="pc-key">Ctrl</div></td><td><div class="console-button ps-circle">○</div></td><td><div class="console-button xbox-b">B</div></td><td>{{{crouch}}}</td> | |||
</tr>}} | |||
{{#if:{{{jump|}}}|<tr> | |||
<td>Jump</td><td><div class="pc-key">Space</div></td><td><div class="console-button ps-cross">✖</div></td><td><div class="console-button xbox-a">A</div></td><td>{{{jump}}}</td> | |||
</tr>}} | |||
</table> | |||
</includeonly><noinclude>{{Control scheme|primary-fire=Example text|secondary-fire=Example text|interact=Example text|specialization=Example text|reload=Example text|weapon=Example text|gadget=Example text|pick-up=Example text|crouch=Example text|jump=Example text}} | |||
{{Control scheme|secondary-fire=Example text 1|reload=Example text 2|pick-up=Example text 3|jump=Example text 4}} | |||
</noinclude> | </noinclude> | ||
<templatestyles src="Template:Control_scheme/styles.css" /> | <templatestyles src="Template:Control_scheme/styles.css" /> |
Revision as of 15:28, 10 March 2024
Key | PC | PS | XBox | Action |
---|---|---|---|---|
Primary fire | RT | RT | Example text | |
Secondary fire | LT | LT | Example text | |
Interact | E | Example text | ||
Specialization | Q | Example text | ||
Reload | R | Example text | ||
Weapon | 1 | Example text | ||
Gadget | 4 | Example text | ||
Pick up | F | Example text | ||
Crouch | Ctrl | Example text | ||
Jump | Space | Example text |
Key | PC | PS | XBox | Action |
---|---|---|---|---|
Secondary fire | LT | LT | Example text 1 | |
Reload | R | Example text 2 | ||
Pick up | F | Example text 3 | ||
Jump | Space | Example text 4 |