Extension:TemplateWizard
TemplateWizard Release status: stable |
|
---|---|
File:TemplateWizard help template en.png | |
Implementation | User interface |
Description | Adds a popup dialog box for adding template code to wikitext. |
Author(s) | samwilsontalk |
Latest version | 0.1.0 |
Compatibility policy | Snapshots releases along with MediaWiki. Master is not backward compatible. |
MediaWiki | >= 1.42 |
Database changes | No |
License | MIT License |
Download | README |
Help | Help:Extension:TemplateWizard |
Example | Available on Wikimedia wikis (including this one). |
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Translate the TemplateWizard extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The TemplateWizard extension adds a popup dialog box for adding template code to wikitext. End-user help for this extension is located at Help:Extension:TemplateWizard .
Installation
- First install the TemplateData and WikiEditor extensions, and optionally CirrusSearch .
- <translate> [[<tvar name=2>Special:ExtensionDistributor/TemplateWizard</tvar>|Download]] and move the extracted <tvar name=name>
TemplateWizard
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateWizard - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'TemplateWizard' );
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Usage notes
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 can be provided with templates. It does work with templates that do not have TemplateData, but provides a much better experience if TemplateData is used. For this reason, it's a good idea to make sure your templates provide TemplateData. For more information on how to add TemplateData to your templates, please see this guide.
If the Extension:CirrusSearch is installed, then the template search form will display improved search results. Without that extension, template search is done as an exact prefix search on the template title.
See also
- Help:Extension:TemplateWizard – end-user help for this extension.
- Extension:TemplateData – the extension that provides the information about templates.
- Extension:WikiEditor – the extension that provides the editing toolbar.
File:Wikimedia-logo black.svg | <translate> This {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is being used on one or more [[<tvar name=2>m:Special:MyLanguage/Wikimedia projects</tvar>|Wikimedia projects]].</translate> <translate> This probably means that the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is stable and works well enough to be used by such high-traffic websites.</translate> <translate> Look for this {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension's|skin's}} name in Wikimedia's <tvar name=2>CommonSettings.php</tvar> and <tvar name=3>InitialiseSettings.php</tvar> configuration files to see where it's installed.</translate> <translate> A full list of the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extensions|skins}} installed on a particular wiki can be seen on the wiki's <tvar name=ver>Special:Version</tvar> page.</translate> |
TemplateWizard help template en.png |
- Pages with script errors
- Pages with broken file links
- Stable extensions
- User interface extensions
- Extensions with release branches compatibility policy
- MIT licensed extensions
- Extensions in Wikimedia version control
- ResourceLoaderGetConfigVars extensions
- All extensions
- Extensions used on Wikimedia
- Template extensions