66 637
contributi
mNessun oggetto della modifica |
(Process Secondary Box according to P177) |
||
Riga 54: | Riga 54: | ||
-- @return String with expanded templates | -- @return String with expanded templates | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
function p. | function p.SecondaryBox(frame) | ||
local FinalString | local FinalString | ||
local NSPrefix = "Template:" | local NSPrefix = "Template:" | ||
local PropertyNumber = "P177" | |||
--FinalString = string.sub(PropertiesOnTree("P177", 3, false, false, true), string.len(NSPrefix)) | |||
FinalString = frame:expandTemplate{title = string.sub(PropertiesOnTree(PropertyNumber, 3, false, false, true), string.len(NSPrefix))} | |||
return FinalString | return FinalString | ||
end | end | ||
return p | return p |