m (Technobliterator moved page Module:Button/data to Module:Icon/data: allows it to be used for all) |
No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 32: | Line 32: | ||
file = 'Button select.svg', |
file = 'Button select.svg', |
||
alt = 'Select', |
alt = 'Select', |
||
+ | }, |
||
+ | ['options'] = { |
||
+ | file = 'Button options.svg', |
||
+ | alt = 'Options', |
||
}, |
}, |
||
['rightstick'] = { |
['rightstick'] = { |
||
Line 48: | Line 52: | ||
file = 'Button leftstick.svg', |
file = 'Button leftstick.svg', |
||
alt = 'Left stick', |
alt = 'Left stick', |
||
+ | }, |
||
+ | ['u'] = { |
||
+ | file = 'Button up.svg', |
||
+ | alt = 'Up', |
||
}, |
}, |
||
['up'] = { |
['up'] = { |
||
file = 'Button up.svg', |
file = 'Button up.svg', |
||
alt = 'Up', |
alt = 'Up', |
||
+ | }, |
||
+ | ['d'] = { |
||
+ | file = 'Button down.svg', |
||
+ | alt = 'Down', |
||
}, |
}, |
||
['down'] = { |
['down'] = { |
||
file = 'Button down.svg', |
file = 'Button down.svg', |
||
alt = 'Down', |
alt = 'Down', |
||
+ | }, |
||
+ | ['l'] ={ |
||
+ | file = 'Button left.svg', |
||
+ | alt = 'Left', |
||
}, |
}, |
||
['left'] ={ |
['left'] ={ |
||
file = 'Button left.svg', |
file = 'Button left.svg', |
||
alt = 'Left', |
alt = 'Left', |
||
+ | }, |
||
+ | ['r'] = { |
||
+ | file = 'Button right.svg', |
||
+ | alt = 'Right', |
||
}, |
}, |
||
['right'] = { |
['right'] = { |
||
Line 86: | Line 106: | ||
}, |
}, |
||
['l3'] = { |
['l3'] = { |
||
− | file = ' |
+ | file = 'Button l3.svg', |
alt = 'L3', |
alt = 'L3', |
||
}, |
}, |
||
− | [' |
+ | ['sr'] = { |
file = 'Button sr.svg', |
file = 'Button sr.svg', |
||
alt = 'Right shoulder button', |
alt = 'Right shoulder button', |
||
}, |
}, |
||
− | [' |
+ | ['sl'] = { |
file = 'Button sl.svg', |
file = 'Button sl.svg', |
||
alt = 'Left shoulder button', |
alt = 'Left shoulder button', |
||
Line 100: | Line 120: | ||
['nintendo'] = { |
['nintendo'] = { |
||
['a'] = { |
['a'] = { |
||
− | file = ' |
+ | file = 'ButtonA.png', |
alt = 'A', |
alt = 'A', |
||
}, |
}, |
||
['b'] = { |
['b'] = { |
||
− | file = ' |
+ | file = 'ButtonB.png', |
alt = 'B', |
alt = 'B', |
||
}, |
}, |
||
['x'] = { |
['x'] = { |
||
− | file = ' |
+ | file = 'ButtonX.png', |
alt = 'X', |
alt = 'X', |
||
}, |
}, |
||
['y'] = { |
['y'] = { |
||
− | file = ' |
+ | file = 'ButtonY.png', |
alt = 'Y', |
alt = 'Y', |
||
}, |
}, |
||
Line 261: | Line 281: | ||
alt = 'Left stick press', |
alt = 'Left stick press', |
||
}, |
}, |
||
+ | }, |
||
+ | ['wiki'] = { |
||
+ | ['optional'] = { |
||
+ | file = 'Icon optional.png', |
||
+ | alt = 'Optional' |
||
+ | }, |
||
+ | ['required'] = { |
||
+ | file = 'Icon required.png', |
||
+ | alt = 'Required' |
||
+ | }, |
||
+ | ['semi-required'] = { |
||
+ | file = 'Icon semi-required.png', |
||
+ | alt = 'Semi-required' |
||
+ | } |
||
}, |
}, |
||
} |
} |
Latest revision as of 05:35, 24 January 2020
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',
},
['options'] = {
file = 'Button options.svg',
alt = 'Options',
},
['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',
},
['u'] = {
file = 'Button up.svg',
alt = 'Up',
},
['up'] = {
file = 'Button up.svg',
alt = 'Up',
},
['d'] = {
file = 'Button down.svg',
alt = 'Down',
},
['down'] = {
file = 'Button down.svg',
alt = 'Down',
},
['l'] ={
file = 'Button left.svg',
alt = 'Left',
},
['left'] ={
file = 'Button left.svg',
alt = 'Left',
},
['r'] = {
file = 'Button right.svg',
alt = 'Right',
},
['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 = 'Button l3.svg',
alt = 'L3',
},
['sr'] = {
file = 'Button sr.svg',
alt = 'Right shoulder button',
},
['sl'] = {
file = 'Button sl.svg',
alt = 'Left shoulder button',
},
},
['nintendo'] = {
['a'] = {
file = 'ButtonA.png',
alt = 'A',
},
['b'] = {
file = 'ButtonB.png',
alt = 'B',
},
['x'] = {
file = 'ButtonX.png',
alt = 'X',
},
['y'] = {
file = 'ButtonY.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',
},
},
['wiki'] = {
['optional'] = {
file = 'Icon optional.png',
alt = 'Optional'
},
['required'] = {
file = 'Icon required.png',
alt = 'Required'
},
['semi-required'] = {
file = 'Icon semi-required.png',
alt = 'Semi-required'
}
},
}