Template:Key: Difference between revisions

m
Thought I had already fixed, but perhaps I forgot to save XD (trying to get things back where they were-ish, to make wiki public again)
(+TR)
imported>FrozenPlum
m (Thought I had already fixed, but perhaps I forgot to save XD (trying to get things back where they were-ish, to make wiki public again))
 
(4 intermediate revisions by 2 users not shown)
Line 1:
<onlyinclude><includeonly>{{#vardefine:console|{{#if:{{{console|}}}|{{lc:{{{console}}}}}|{{#if:{{{2|}}}|{{lc:{{{1}}}}}}}}}}}<!--
-->{{#vardefine:key|{{#switch:{{lc:{{#if:{{{key|}}}|{{{key}}}|{{{2}}}}}}}
| leftstick
Line 42:
-->{{#vardefine:keyboard|{{lc:{{#if:{{{keyboard|}}}|{{{keyboard}}}|{{#if:{{{2|}}}||{{{1|}}}}}}}}}}}<!--
 
-->{{#if: {{#var:console}} | [[{{!((}}File:{{#switch: {{#var:console}}
|playstation 3
|ps3=PS3
Line 76:
|light=_Black_Mouse_
|#default = _White_Mouse_
}}}} {{#var:key}}.png|{{!}}alt={{#var:key}}|{{!}}{{{size|20px}}}|{{!}}link={{{link|Controls}}}|{{!}}{{#var:key}}]]{{))!}} }}<!--
 
-->{{#if: {{#var:keyboard}} | <span class="key">[[Controls{{#if:{{{link|}}}|{{!((}}{{{link|}}}{{!}}}}<kbd class="{{#switch: {{lc:{{{keyboardvariant}}}}} |dark=keysDark|light=keysLight|keysDark}}"><!--
 
-->{{#switch:{{#var:keyboard}}
Line 116:
|right = →
|#default = {{ucfirst:{{#var:keyboard}}}}
}}</kbd>]]{{#if:{{{link|}}}|{{))!}}}}</span>
}}</includeonly><noinclude/onlyinclude>
{{docDocumentation}}
[[Category:Formatting templates]]
[[tr:Şablon:Tuş]]</noinclude>
Anonymous user