Wikipedia:TemplateData/Tutorial: Difference between revisions

Content deleted Content added
Completing the TemplateData information: spelling fix in closing tag of the minimal example </templatedata>
Completing the TemplateData information: added "default" to the examples
Line 46:
"description": "The string to be trimmed and counted",
"type": "string",
"default": "",
"required": true
},
Line 52 ⟶ 53:
"description": "Gives the <count> substring of characters from the start of the trimmed string",
"type": "number",
"default": "",
"required": true
}
Line 67 ⟶ 69:
"description": "x",
"type": "string",
"default": "default value",
"required": false
}