Wikipedia:TemplateData/Tutorial: Difference between revisions

Content deleted Content added
m Reverted edits by 202.152.70.87 (talk) (HG) (3.4.10)
Line 18:
 
This tells the software that everything between the two tags is TemplateData, and should be referenced when the template is used. The TemplateData itself follows a standard layout that identifies the parameters that may be set within the template.
 
On English Wikipedia, you can also use the {{tl|Format TemplateData}} template to generate a more "conventional" presentation of TemplateData suitable for use in [[Wikipedia:Template documentation|Template documentation]]. Instead of the above, write this at the top of the documentation page:
<pre>
<!--<TemplateData>
TemplateData goes here
</TemplateData>-->
{{Format TemplateData|TOC=1}}
</pre>
 
===TemplateData===