Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Module:Module wikitext

Permanently protected module
From Wikipedia, the free encyclopedia
Module documentation[view] [edit] [history] [purge]
Logo of Twinkle; Police ManAnybreaking changes to this template, including moving it or nominating it for deletion,must be communicated in advance toTwinkle's users and maintainers atWikipedia talk:Twinkle. The standard installation of Twinkle relies on this template. Thank you.

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{{db-g7}}, putrequire('Module:Module wikitext')._addText('{{db-g7}}') at the top of it.

The abovedocumentation istranscluded fromModule:Module wikitext/doc.(edit |history)
Editors can experiment in this module'ssandbox(edit |diff) 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://en.wikipedia.org/w/index.php?title=Module:Module_wikitext&oldid=977230905"
Category:
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp