Mare Nostrum Lab Thesaurus:Cradle: Difference between revisions
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
Add them to your new heading, each one on a new line. Each line should start with a semicolon ; | Add them to your new heading, each one on a new line. Each line should start with a semicolon ; | ||
If you want to create a dropdown you can either use a fixed dropdown or a dropdown with suggestions. The latter will also allow you to add other items to the value. | If you want to create a dropdown you can either use a fixed dropdown or a dropdown with suggestions. The latter will also allow you to add other items to the value. | ||
*add a colon after the property number that you want to change into a dropdown. | |||
add a colon after the property number that you want to change into a dropdown. | *either use 'hardselect' or 'softselect' followed by another colon | ||
either use 'hardselect' or 'softselect' followed by another colon | *Add all items numbers (Q-numbers) that you want to add to the dropdown, using a comma as a delimiter. | ||
Add all items numbers (Q-numbers) that you want to add to the dropdown, using a comma as a delimiter. | |||
You can make a field mandatory, by adding "|mandatory" after the line that contains the property number that you want to make mandatory. | You can make a field mandatory, by adding "|mandatory" after the line that contains the property number that you want to make mandatory. | ||
== exampletest == | == exampletest == | ||
| Line 20: | Line 19: | ||
;P5 | ;P5 | ||
== Color == | == Color == | ||
;P2:softselect:Q3|mandatory | ;P2:softselect:Q3|default:Q3|mandatory | ||
Revision as of 16:08, 21 June 2026
This page allows you to create forms for the Cradle tool, each heading on this page generates a new form on the tool.
Follow the following steps to set up a new form:
Click on 'Edit' to start editing this page Create a form by starting a new heading, add a new line where with "==name of form==" Collect the property numbers that you want to use on the new form. Use Special:ListProperties to find these P numbers Add them to your new heading, each one on a new line. Each line should start with a semicolon ; If you want to create a dropdown you can either use a fixed dropdown or a dropdown with suggestions. The latter will also allow you to add other items to the value.
- add a colon after the property number that you want to change into a dropdown.
- either use 'hardselect' or 'softselect' followed by another colon
- Add all items numbers (Q-numbers) that you want to add to the dropdown, using a comma as a delimiter.
You can make a field mandatory, by adding "|mandatory" after the line that contains the property number that you want to make mandatory.
exampletest
- P1
- hardselect:Q1,Q422
- P2
- softselect:Q411,Q433
- P3
- P4
- P5
Color
- P2
- softselect:Q3|default:Q3|mandatory