Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Module:Module wikitext

From mediawiki.org
Module documentation

Usage

[edit]

This is an auxiliary module used to allow module pages to display wikitext. Use it by setting this module'stext value to whatever content you want to display. The_addText helper method may be useful. For example, to tag a module with {{Delete}}, putrequire('Module:Module wikitext')._addText('{{delete|reason}}') at the top of it.

The abovedocumentation istranscluded fromModule:Module wikitext/doc.(edit |history)
Editors can experiment in this module’s sandbox(create |mirror) and testcases(create) pages.
Subpages of this module.

localp={}p.text=''functionp.main()returnp.textendfunctionp._addText(text,preprocessFrame)ifpreprocessFrame~=falsethentext=(preprocessFrameormw.getCurrentFrame()):preprocess(text)endp.text=p.text..textendreturnp
Retrieved from "https://www.mediawiki.org/w/index.php?title=Module:Module_wikitext&oldid=5775457"
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp