View source for Module:ReceptionTable/de
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
local p = {}
-- Function to create the header of the table
function p.header(frame)
local part = frame.args.part or 'pb'
local headerColor = frame.args.headerColor or '#ffffff'
local width = frame.args.width or '80%'
local borderColor = frame.args.borderColor or 'var(--' .. string.lower(part) .. '2)'
local showVolume = frame.args.showVolume ~= 'false'
local header = '{| class="wikitable receptionTable diamonds" style="border-collapse: inherit; width:' .. width .. '; border: 2px groove ' .. borderColor .. '\n'
if showVolume then
header = header .. '! class="receptionTableHeader ' .. part .. '" style="color:' .. headerColor .. ';" | Band\n'
end
header = header .. '! class="receptionTableHeader ' .. part .. '" style="min-width:150px; color:' .. headerColor .. ';" | Datum\n'
header = header .. '! class="receptionTableHeader ' .. part .. '" style="color:' .. headerColor .. ';" | Stand\n'
header = header .. '! class="receptionTableHeader ' .. part .. '" style="color:' .. headerColor .. ';" | Verkaufte Exemplare\n'
header = header .. '! class="receptionTableHeader ' .. part .. '" style="color:' .. headerColor .. ';" | Summe\n'
return header
end
-- Function to create a row in the table
000
1:0
Template used on this page:
Return to Module:ReceptionTable/de.