Module:Module wikitext/doc: Difference between revisions
Appearance
Content deleted Content added
Jackmcbarn (talk | contribs) ←Created page with '<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Usage == This is an auxil...' |
(No difference)
|
Revision as of 17:28, 7 September 2020
Usage
This is an auxiliary module used to allow module pages to display wikitext. Use it by overwriting the main
method to return whatever content you want to display. The _setText
helper method may be useful. For example, to tag a module with {{db-g7}}, put require('Module:Module wikitext')._setText('{{db-g7}}')
at the top of it.