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: 16px;
+
height: 18px;
 
font-weight: bold;
 
font-weight: bold;
 
border-color: #8D8D8D;
 
border-color: #8D8D8D;
Line 52: Line 52:
 
}
 
}
  
.snes-button-R {
+
.snes-button-L {
 
border-radius: 15px 0 0 0;
 
border-radius: 15px 0 0 0;
 
}
 
}
  
.snes-button-L {
+
.snes-button-R {
 
border-radius: 0 15px 0 0;
 
border-radius: 0 15px 0 0;
 
}
 
}
Line 67: Line 67:
 
background: #4B545B;
 
background: #4B545B;
 
border-color: #050704;
 
border-color: #050704;
padding-bottom: 8px;
 
 
font-variant: small-caps;
 
font-variant: small-caps;
 
}
 
}

Revision as of 18:39, 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;<;>