Jump to content

Mòideal:Submit an edit request/doc

O Wiktionary

This is the documentation page for Mòideal:Submit an edit request

(deasbaireachd⧼tpt-languages-separator⧽deasaich⧼tpt-languages-separator⧽eachdraidh⧼tpt-languages-separator⧽ceanglaichean⧼tpt-languages-separator⧽doc⧼tpt-languages-separator⧽bogsa-gainmhich⧼tpt-languages-separator⧽cùisean deuchainn)

This module implements the {{Submit an edit request}} and {{Submit an edit request/link}} templates.

Ùsaid bho uiciteacsa - Usage from wikitext

To use this template from wikitext, you should normally use the {{Submit an edit request}} and {{Submit an edit request/link}} templates. However, the module can also be used directly from #invoke. For the edit request button, use {{#invoke:Submit an edit request|button|args}}, and for the edit request link only, use {{#invoke:Submit an edit request|link|args}}. Please see the respective template pages for a list of available parameters.

Ùsaid bho Lua - Usage from Lua

To use this module from other Lua modules, first load the module.

local mEditRequest = require('Mòideal:Submit an edit request')

You can then use the _button function to generate an edit request button, and the _link function to generate an edit request link.

mEditRequest._button(args)
mEditRequest._link(args)

The args 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 {{Submit an edit request}} and {{Submit an edit request/link}}.

Réiteachadh - Configuration

This module can be translated and configured for other wikis by editing Mòideal:Submit an edit request/config.