17,101
edits
Falterfire (talk | contribs) (Added p._getItemEquipSlot (for use with the DR table I'm adding to Items/ComparisonTables) |
(buildSmithableArmourNav: Add classes & styles typical of other nav boxes) |
||
Line 654: | Line 654: | ||
function p.buildSmithableArmourNav(frame) | function p.buildSmithableArmourNav(frame) | ||
local resultPart = {} | local resultPart = {} | ||
table.insert(resultPart, '{| class="wikitable mw-collapsible"') | table.insert(resultPart, '{| class="wikitable mw-collapsible navigation-not-searchable" style="margin:auto; clear:both; width: 100%"') | ||
table.insert(resultPart, '\r\n!colspan = 2 style="background-color:#275C87;color:#FFFFFF;min-width:730px;"|') | table.insert(resultPart, '\r\n!colspan = 2 style="background-color:#275C87;color:#FFFFFF;min-width:730px;"|') | ||
table.insert(resultPart, Icons.Icon({'Smithing', type='skill', notext=true})) | table.insert(resultPart, Icons.Icon({'Smithing', type='skill', notext=true})) |