Module:Submit an edit request/doc: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
छो २ revisions imported from en:Module:Submit_an_edit_request/doc
छो Bot: Replace deprecated <source> tag and "enclose" parameter [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html]
 
लाइन 9:
To use this module from other Lua modules, first load the module.
 
<sourcesyntaxhighlight lang="lua">
local mEditRequest = require('Module:Submit an edit request')
</syntaxhighlight>
</source>
 
You can then use the _button function to generate an edit request button, and the _link function to generate an edit request link.
 
<sourcesyntaxhighlight lang="lua">
mEditRequest._button(args)
mEditRequest._link(args)
</syntaxhighlight>
</source>
 
The <var>args</var> variable should be a table containing the arguments to pass to the module. To see the different arguments that can be specified and how they affect the module output, please refer to the documentation of {{tl|Submit an edit request}} and {{tl|Submit an edit request/link}}.