Jump to content

Module:Documentation/doc

Frae Wikipedia, the free beuk o knawledge

This module displays a blue box containing documentation faer templates, Lua modules, or other pages. The {{documentation}} template invokes it.

Normal uisage

[eedit soorce]

Faer muist uises, you should uise the {{documentation}} template; please see that template's page faer its uosage instructions an parameters.

Uise in ither modules

[eedit soorce]

To uise this module frae another Lua module, first load it with require:

local documentation = require('Module:Documentation').main

Then you can simply call it using a table of arguments.

documentation{content = 'Some documentation', ['link box'] = 'My custom link box'}

Please refer tae the template documentation faer uisage instructions an a list of parameters.