Difference between revisions of "Template:B"

From ALttP Speedrunning Wiki
Jump to: navigation, search
Line 77: Line 77:
 
width: 42px;
 
width: 42px;
 
height: 42px;
 
height: 42px;
 +
}
 +
 +
.snes-button-dpad-mid {
 +
display: block;
 +
position: relative;
 +
width: 14px;
 +
height: 14px;
 +
background: #000000;
 +
border-radius: 20px;
 +
z-index: 9000;
 +
left: 14px;
 +
top: 13px;
 
}
 
}
  

Revision as of 19:14, 2 June 2018

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;<;>