Template:Error/doc: Difference between revisions
Appearance
Dat Hack3r (talk | contribs) Created template documentation. |
Dat Hack3r (talk | contribs) m →TemplateData: Fixed typos. |
||
| Line 25: | Line 25: | ||
"1": { | "1": { | ||
"label": "Message", | "label": "Message", | ||
"description": "Error message text in red", | "description": "Error message text in red.", | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
| Line 35: | Line 35: | ||
"tag": { | "tag": { | ||
"label": "Tag", | "label": "Tag", | ||
"description": "The tag to contain the error message; will only accept span, div, p, and strong, since those are the only tags recognized by the #iferror parser function. It defaults to strong, the tag generated e.g. by # | "description": "The tag to contain the error message; will only accept span, div, p, and strong, since those are the only tags recognized by the #iferror parser function. It defaults to strong, the tag generated e.g. by #expr.", | ||
"type": "string", | "type": "string", | ||
"default": "strong", | "default": "strong", | ||
| Line 46: | Line 46: | ||
] | ] | ||
} | } | ||
} | }, | ||
"format": "inline" | |||
} | } | ||
</TemplateData> | </TemplateData> | ||