Project:VisualEditor testing/Template test

Some template examples to play with; add more if you like! See VisualEditor:TestReferenceContents for citation tests.

The hinting code that makes editing through the VisualEditor easier is part of the template documentation (links provided by way of example).

Inline template
This is an example of using the "Unsigned" template, an inline template which you can edit (documentation):

Block template
This is an example of using the Wikimedia engineering project information template, a block template which you can edit (documentation):

Template without templatedata
Templates need Templatedata added, in order for the description to show, and for the fields to be labeled, whilst they are being edited with VisualEditor.

The two templates above, have templatedata in their respective /doc pages. (i.e. Template:Unsigned/doc and Template:Wikimedia engineering project information/doc)

These following templates do not have any templatedata, so the description is empty, and the un-named-fields are numbered.

=

=