编辑“
Module:Special wikitext/Custom Module
”
跳转到导航
跳转到搜索
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
local p = {} require('Module:Module wikitext')._addText([[{{#ifexpr:{{{is_in_doc|0}}}=0|{{Special wikitext/Hide Code}}{{Special wikitext/Hide Doc}}<div class="special-wikitext-not-hide"> {{#invoke:Special_wikitext/Custom_Module/tools|removeIndicator|{{#invoke:documentation|main|is_in_doc={{#expr:{{{is_in_doc|0}}}+1}}|_content={{ {{#invoke:documentation|contentTitle}}}}}}}} <syntaxhighlight lang=cpp line> #include <string> #include "Module:Special_wikitext/Custom_Module/tools.h" #include "Module:Special wikitext/Custom Module.h" std::string main () { std::string wikitext = new mw::title("Template:Special wikitext/Custom Module")->getContent(); wikitext = removeNoinclude(wikitext); mw::frame *frame = mw::getCurrentFrame(); wikitext = frame->preprocess(wikitext); wikitext = removeIndicator(wikitext); return wikitext; }</syntaxhighlight></div>{{AnyLink|Category:使用自訂模組頁面的模組|Special wikitext/Custom Module}}}}]]) function p.main() local tools = require("Module:Special_wikitext/Custom_Module/tools") local wikitext = mw.title.new("Template:Special wikitext/Custom Module"):getContent() wikitext = tools.removeNoinclude(wikitext) local frame = mw.getCurrentFrame() wikitext = frame:preprocess(wikitext) wikitext = tools.removeIndicator(wikitext) return wikitext end return p
摘要:
请注意,您对Positive WiKi的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Positive WiKi:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)
本页使用的模板:
Module:Special wikitext/Custom Module/doc
(
编辑
)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
模块
讨论
English
查看
阅读
编辑源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息