Board Thread:Support Requests - Getting Technical/@comment-17033657-20160715153219

I need help transferring this module to my wiki. I have the template set up, I am just confused as to how I convert the code in that module to my wiki's module. If someone could do that or help me do that, that'd be great.

Here are some of the specifications I'd like that include the colors I want and the images I'd use: local foregroundColor = '#822920' local backgroundColor = '#afa669'

-- Make the expanded cell. do local id = 'canontab-expanded' local link = expandedTitle local color, image, tooltip if pageType == 'expanded' then color = foregroundColor image = 'Tab-expanded-black.png' tooltip = 'This article covers the Expanded Canon version of this subject.' else color = backgroundColor image = 'Tab-expanded-black.png' tooltip = "Click here for the JMN Database's article on the Expanded Canon version of this subject." end row:node(makeCell(id, color, image, link, tooltip)) end

-- First separator cell row:tag('td') :attr('id', 'canontab-separator1') :css('width', '3px') :wikitext(' ') -- Make the pure cell do local id = 'canontab-pure' local link = pureTitle local color, image, tooltip if pageType ~= 'expanded' then -- is a Pure page color = foregroundColor image = 'Tab-pure-black.png' tooltip = 'This article covers the Pure Canon version of this subject.' else -- is a Pure page color = backgroundColor image = 'Tab-pure-black.png' tooltip = "Click here for the JMN Database's article on the Pure Canon version of this subject." end row:node(makeCell(id, color, image, link, tooltip)) end  