Wikipedia:TemplateData/Tutorial: Difference between revisions

Content deleted Content added
Save: added default params
Identifying the parameters: add clarification about un-named parameters
Line 23:
 
Determine what parameters are or may be used in the template. In some cases, it's values are provided between < >, (e.g., in "<nowiki>{{Str left|<string>|<count>}}</nowiki>", it's string and count.) Parameters may be passed by equal signs. For instance, the <nowiki>{{cite web}}</nowiki> template is passed values to complete a citation, such as url=, title=, accessdate=, etc. The template documentation on the main or subpage may summarize what parameters must or may be set for the template.
 
If the template does not use names for its parameters but recognises them by their position, use numbers "1", "2" etc instead of names for the parameters.
 
===Completing the TemplateData information===