Jump to: navigation, search

Other languages:
asturianu 21% • ‎azərbaycanca 58% • ‎български 53% • ‎bosanski 100% • ‎dansk 100% • ‎Deutsch 74% • ‎Zazaki 53% • ‎Ελληνικά 79% • ‎emiliàn e rumagnòl 53% • ‎English 100% • ‎español 100% • ‎suomi 100% • ‎føroyskt 95% • ‎français 100% • ‎galego 100% • ‎Avañe'ẽ 58% • ‎hrvatski 100% • ‎magyar 58% • ‎Հայերեն 5% • ‎Bahasa Indonesia 100% • ‎Ilokano 100% • ‎italiano 68% • ‎日本語 100% • ‎ქართული 11% • ‎ភាសាខ្មែរ 58% • ‎한국어 79% • ‎Lëtzebuergesch 11% • ‎македонски 26% • ‎polski 100% • ‎پښتو 5% • ‎português 79% • ‎português do Brasil 79% • ‎Scots 100% • ‎slovenščina 74% • ‎српски / srpski 100% • ‎中文 100%

What is TemplateData?[edit | edit source]

VisualEditor, the visual interface to edit wiki pages, includes a tool to easily edit templates. However, in order for that tool to be most useful, it needs to be able to pull information about the template; mostly, it needs a list of possible parameters for the template, and their characteristics.

Without TemplateData[edit | edit source]

VisualEditor - Template without TemplateData.png

Without TemplateData, each parameter needs to be added manually when inserting a new template.

VisualEditor - Template without TemplateData2.png

No information is provided about what the value of the parameter should be.

With TemplateData[edit | edit source]

VisualEditor - Template with TemplateData1.png

With TemplateData, a list of supported parameters (and their description) is provided for the template.

VisualEditor - Template with TemplateData2.png

TemplateData provides context for each parameter, and makes it much easier for users to modify templates.

Adding TemplateData[edit | edit source]

One of the things we need volunteers to do is the adding of TemplateData to templates (particularly high-profile ones, such as infoboxes) so that they are easy to edit.

The TemplateData help page explains how to add TemplateData information to a template.

You can probably think of some pretty important templates on your wiki very easily; experienced users know pretty well which templates are a big deal, and will inevitably find out when they try to use them and discover there isn't any TemplateData.

You can find an automatically-generated list of most used templates on your wiki on the Special:MostUsedTemplates special page. If you're interested in obtaining a copy of that list in wiki format (easier for collaboration), we can build that list for you. Please send your request by e-mail to okeyes-at-wikimedia-dot-org.

List of most used templates[edit | edit source]