Wikipedia:TemplateData/Tutorial: Difference between revisions
Content deleted Content added
CaroleHenson (talk | contribs) →Identifying the parameters: add more descriptive information about templatedata - used a real example |
CaroleHenson (talk | contribs) |
||
Line 32:
:* Enter the "params" value. In this example, the first parameter entered was "count"
:* Then add the information about each parameter. The label is the descriptive information for the value that should be entered for the value, capitalizing the first character of the label (since it will be the leftmost value in the resulting table). In this case, it is Quantity. Next, enter the description, which is also likely on the main or subpage. The type indicates if it's a number or a string. For required, enter "true" if the value is required for the template and "false" if it is not required. In this case, both count and sub_string are required values.
:* Where there are more than one
<pre>
|