Module:Unsubst: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Deprecate the $N parameter; the template name is now detected automatically. The $N check is still present until all transclusions have been updated. Code courtesy of User:Anomie, User:Jackmcbarn and myself.) |
(add tracking category per protected edit request by User:Jackmcbarn) |
||
Line 60: | Line 60: | ||
---- Not substing |
---- Not substing |
||
-- Just return the "body" |
-- Just return the "body" |
||
return frame.args['$B'] .. (frame.args['$N'] and frame:getParent():getTitle() == mw.title.getCurrentTitle().prefixedText and '[[Category:Calls to Module:Unsubst that use $N]]' or '') |
|||
return frame.args['$B'] |
|||
end |
end |
||
end |
end |