106 621
contributi
m (Annullata la modifica 644643 di F3Bot (discussione)) |
(Adding _abbr proxy function to abbreviation modules *** sovrascritto il testo esistente ***) |
||
{{#invoke: Blackabbrev | OACPtHGSS }} --> {{#invoke: Blackabbrev | OAC | Pt | HGSS }}
However, this doesn't work if the first abbreviation is not constant, for
example if it's a parameter in a template. In that case, you can use the
_abbr function to pass all the abbreviations as parameters:
{{#invoke: Blackabbrev | _abbr | {{{1}}} }}
--]]
-- Dynamically generated Wikicode interface
--[[
return lib.onMergedAbbrs(abbr, makeLinks)
end)
-- Adding _abbr proxy function
lib.proxy(ba)
return ba
|