Difference between revisions of "Template:PS Button"
m (I-ghost moved page Template:PSTemplate to Template:PS Button without leaving a redirect: this was overcomplicated) |
m |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{#switch:{{lc:{{{1|}}}}} |
+ | | cross = [[File:PS Button X.png{{#if:{{{2|}}}|{{!}}{{{2|}}}|}}|link={{{link|}}}]] | ||
+ | | square = [[File:PS Button Square.png{{#if:{{{2|}}}|{{!}}{{{2|}}}|}}|link={{{link|}}}]] | ||
+ | | circle = [[File:PS Button Circle.png{{#if:{{{2|}}}|{{!}}{{{2|}}}|}}|link={{{link|}}}]] | ||
+ | | triangle = [[File:PS Button Triangle.png{{#if:{{{2|}}}|{{!}}{{{2|}}}|}}|link={{{link|}}}]] | ||
+ | }}<noinclude> | ||
{{Doc begin}} | {{Doc begin}} | ||
− | + | == Usage == | |
+ | {| class="wikitable grid" | ||
+ | ! class="header" | Input | ||
+ | ! class="header" | Produces | ||
+ | |- | ||
+ | | cross || align="center" | {{PS Button|cross}} | ||
+ | |- | ||
+ | | square || align="center" | {{PS Button|square}} | ||
+ | |- | ||
+ | | circle || align="center" | {{PS Button|circle}} | ||
+ | |- | ||
+ | | triangle || align="center" | {{PS Button|triangle}} | ||
+ | |- | ||
+ | |} | ||
− | |||
− | |||
− | + | '''Optional:''' Specify the size as the second parameter, e.g. {{tlx|PS Button|cross|20px}} produces {{PS Button|cross|20px}} | |
− | + | [[Category:Templates]] | |
− | + | </noinclude> | |
− | : | ||
− | |||
− | |||
− | |||
− | |||
− |