Jump to content

Module:TestSitelinkAspects: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Created page with 'local mw = require('mw') local entity = mw.wikibase.getEntity() local props = entity and entity.claims or {} local result = {} for pid, _ in pairs(props) do table.insert(result, "{{#statements:" .. pid .. "}}") end return table.concat(result, "\n")'
Tag: Recreated
(No difference)

Revision as of 14:31, 27 February 2025

local mw = require('mw')
local entity = mw.wikibase.getEntity()
local props = entity and entity.claims or {}

local result = {}
for pid, _ in pairs(props) do
    table.insert(result, "{{#statements:" .. pid .. "}}")
end

return table.concat(result, "\n")