Docs: add example images to element

This commit is contained in:
Pieter Vander Vennet 2025-08-25 23:43:03 +02:00
parent 5ee033a8c1
commit 634d4a7186
4 changed files with 184 additions and 145 deletions

View file

@ -230,7 +230,10 @@ class PresetDescription extends SpecialVisualizationSvelte {
class PresetTypeSelect extends SpecialVisualizationSvelte {
funcName = "preset_type_select"
docs = "An editable tag rendering which allows to change the type"
docs = "An editable tag rendering which allows to change the type. The options are the presets of the layer, effectively allowing to change act as if the object was made with a different preset. " +
"For example\n\n" +
"How this element looks like (in question mode) for [`tourism_accomodation`](./Layers/tourism_accomodation.md): ![](./img/Special_preset_type_select_preview.png)" +
"The presets ![](./img/Special_preset_type_select_matching_presets.png)"
args = []
group = "ui"