Modül:Çizelge
--
-- keywords are used for languages: they are the names of the actual parameters of the template local function Standartrenk() return {'red','red',
'blue','blue',
'green','green',
'yellow','yellow',
'fuchsia','fuchsia',
'aqua','aqua',
'brown','brown',
'orange','orange',
'purple','purple',
'sienna','sienna',
'amethyst','#F0A3FF',
'ebony','#191919',
'forest','#005C31',
'honeydew','#FFCC99',
'iron','#808080',
'khaki','#8F7C00',
'lime','#9DCC00',
'navy','#003380',
'pink','#FFA8BB',
'quagmire','#426600',
'sky','#5EF1F2',
'turquoise','#00998F',
'uranium','#E0FF66',
'violet','#740AFF',
'xanthin','#FFFF80',
'zinnia','#FF5005'}
end
local keywords = { barChart = 'sütun grafik', pieChart = 'dilim grafik', width = 'genişlik', height = 'yükseklik', stack = 'yığılı', colors = 'renkler', group = 'grup', xlegend = 'lejand', yticks = 'y tick marks', tooltip = 'bilgi', accumulateTooltip = 'yığın toplamı', links = 'bağlantı', defcolor = 'Standartrenk', scalePerGroup = 'ayrı ölçek', unitsPrefix = 'ön ek', unitsSuffix = 'son ek', groupNames = 'grup adı', hideGroupLegends = 'sakla', slices = 'dilimler', slice = 'dilim', radius = 'yarıçap', percent = 'yüzde',
} -- here is what you want to translate
local defColors = Standartrenk();
local hideGroupLegends
local function nulOrWhitespace( s ) return not s or mw. text. trim( s ) == end
local function createGroupList( tab, legends, cols ) if #legends > 1 and not hideGroupLegends then table.