dw>RaFaDa20631 |
|
| (1 revisi perantara oleh pengguna yang sama tidak ditampilkan) |
| Baris 1: |
Baris 1: |
| return {
| | local p = {} |
| ["B-Class"] = 36000,
| | |
| ["BBC_Online"] = 3500,
| | function p.fetch(frame) |
| ["BBC_programme"] = 2400,
| | local template = nil |
| ["BCGNIS"] = 2100,
| | local return_value = nil |
| ["BDFutbol"] = 6800,
| | |
| ["BEL"] = 8200,
| | -- Use demo parameter if it exists, otherswise use current template name |
| ["BGR"] = 4900,
| | local namespace = mw.title.getCurrentTitle().namespace |
| ["BIH"] = 3500, | | if frame.args["demo"] and frame.args["demo"] ~= "" then |
| ["BLP"] = 1080000, | | template = frame.args["demo"] |
| ["BLP_others"] = 6300,
| | elseif namespace == 10 then -- Template namespace |
| ["BLP_primary_sources"] = 6000,
| | template = mw.title.getCurrentTitle().text |
| ["BLP_sources"] = 88000, | | elseif namespace == 828 then -- Module namespace |
| ["BLP_unsourced"] = 6600,
| | template = (mw.site.namespaces[828].name .. ":" .. mw.title.getCurrentTitle().text) |
| ["BLP_unsourced_section"] = 4800,
| | end |
| ["BLR"] = 5100,
| | |
| ["BRA"] = 8400,
| | -- If in template or module namespace, look up count in /data |
| ["BS"] = 2400,
| | if template ~= nil then |
| ["BS-map"] = 3900,
| | namespace = mw.title.new(template, "Template").namespace |
| ["BS-map/map"] = 3800,
| | if namespace == 10 or namespace == 828 then |
| ["BS-overlap"] = 4700,
| | template = mw.ustring.gsub(template, "/doc$", "") -- strip /doc from end |
| ["BS3"] = 2200, | | local index = mw.ustring.sub(mw.title.new(template).text,1,1) |
| ["BS_template"] = 2600,
| | local data = mw.loadData('Module:Transclusion_count/data/' .. (mw.ustring.find(index, "%a") and index or "other")) |
| ["BSpx"] = 4700,
| | return_value = tonumber(data[mw.ustring.gsub(template, " ", "_")]) |
| ["BSrow"] = 4100,
| | end |
| ["BSsplit"] = 11000,
| | end |
| ["BSto"] = 6500,
| | |
| ["BUL"] = 4500,
| | -- If database value doesn't exist, use value passed to template |
| ["BWF"] = 2100,
| | if return_value == nil and frame.args[1] ~= nil then |
| ["Babel"] = 40000,
| | local arg1=mw.ustring.match(frame.args[1], '[%d,]+') |
| ["Background_color"] = 5300,
| | return_value = tonumber(frame:callParserFunction('formatnum', arg1, 'R')) |
| ["Bad_JPEG"] = 2700,
| | end |
| ["Bar_box"] = 6100,
| | |
| ["Bar_percent"] = 5900,
| | return return_value |
| ["Bare_URL_inline"] = 13000,
| | end |
| ["Base_Mérimée"] = 2000,
| | |
| ["Baseball_navbox"] = 11000,
| | return p |
| ["Baseball_primary_link"] = 6600,
| |
| ["Baseball_primary_style"] = 13000,
| |
| ["Baseball_secondary_link"] = 6200,
| |
| ["Baseball_secondary_style"] = 11000,
| |
| ["Baseball_year"] = 14000,
| |
| ["Baseballstats"] = 24000,
| |
| ["Based_on"] = 22000,
| |
| ["Basketball_color"] = 6000,
| |
| ["Basketball_color_cell"] = 10000,
| |
| ["Basketball_color_cell2"] = 4300,
| |
| ["Basketball_current_roster"] = 2500,
| |
| ["Basketball_kit"] = 3500,
| |
| ["Basketballbox"] = 4500,
| |
| ["Basketballstats"] = 2600,
| |
| ["Bda"] = 2700,
| |
| ["Better_source"] = 6700,
| |
| ["Better_source_needed"] = 15000,
| |
| ["Bibleref2"] = 2000,
| |
| ["Bibleref2/url"] = 2300,
| |
| ["Bibleverse"] = 6400,
| |
| ["Big"] = 189000,
| |
| ["Bigger"] = 38000,
| |
| ["BillboardURLbyName"] = 10000,
| |
| ["Bio_icon"] = 86000,
| |
| ["Bio_icon2"] = 86000,
| |
| ["Biographical_Directory_of_Congress"] = 10000,
| |
| ["Bioguide"] = 3200,
| |
| ["BirdTalk"] = 9300,
| |
| ["Birds_tasks"] = 26000,
| |
| ["Birth-date"] = 24000,
| |
| ["Birth-date_and_age"] = 12000,
| |
| ["Birth_based_on_age_as_of_date"] = 4100,
| |
| ["Birth_date"] = 330000,
| |
| ["Birth_date_and_age"] = 679000,
| |
| ["Birth_date_and_age2"] = 4900,
| |
| ["Birth_year"] = 6400,
| |
| ["Birth_year_and_age"] = 33000,
| |
| ["Bk"] = 3700,
| |
| ["Black"] = 8300,
| |
| ["Blist"] = 24000,
| |
| ["Block_indent"] = 227000,
| |
| ["Block_indent/styles.css"] = 227000,
| |
| ["Blocked_proxy"] = 17000,
| |
| ["Blockedandtagged"] = 4500,
| |
| ["Blockquote"] = 158000,
| |
| ["Blockquote/styles.css"] = 158000, | |
| ["Blue"] = 11000,
| |
| ["Bnt"] = 4000,
| |
| ["Border"] = 2100,
| |
| ["BotApproved"] = 2200,
| |
| ["BotTrial"] = 2400,
| |
| ["Bot_trial"] = 2400,
| |
| ["Botanist"] = 4500,
| |
| ["Both"] = 1410000,
| |
| ["Bots"] = 15000,
| |
| ["Box"] = 2200,
| |
| ["Box-footer"] = 6200,
| |
| ["Box-header"] = 5600,
| |
| ["Box-shadow_border"] = 78000,
| |
| ["BoxRec"] = 4900,
| |
| ["Boxbottom"] = 2600,
| |
| ["Boxboxbottom"] = 16000,
| |
| ["Boxboxtop"] = 19000, | |
| ["BoxingRecordSummary"] = 2700,
| |
| ["Boxing_record_summary"] = 2700,
| |
| ["Boxrec"] = 4400,
| |
| ["Bq"] = 6500,
| |
| ["Br"] = 3200,
| |
| ["Br_separated_entries"] = 1750000,
| |
| ["Brca"] = 2600,
| |
| ["Break"] = 11000,
| |
| ["British_English"] = 13000,
| |
| ["British_crime_opentask"] = 2400,
| |
| ["Broken_ref"] = 48000,
| |
| ["Broken_ref/lang"] = 48000,
| |
| ["Broken_ref/styles.css"] = 47000,
| |
| ["Bronze03"] = 15000,
| |
| ["Bronze3"] = 41000,
| |
| ["Bronze_medal"] = 5000,
| |
| ["Buddhism_topics"] = 2100,
| |
| ["Bulleted_list"] = 64000,
| |
| ["Bus_icon"] = 2900,
| |
| ["Busy"] = 2700,
| |
| ["Butt-Stations"] = 2400,
| |
| ["Button"] = 41000,
| |
| ["By"] = 5000, | |
| ["By_whom"] = 7800, | |
| ["Module:Babel"] = 40000,
| |
| ["Module:BaseConvert"] = 32000,
| |
| ["Module:Based_on"] = 22000,
| |
| ["Module:Bibleverse"] = 6400,
| |
| ["Module:Box-header"] = 5800,
| |
| ["Module:Box-header/colours"] = 5800,
| |
| ["Module:British_regnal_year"] = 2800,
| |
| ["Module:British_regnal_year/data"] = 2800,
| |
| ["Module:Buffer"] = 2380000,
| |
| }
| |