Movatterモバイル変換


[0]ホーム

URL:


Jump to content
Wikiversity
Search

Module:Module wikitext

From Wikiversity

Usage

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.


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

[8]ページ先頭

©2009-2025 Movatter.jp