No edit summary |
|||
| Line 1: | Line 1: | ||
==Values in a wiki page== | ==Values in a wiki page== | ||
{{Textbox|boxtype=note|header=Note|text=Access to the url needs to be configured for private wikis. This is not possible in BlueSpice cloud.|icon=yes}} | |||
The following example shows the values of a wiki page with csv extension. | The following example shows the values of a wiki page with csv extension. | ||
Latest revision as of 12:48, 22 July 2026
Values in a wiki page
Note
Access to the url needs to be configured for private wikis. This is not possible in BlueSpice cloud.
The following example shows the values of a wiki page with csv extension.
- Create the page. In this wiki, we created the page Manual:Extension/External Data/example components.csv. It contains comma-separated values:
component,type,weight Valve,mechanical,1.2 Sensor,electronic,0.3 Pump,mechanical,4.5
- On another wiki page, insert this parser function
#for_external_table{{#for_external_table:<nowiki/> * {{{component}}} – {{{type}}}, {{{weight}}} kg | source=web | url={{fullurl:Manual:Extension/External Data/example components.csv|action=raw}} | format=csv | data=component=component, type=type, weight=weight }}
The output is:
- Valve – mechanical, 1.2 kg
- Sensor – electronic, 0.3 kg
- Pump – mechanical, 4.5 kg