Difference between revisions of "Template:PS Button"

From Team Fortress Wiki
Jump to: navigation, search
m (why was this abstracted so much wtf)
m (Should fix this.)
Line 1: Line 1:
 
{{#switch:{{lc:{{{1|}}}}}
 
{{#switch:{{lc:{{{1|}}}}}
| cross = [[File:PS Button X.png|{{{2|}}}|link=]]
+
| cross = [[File:PS Button X.png{{#if:{{{2|}}}|{{!}}{{{2|}}}|}}|link={{{link|}}}]]
| square = [[File:PS Button Square.png|{{{2|}}}|link=]]
+
| square = [[File:PS Button Square.png{{#if:{{{2|}}}|{{!}}{{{2|}}}|}}|link={{{link|}}}]]
| circle = [[File:PS Button Circle.png|{{{2|}}}|link=]]
+
| circle = [[File:PS Button Circle.png{{#if:{{{2|}}}|{{!}}{{{2|}}}|}}|link={{{link|}}}]]
| triangle = [[File:PS Button Triangle.png|{{{2|}}}|link=]]
+
| triangle = [[File:PS Button Triangle.png{{#if:{{{2|}}}|{{!}}{{{2|}}}|}}|link={{{link|}}}]]
 
}}<noinclude>
 
}}<noinclude>
  

Revision as of 21:35, 31 October 2013


Documentation for PS Button

Usage

Input Produces
cross PS Button X.png
square PS Button Square.png
circle PS Button Circle.png
triangle PS Button Triangle.png


Optional: Specify the size as the second parameter, e.g. {{PS Button|cross|50px}} produces PS Button X.png