• Transport-Info.eu
  • Menu
  • Countries (A-I)
    • Austria
    • Belgium
    • Bulgaria
    • Croatia
    • Cyprus
    • Czech Republic
    • Denmark
    • Estonia
    • Finland
    • France
    • Germany
    • Greece
    • Hungary
    • Iceland
    • Ireland
    • Italy
  • Countries (L-Z)
    • Lativa
    • Lithuania
    • Luxembourg
    • Netherlands
    • Norway
    • Poland
    • Portugal
    • Romania
    • Slovakia
    • Slovenia
    • Spain
    • Sweden
    • Switzerland
    • UK
  • Documents
    • ATA Carnet
    • Driver Attestation
    • Green Card
  • Tips
    • Best Driving Apps
    • Emissions Stickers
    • HGV Parking Locations
    • Toll Box Identification
    • Vignette Identification
    • Winter Driving
  • Misc
    • Running Lights
    • What links here
    • Related changes
    • Special pages
    • Printable version
    • Permanent link
    • Page information
    • Recent changes
    • Help
    • Log in

Module

local p = {}

function p.usesProperty(frame) local args = frame.getParent(frame).args or nil if mw.text.trim(args[1] or ) == then args = frame.args end local result = local ii = 1 while true do local p_num = mw.text.trim(args[ii] or ) if p_num ~= then local label = mw.wikibase.label(p_num) or "NO LABEL"

result = result .. "

  • 4px " .. label .. " (" .. string.upper(p_num) .. ") (see " .. p_num .. "%20%3Fvalue%20.%20%23Collecting%20all%20items%20which%20have%20" .. p_num .. "%20data%2C%20from%20whole%20WikiData%20item%20pages%0A%09OPTIONAL%20%7B%3FEnglish_WikiPedia_article%20schema%3Aabout%20%3FWikiData_item_%3B%20schema%3AisPartOf%20%3Chttps%3A%2F%2Fen.wikipedia.org%2F%3E%20.%7D%20%23If%20collected%20item%20has%20link%20to%20English%20WikiPedia%2C%20show%20that%0A%09SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22%20%20%7D%20%23Show%20label%20in%20this%20language.%20%22en%22%20is%20English.%20%20%20%0A%7D%0ALIMIT%201000 uses)

"

ii = ii + 1 else break end end return result end

return p

Retrieved from ‘https://transport-info.eu/index.php?title=Module:Uses_Wikidata&oldid=312’
Category:
  • Pages with broken file links
  • This page was last modified on 19 October 2018, at 10:27.
  • About Transport-Info.eu