The wiki is lacking in content. You can help by creating a new article. See the to do list for more ways you can help.
Difference between revisions of "Template:Button"
From Final Fantasy Wiki
Jump to navigationJump to search
(added l/r shoulder buttons) |
m (uppercase actualy) |
||
Line 4: | Line 4: | ||
|ps-square=<span title="Square button">[[File:PS Square.png|{{{size|x16px}}}|link=|Square button]]</span> | |ps-square=<span title="Square button">[[File:PS Square.png|{{{size|x16px}}}|link=|Square button]]</span> | ||
|ps-triangle=<span title="Triangle button">[[File:PS Triangle.png|{{{size|x16px}}}|link=|Triangle button]]</span> | |ps-triangle=<span title="Triangle button">[[File:PS Triangle.png|{{{size|x16px}}}|link=|Triangle button]]</span> | ||
|ps- | |ps-L1=<span title="L1 button">[[File:PS L1.png|{{{size|x21px}}}|link=|L1 button]]</span> | ||
|ps- | |ps-R1=<span title="R1 button">[[File:PS R1.png|{{{size|x21px}}}|link=|R1 button]]</span> | ||
|ps- | |ps-L2=<span title="L2 button">[[File:PS L2.png|{{{size|x21px}}}|link=|L2 button]]</span> | ||
|ps- | |ps-R2=<span title="R2 button">[[File:PS R2.png|{{{size|x21px}}}|link=|R2 button]]</span> | ||
|ps-start=<span title="Start button">[[File:PS Start.png|{{{size|x21px}}}|link=|Start button]]</span> | |ps-start=<span title="Start button">[[File:PS Start.png|{{{size|x21px}}}|link=|Start button]]</span> | ||
|#default={{#switch:{{lc:{{{1}}}}} | |#default={{#switch:{{lc:{{{1}}}}} | ||
Line 48: | Line 48: | ||
|[[:File:PS Triangle.png|[link]]] | |[[:File:PS Triangle.png|[link]]] | ||
|- | |- | ||
|<code><nowiki>{{button|ps| | |<code><nowiki>{{button|ps|L1}}</nowiki></code> | ||
|{{button|ps| | |{{button|ps|L1}} | ||
|[[:File:PS L1.png|[link]]] | |[[:File:PS L1.png|[link]]] | ||
|- | |- | ||
|<code><nowiki>{{button|ps| | |<code><nowiki>{{button|ps|R1}}</nowiki></code> | ||
|{{button|ps| | |{{button|ps|R1}} | ||
|[[:File:PS R1.png|[link]]] | |[[:File:PS R1.png|[link]]] | ||
|- | |- | ||
|<code><nowiki>{{button|ps| | |<code><nowiki>{{button|ps|L2}}</nowiki></code> | ||
|{{button|ps| | |{{button|ps|L2}} | ||
|[[:File:PS L2.png|[link]]] | |[[:File:PS L2.png|[link]]] | ||
|- | |- | ||
|<code><nowiki>{{button|ps| | |<code><nowiki>{{button|ps|R2}}</nowiki></code> | ||
|{{button|ps| | |{{button|ps|R2}} | ||
|[[:File:PS R2.png|[link]]] | |[[:File:PS R2.png|[link]]] | ||
|- | |- |
Revision as of 15:46, May 24, 2020
Purpose
A template allowing images for a controller button to be added into an article. Original template was taken from Super Mario Wiki and modified.
The following paramaters are currently supported:
Code | Button | Image |
---|---|---|
PlayStation consoles | ||
{{button|ps|circle}}
|
[link] | |
{{button|ps|x}}
|
[link] | |
{{button|ps|square}}
|
[link] | |
{{button|ps|triangle}}
|
[link] | |
{{button|ps|L1}}
|
[link] | |
{{button|ps|R1}}
|
[link] | |
{{button|ps|L2}}
|
[link] | |
{{button|ps|R2}}
|
[link] | |
Default | ||
{{button|A}}
|
[link] | |
{{button|B}}
|
[link] | |
{{button|X}}
|
[link] | |
{{button|Y}}
|
[link] |