Difference between revisions of "Template:B/doc"

From ALttP Speedrunning Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Makes SNES buttons pretty.
 
Makes SNES buttons pretty.
  
{{B|A}}
+
{|
 +
| <code><nowiki>{{B|A}}</nowiki></code> || {{B|A}}
 +
|-
 +
| <code><nowiki>{{B|B}}</nowiki></code> || {{B|B}}
 +
|-
 +
| <code><nowiki>{{B|X}}</nowiki></code> || {{B|X}}
 +
|-
 +
| <code><nowiki>{{B|Y}}</nowiki></code> || {{B|Y}}
 +
|-
 +
| <code><nowiki>{{B|L}}</nowiki></code> || {{B|L}}
 +
|-
 +
| <code><nowiki>{{B|R}}</nowiki></code> || {{B|R}}
 +
|-
 +
| <code><nowiki>{{B|Start}}</nowiki></code> || {{B|Start}}
 +
|-
 +
| <code><nowiki>{{B|Select}}</nowiki></code> || {{B|Select}}
 +
|-
 +
| <code><nowiki>{{B|Directional}}</nowiki></code> || {{B|Directional}}
 +
|-
 +
|
 +
|-
 +
| <code><nowiki>{{B|D}}</nowiki></code> || {{B|D}}
 +
|-
 +
|
 +
|-
 +
| <code><nowiki>{{B|^}}</nowiki></code> || {{B|^}}
 +
|-
 +
|
 +
|-
 +
| <code><nowiki>{{B|v}}</nowiki></code> || {{B|v}}
 +
|-
 +
|
 +
|-
 +
| <code><nowiki>{{B|<}}</nowiki></code> || {{B|<}}
 +
|-
 +
|
 +
|-
 +
| <code><nowiki>{{B|>}}</nowiki></code> || {{B|>}}
 +
|-
 +
|
 +
|-
 +
| <code><nowiki>{{B|^<}}</nowiki></code> || {{B|^<}}
 +
|-
 +
|
 +
|-
 +
| <code><nowiki>{{B|^>}}</nowiki></code> || {{B|^>}}
 +
|-
 +
|
 +
|-
 +
| <code><nowiki>{{B|^v}}</nowiki></code> || {{B|^v}}
 +
|-
 +
|
 +
|-
 +
| <code><nowiki>{{B|v<}}</nowiki></code> || {{B|v<}}
 +
|-
 +
|
 +
|-
 +
| <code><nowiki>{{B|v>}}</nowiki></code> || {{B|v>}}
 +
|-
 +
|
 +
|-
 +
| <code><nowiki>{{B|^<}}</nowiki></code> || {{B|^<}}
 +
|-
 +
|
 +
|-
 +
| <code><nowiki>{{B|^v<>}}</nowiki></code> || {{B|^v<>}}
 +
|}
  
{{B|B}}
+
=== Chaining ===
 +
Multiple buttons can be displayed by a single template call, with several delimiters being recognized as special text.
  
{{B|X}}
+
{|
 
+
| <code><nowiki>{{B|A|B|<|>}}</nowiki></code> || {{B|A|B|<|>}}
{{B|Y}}
+
|-
 
+
|
{{B|L}}
+
|-
 
+
| <code><nowiki>{{B|A|+|B||+|<^}}</nowiki></code> || {{B|A|+|B||+|<^}}
{{B|R}}
+
|-
 
+
|
{{B|Start}}
+
|-
 
+
| <code><nowiki>{{B|A|,|B|,|<|,|>}}</nowiki></code> || {{B|A|,|B|,|<|,|>}}
{{B|Select}}
+
|-
 
+
|
{{B|D}}
+
|-
 
+
| <code><nowiki>{{B|A|;|B|;|<|;|>}}</nowiki></code> || {{B|A|;|B|;|<|;|>}}
{{B|^}}
+
|}
 
 
{{B|v}}
 
 
 
{{B|<}}
 
 
 
{{B|>}}
 
 
 
{{B|^<}}
 
 
 
{{B|^>}}
 
 
 
{{B|^v}}
 
 
 
{{B|v<}}
 
 
 
{{B|v>}}
 
 
 
{{B|^<}}
 
 
 
{{B|^v<>}}
 

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