Template:VisualDataForm: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
{{VisualDataForm | {{VisualDataForm | ||
|schemas = | |schemas = | ||
|title = | |title = | ||
|action = | |action = | ||
|overwrite-existing-article-on-create = | |||
|view = | |view = | ||
|layout = | |layout = | ||
| Line 13: | Line 13: | ||
|preload-data = | |preload-data = | ||
|return-page = | |return-page = | ||
|return-url = | |||
|popup-size = | |popup-size = | ||
|css-class = | |css-class = | ||
| Line 40: | Line 41: | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
"default": "", | "default": "", | ||
"example": "" | "example": "" | ||
| Line 65: | Line 58: | ||
"required": true, | "required": true, | ||
"default": "create", | "default": "create", | ||
"example": "" | |||
}, | |||
"overwrite-existing-article-on-create": { | |||
"label": "overwrite existing article on create", | |||
"description": "boolean", | |||
"type": "boolean", | |||
"required": false, | |||
"default": false, | |||
"example": "" | "example": "" | ||
}, | }, | ||
| Line 116: | Line 117: | ||
}, | }, | ||
"return-page": { | "return-page": { | ||
"label": "return-page", | |||
"description": "return page", | |||
"type": "string", | |||
"required": false, | |||
"default": "", | |||
"example": "" | |||
}, | |||
"return-url": { | |||
"label": "return-page", | "label": "return-page", | ||
"description": "return page", | "description": "return page", | ||
| Line 239: | Line 248: | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#visualdataform:{{{schemas}}}| | <includeonly>{{#visualdataform:{{{schemas}}}|title = {{{title|}}}|action = {{{action|create}}}|overwrite-existing-article-on-create = {{{overwrite-existing-article-on-create|}}}|view = {{{view|inline}}}|layout = {{{layout|tabs}}}|callback = {{{callback|}}}|edit-page = {{{edit-page|}}}|preload = {{{preload|}}}|preload-data = {{{preload-data|}}}|return-page = {{{return-page|}}}|return-url = {{{return-url|}}}|popup-size = {{{popup-size|medium}}}|css-class = {{{css-class|}}}|pagename-formula = {{{pagename-formula|}}}|edit-freetext = {{{edit-freetext|}}}|edit-categories = {{{edit-categories|}}}|edit-content-model = {{{edit-content-model|}}}|target-slot = {{{target-slot|}}}|edit-target-slot = {{{edit-target-slot|}}}|default-categories = {{{default-categories|}}}|default-content-model = {{{default-content-model|wikitext}}}|layout-align = {{{layout-align|top}}}|popup-help = {{{popup-help|}}}|submit-button-text = {{{submit-button-text|submit}}}|validate-button-text = {{{validate-button-text|validate}}} }} | ||
</includeonly> | </includeonly> | ||
Latest revision as of 08:25, 16 August 2024
{{VisualDataForm
|schemas =
|title =
|action =
|overwrite-existing-article-on-create =
|view =
|layout =
|callback =
|edit-page =
|preload =
|preload-data =
|return-page =
|return-url =
|popup-size =
|css-class =
|pagename-formula =
|edit-freetext =
|edit-categories =
|edit-content-model =
|target-slot =
|edit-target-slot =
|default-categories =
|default-content-model =
|layout-align =
|popup-help =
|submit-button-text =
|validate-button-text =
}}
Attention! VisualEditor won't handle the template correctly if it contains new lines!!