Created page with " <templatedata> { "params": { "1": { "label": "Field markup", "description": "The first unnamed parameter expects a PageForms field definition.", "type": "unbalanced-wikitext" }, "class": { "label": "CSS class", "type": "string" }, "label": { "label": "Field label text", "type": "string" }, "property": { "label": "Name of semantic property", "description": "Used to deliver the property description, if any, the the form field defi..." |
No edit summary |
||
| Line 25: | Line 25: | ||
} | } | ||
</templatedata> | </templatedata> | ||
== Example == | |||
<pre> | |||
{{form row | |||
|{{{field | |||
|Field name | |||
|input type=text | |||
|class=form-control | |||
}}} | |||
|label=Field label | |||
|property=Has property | |||
|class=class-name | |||
}} | |||
</pre> | |||
Revision as of 09:38, 26 March 2026
A helper template for rendering a PageForms row.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Field markup | 1 | The first unnamed parameter expects a PageForms field definition. | Unbalanced wikitext | optional |
| CSS class | class | no description | String | optional |
| Field label text | label | no description | String | optional |
| Name of semantic property | property | Used to deliver the property description, if any, the the form field definition. | String | optional |
Example
{{form row
|{{{field
|Field name
|input type=text
|class=form-control
}}}
|label=Field label
|property=Has property
|class=class-name
}}
