扩展:模板精灵
![]() 發佈狀態: 穩定版本 |
|
---|---|
![]() |
|
实现 | 用户界面 |
描述 | 增加了一个弹出的对话框,可用于添加模板代码至维基文本。 |
作者 | samwilson讨论 |
最新版本 | 0.1.0 |
兼容性政策 | 快照跟随MediaWiki发布。 master分支不向後兼容。 |
MediaWiki | 1.31+ |
数据库更改 | 否 |
许可协议 | MIT授權條款 |
下載 | README |
帮助 | Help:Extension:TemplateWizard/zh |
示例 | 在维基媒体计划上可用(包括这一网站)。 |
季度下載量 | 163 (Ranked 64th) |
公開的wiki使用 | 1,046 (Ranked 241st) |
翻譯TemplateWizard的扩展,若在translatewiki.net可用 | |
問題 | 尚未完成的工作 · 报告錯誤 |
The TemplateWizard extension adds a popup dialog box for adding template code to wikitext. End-user help for this extension is located at 帮助:扩展:模板助手 .
安裝
- First install Extension:TemplateData and 扩展:Wiki编辑器 .
- 下载文件,并将其放置在您
extensions/
文件夹中的TemplateWizard
目录内。 - 将下列代码放置在您的
LocalSettings.php
的底部:wfLoadExtension( 'TemplateWizard' );
- 完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。
Installation and usage note
TemplateWizard provides a visual dialog that helps editors insert templates in a guided manner. In order to do that, it uses the TemplateData information that is provided within the template. Please make sure your templates contain the TemplateData definition. For more information on how to add TemplateData to your templates, please see this guide.
参见
- 帮助:扩展:模板助手 – end-user help for this extension.
- Extension:TemplateData – the extension that provides the information about templates.
- 扩展:Wiki编辑器 – the extension that provides the editing toolbar.
此扩展用于一个或多个维基媒体项目。 这可能意味着扩展足够稳定、运作足够良好,可以用在这样的高流量的网站上。 请在维基媒体的CommonSettings.php和InitialiseSettings.php配置文件中查找此扩展的名称以查看哪些网站安装了该扩展。 特定wiki上的已安装的扩展的完整列表位于Special:Version页面。 |
这个扩展包含在以下包和/或维基农场: 这不是一个权威的名单。一些维基农场/主机可能包含这个extension,即使它们没有在这里列出。经常检查您的维基农场/主机或包来确认。 |