Demo VisualData 1.0
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
Click the button below to edit the article's metadata through a popup or the tab "Edit semantic" among the article's actions. | Click the button below to edit the article's metadata through a popup or the tab "Edit semantic" among the article's actions. | ||
{{#pagepropertiesform: Book | |||
|title = edit infobox and page | |||
|action = edit | |||
|edit-page = {{FULLPAGENAME}} | |||
|return-page = | |||
|view = popup | |||
|popup-size = medium | |||
|css-class = | |||
|pagename=formula = | |||
|edit-freetext = true | |||
|edit-categories = false | |||
|edit-content-model = false | |||
|default-categories = | |||
|default-content-model = wikitext | |||
|layout-align = top | |||
|popup-help = true | |||
|submit-button-text = | |||
|layout = tabs | |||
|submit-button-text = | |||
|validate-button-text = | |||
}} | |||
The popup is rendered using the following code | The popup is rendered using the following code | ||
Line 56: | Line 80: | ||
|template=Book | |template=Book | ||
|template?authors=Book authors | |template?authors=Book authors | ||
}} | }} |
Revision as of 12:19, 26 October 2023
This is a page with an infobox that demonstrates the use of PageProperties (latest version) used as a CRUD
Click the button below to edit the article's metadata through a popup or the tab "Edit semantic" among the article's actions.
{{#pagepropertiesform: Book
|title = edit infobox and page
|action = edit
|edit-page = Demo VisualData
|return-page =
|view = popup
|popup-size = medium
|css-class =
|pagename=formula =
|edit-freetext = true
|edit-categories = false
|edit-content-model = false
|default-categories =
|default-content-model = wikitext
|layout-align = top
|popup-help = true
|submit-button-text =
|layout = tabs
|submit-button-text =
|validate-button-text =
}}
The popup is rendered using the following code
{{#pagepropertiesform: Book |title = edit infobox and page |action = edit |edit-page = {{FULLPAGENAME}} |return-page = |view = popup |popup-size = medium |css-class = |pagename=formula = |edit-freetext = true |edit-categories = false |edit-content-model = false |default-categories = |default-content-model = wikitext |layout-align = top |popup-help = true |submit-button-text = |layout = tabs |submit-button-text = |validate-button-text = }}
The infobox is rendered through the following code
{{#pagepropertiesprint: {{FULLPAGENAME}} |?cover |?title |?authors/name |?authors/email |schema=Book |template=Book |template?authors=Book authors }}
{{#pagepropertiesprint: Demo VisualData |?cover |?title |?authors/name |?authors/email |schema=Book |template=Book |template?authors=Book authors }}
pageproperties
schemas |
| ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
schemas-data |
|