Module:Dabs: Difference between revisions
From Warwick Wiki
Created page with "local p = {} function p.dabAway(title) return title:gsub(" %(.+%)","") end function p.dabAwayTemplate(frame) return p.dabAway(frame:getParent().args[0]) end return p" |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
function p.dabAwayTemplate(frame) | function p.dabAwayTemplate(frame) | ||
return p.dabAway(frame:getParent().args[ | return p.dabAway(frame:getParent().args[1]) .. "" | ||
end | end | ||
return p | return p |
Latest revision as of 18:20, 31 August 2025
Powers templates like {{dab away}}.