Jump to content

Module:Module wikitext/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Jackmcbarn (talk | contribs) at 17:28, 7 September 2020 (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...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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.