Difference between revisions of "Template:B"

From ALttP Speedrunning Wiki
Jump to: navigation, search
Line 46: Line 46:
 
.snes-button-bumper {
 
.snes-button-bumper {
 
width: 40px;
 
width: 40px;
height: 18px;
+
height: 16px;
 +
padding-bottom: 2px;
 
font-weight: bold;
 
font-weight: bold;
 
border-color: #8D8D8D;
 
border-color: #8D8D8D;
Line 65: Line 66:
 
width: 60px;
 
width: 60px;
 
height: 12px;
 
height: 12px;
 +
padding-bottom: 8px;
 
background: #4B545B;
 
background: #4B545B;
 
border-color: #050704;
 
border-color: #050704;

Revision as of 17:41, 2 June 2018

{{{1}}}
Template documentation[view] [edit] [history] [purge]

Makes SNES buttons pretty.

{{B|A}} A
{{B|B}} B
{{B|X}} X
{{B|Y}} Y
{{B|L}} L
{{B|R}} R
{{B|Start}} Start
{{B|Select}} Select
{{B|Directional}} directional
{{B|D}} d
{{B|^}} ^
{{B|v}} v
{{B|<}} <
{{B|>}} >
{{B|^<}} ^<
{{B|^>}} ^>
{{B|^v}} ^v
{{B|v<}} v<
{{B|v>}} v>
{{B|^<}} ^<
{{B|^v<>}} ^v<>

Chaining

Multiple buttons can be displayed by a single template call, with several delimiters being recognized as special text.

{{B|A|B|<|>}} AB<>
{{B|A|+|B||+|<^}} A+B+<^
{{B|A|,|B|,|<|,|>}} A,B,<,>
{{B|A|;|B|;|<|;|>}} A;B;<;>