Difference between revisions of "Template:B/doc"

From ALttP Speedrunning Wiki
Jump to: navigation, search
 
Line 67: Line 67:
 
|-
 
|-
 
| <code><nowiki>{{B|^v<>}}</nowiki></code> || {{B|^v<>}}
 
| <code><nowiki>{{B|^v<>}}</nowiki></code> || {{B|^v<>}}
 +
|}
 +
 +
=== Chaining ===
 +
Multiple buttons can be displayed by a single template call, with several delimiters being recognized as special text.
 +
 +
{|
 +
| <code><nowiki>{{B|A|B|<|>}}</nowiki></code> || {{B|A|B|<|>}}
 +
|-
 +
|
 +
|-
 +
| <code><nowiki>{{B|A|+|B||+|<^}}</nowiki></code> || {{B|A|+|B||+|<^}}
 +
|-
 +
|
 +
|-
 +
| <code><nowiki>{{B|A|,|B|,|<|,|>}}</nowiki></code> || {{B|A|,|B|,|<|,|>}}
 +
|-
 +
|
 +
|-
 +
| <code><nowiki>{{B|A|;|B|;|<|;|>}}</nowiki></code> || {{B|A|;|B|;|<|;|>}}
 
|}
 
|}

Latest revision as of 12:46, 23 June 2018

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