Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Module:Module wikitext/sandbox

From Wikipedia, the free encyclopedia
<Module:Module wikitext
This is themodule sandbox page forModule:Module wikitext (diff).
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

[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{{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.
Add categories to the/doc subpage.Subpages of this module.
--[[   local p = {}p.text = ''function p.main()return p.textendfunction p._addText(text, preprocessFrame)if preprocessFrame ~= false thentext = (preprocessFrame or mw.getCurrentFrame()):preprocess(text)endp.text = p.text .. textendreturn p--]]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Module:Module_wikitext/sandbox&oldid=1025351949"
Category:

[8]ページ先頭

©2009-2025 Movatter.jp