Wikipedia:TemplateData/Tutorial: Difference between revisions
Content deleted Content added
m →Completing the TemplateData information: + fix example |
m →Save: fix - order (see template) |
||
Line 65:
"description": "A template to give the <count> substring of characters from the start of the trimmed string ",
"params": {
"count": {▼
"label": "Quantity",▼
"description": "Gives the <count> substring of characters from the start of the trimmed string",▼
"type": "number",▼
"required": true▼
},▼
"string": {
"label": "Alpha-numeric text",
"description": "The string to be trimmed and counted",
"type": "string",
▲ "required": true
▲ },
▲ "count": {
▲ "label": "Quantity",
▲ "description": "Gives the <count> substring of characters from the start of the trimmed string",
▲ "type": "number",
"required": true
}
|