Wikipedia:TemplateData/Tutorial: Difference between revisions

Content deleted Content added
The structure of TemplateData: added N.B. about the Pre/pre example not being syntactically correct for JSON parser ... i.e. it will throw an error ... with reference to later section for more info
Save: it looks like NULL edits are necessary to get things to update, {{Bug|50372}}
Line 139:
</templatedata>
------>
===Perform a NULL edit on the template===
Once saved it is advisable to perform a [[WP:NULL]] edit on the main template (not the documentation page). This is necessary to update the database so the information can be used in the VisualEditor. As many templates are protected you may need to request a null edit using {{t1|editprotected}} or by leaving a note on this [[Wikipedia talk:VisualEditor/TemplateData tutorial|talkpage]].
 
===Help===