106 621
contributi
m (Annullata la modifica 644641 di F3Bot (discussione)) |
(Adding _abbr proxy function to abbreviation modules *** sovrascritto il testo esistente ***) |
||
--[[
This module creates link to games, displaying them in superscripts with
Examples:
{{#invoke: Sup | HGSS | XY | ROZA }}
HINT: If you get an Errore Script, try to split an abbreviation into smaller
{{#invoke: Sup | OACPtHGSS }} --> {{#invoke: Sup | 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: Sup | _abbr | {{{1}}} }}
--]]
-- Dynamically generated Wikicode interface
--[[
return lib.onMergedAbbrs(abbr, makeLinks, makeSup)
end)
-- Adding _abbr proxy function
lib.proxy(sup)
return sup
|