This page contains Lua code for Template:Icon.
return {
['ps'] = {
['x'] = {
file = 'Button x.svg',
alt = 'X',
},
['cross'] = {
file = 'Button x.svg',
alt = 'X',
},
['o'] = {
file = 'Button circle.svg',
alt = 'Circle',
},
['circle'] = {
file = 'Button circle.svg',
alt = 'Circle',
},
['triangle'] = {
file = 'Button triangle.svg',
alt = 'Triangle',
},
['square'] = {
file = 'Button square.svg',
alt = 'Square',
},
['start'] = {
file = 'Button start.svg',
alt = 'Start',
},
['select'] = {
file = 'Button select.svg',
alt = 'Select',
},
['rightstick'] = {
file = 'Button rightstick.svg',
alt = 'Right stick',
},
['rstick'] = {
file = 'Button rightstick.svg',
alt = 'Right stick',
},
['leftstick'] = {
file = 'Button leftstick.svg',
alt = 'Left stick',
},
['lstick'] = {
file = 'Button leftstick.svg',
alt = 'Left stick',
},
['up'] = {
file = 'Button up.svg',
alt = 'Up',
},
['down'] = {
file = 'Button down.svg',
alt = 'Down',
},
['left'] ={
file = 'Button left.svg',
alt = 'Left',
},
['right'] = {
file = 'Button right.svg',
alt = 'Right',
},
['r1'] = {
file = 'Button r1.svg',
alt = 'R1',
},
['r2'] = {
file = 'Button r2.svg',
alt = 'R2',
},
['r3'] = {
file = 'Button r3.svg',
alt = 'R3',
},
['l1'] = {
file = 'Button l1.svg',
alt = 'L1',
},
['l2'] = {
file = 'Button l2.svg',
alt = 'L2',
},
['l3'] = {
file = 'PlayStation L3 Button.png',
alt = 'L3',
},
['r'] = {
file = 'Button sr.svg',
alt = 'Right shoulder button',
},
['l'] = {
file = 'Button sl.svg',
alt = 'Left shoulder button',
},
},
['nintendo'] = {
['a'] = {
file = 'A-button.png',
alt = 'A',
},
['b'] = {
file = 'B-button.png',
alt = 'B',
},
['x'] = {
file = 'X-button Nintendo.png',
alt = 'X',
},
['y'] = {
file = 'Y-button.png',
alt = 'Y',
},
['start'] = {
file = 'SuperNintendo-Button-Start.png',
alt = 'Start',
},
['select'] = {
file = 'SuperNintendo-Button-Select.png',
alt = 'Select',
},
['up'] = {
file = 'SuperNintendo-Dpad-Up.png',
alt = 'Up',
},
['up-right'] = {
file = 'SuperNintendo-Dpad-Up-Right.png',
alt = 'Upper-right',
},
['right'] = {
file = 'SuperNintendo-Dpad-Right.png',
alt = 'Right',
},
['down-right'] = {
file = 'SuperNintendo-Dpad-Down-Right.png',
alt = 'Lower-right',
},
['down'] = {
file = 'SuperNintendo-Dpad-Down.png',
alt = 'Down',
},
['down-left'] = {
file = 'SuperNintendo-Dpad-Down-Left.png',
alt = 'Lower-left',
},
['left'] = {
file = 'SuperNintendo-Dpad-Left.png',
alt = 'Left',
},
['up-left'] = {
file = 'SuperNintendo-Dpad-Up-Left.png',
alt = 'Upper-left',
},
['r'] = {
file = 'Nintendo R Button.png',
alt = 'R',
},
['l'] = {
file = 'Nintendo L Button.png',
alt = 'L',
},
},
['xbox'] = {
['a'] = {
file = 'Xbox Button A.png',
alt = 'A',
},
['b'] = {
file = 'Xbox Button B.png',
alt = 'B',
},
['x'] = {
file = 'Xbox Button X.png',
alt = 'X',
},
['y'] = {
file = 'Xbox Button Y.png',
alt = 'Y',
},
['black'] = {
file = 'Xbox-Button-Black.png',
alt = 'Black',
},
['white'] = {
file = 'Xbox-Button-White.png',
alt = 'White',
},
['start'] = {
file = 'Xbox-Button-Start.png',
alt = 'Start',
},
['back'] = {
file = 'Xbox Button Back.png',
alt = 'Back',
},
['left-right'] = {
file = 'Xbox Dpad Left Right.png',
alt = 'Left or right',
},
['right-left'] = {
file = 'Xbox Dpad Left Right.png',
alt = 'Left or right',
},
['up'] = {
file = 'Xbox Dpad Up.png',
alt = 'Up',
},
['right'] = {
file = 'Xbox Dpad Right.png',
alt = 'Right',
},
['down'] = {
file = 'Xbox Dpad Down.png',
alt = 'Down',
},
['left'] = {
file = 'Xbox Dpad Left.png',
alt = 'Left',
},
['up-left'] = {
file = 'Xbox-Dpad-Up-Left.png',
alt = 'Up-Left',
},
['down-left'] = {
file = 'Xbox-Dpad-Down-Left.png',
alt = 'Down-Left',
},
['up-right'] = {
file = 'Xbox-Dpad-Up-Right.png',
alt = 'Up-Right',
},
['down-right'] = {
file = 'Xbox-Dpad-Down-Right.png',
alt = 'Down-Right',
},
['rb'] = {
file = 'XboxButton-RB.png',
alt = 'Right bumper',
},
['rt'] = {
file = 'XboxButton-RT.png',
alt = 'Right trigger',
},
['rightstickpress'] = {
file = 'Xbox Button R.png',
alt = 'Right stick press',
},
['lb'] = {
file = 'XboxButton-LB.png',
alt = 'Left bumper',
},
['lt'] = {
file = 'XboxButton-LT.png',
alt = 'Left trigger',
},
['leftstickpress'] = {
file = 'Xbox Button L.png',
alt = 'Left stick press',
},
},
}