మాడ్యూల్:URL: కూర్పుల మధ్య తేడాలు
Content deleted Content added
+-- See unit tests at Module:URL/tests |
Modify to access module's frame args instead of parent's, and have the template pass them through - this is the conventional way of writing modules and makes them more reusable and easier to test |
||
పంక్తి 46:
function p.url(frame)
local templateArgs = frame
local url = templateArgs[1] or ''
local text = templateArgs[2] or ''
|