For faster navigation, this Iframe is preloading the Wikiwand page for विकिपीडिया:TemplateData.

विकिपीडिया:TemplateData

What is TemplateData?

[संपादन करीं]

TemplateData is the standardized description of a template, used by VisualEditor to improve the template-editing experience for the user. VisualEditor includes a wizard to edit templates, but for the wizard to be most useful, it needs to present specific information to the user about each template, such as a short description of the template's purpose and its parameters. This information is codified formally (by any wiki editor) using TemplateData.

Editing without TemplateData

[संपादन करीं]

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

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

Editing with TemplateData

[संपादन करीं]

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

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

Adding TemplateData

[संपादन करीं]

Anyone can help by adding TemplateData to templates (particularly high-profile ones, such as infoboxes) so that they are easier to edit in VisualEditor. The following is a minimal example, placed on a template's documentation page:

<templatedata>{
  "description": "insert description here",
  "params": {
    "first parameter": {
      "label": "x",
      "description": "x",
      "type": "string",
      "default": "default value",
      "required": false
    }
  }
}</templatedata>

You can also add or edit TemplateData using a GUI, by pressing the following button which appears at the top of the edit page: Manage TemplateData

The TemplateData tutorial explains in detail how to add TemplateData information to a template.

Commonly used templates

[संपादन करीं]

Here is a list of the most commonly-used templates. When you've added TemplateData to one, add a ((tick)) mark next to it; we'll update the list with new additions as we go. It's advisable to do a null edit on the main template page to force the system to update the database.

For completed items, consult the bot-generated logging page विकिपीडिया:VisualEditor/TemplateData/List.

If you complete an item, mark it here with ((tick)) until the item appears on the logging page.

If you partly complete an item (suggested action), mark the entry with ((yellow tick)) and replace its <!--note--> field with a brief description of what has and/or remains to be done. Partly-done items will appear on the logging page as if they were completed, but do not remove them from this list until they are completed.

Legend
checkY: Completed
YesY: Partly completed
N: Done with structural faults; as good as not done

Over 5,000 uses in mainspace

[संपादन करीं]
  • checkY
  • 961,481
  • Coord
  • VE does not allow overloaded templates

Infobox template (>5,000 uses)

[संपादन करीं]
  • checkY
  • 18,273
  • Infobox radio station
  • checkY
  • 13,009
  • Infobox German location
  • N
  • 11,924
  • Infobox NFL player
  • Faulty. Needs repair.
  • checkY
  • 8,121
  • Infobox television episode
  • not on logging list (2 Jan 2014)
  • checkY
  • 7,250
  • Infobox gridiron football person
  • checkY
  • 6,799
  • Infobox basketball biography
  • not on logging list (2 Jan 2014)
  • N
  • 5,099
  • Infobox rugby league biography
  • A bare skeleton is in place

250 to 5,000 uses in mainspace

[संपादन करीं]
  • checkY
  • 3,553
  • Video game reviews
  • checkY
  • 499
  • Infobox golf facility
  • checkY
  • 458
  • Infobox war faction

Userspace (high-priority)

[संपादन करीं]

Used as meta-templates

[संपादन करीं]

Used in other namespaces

[संपादन करीं]

Main-space templates

[संपादन करीं]

Following are templates which taking parameters but are used <250 times. There are thousands of templates which contain only content for transclusion and which take no parameters. These are not considered here.

Following have no instances of use:

  • Template:AthalianaDBs
  • Template:AthalianaLit
  • Template:BiowebUW
  • Template:BrainInfo
  • Template:BrainMaps
  • Template:CephBase Family
  • Template:CephBase Genus
  • Template:CephBase Suborder
  • Template:CephBase Subclass
  • Template:CephBase Superorder
  • Template:EntrezGene2
  • Template:WestAfricanPlants

इहो देखल जाय

[संपादन करीं]
  • विकिपीडिया:VisualEditor/TemplateData/List A list of all pages with TemplateData
{{bottomLinkPreText}} {{bottomLinkText}}
विकिपीडिया:TemplateData
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?