v3.0.0+
Status: | effective |
Progress: | 100% |
Version: | 3.0.0+ |
Help:Property group – How to create a property group
From semantic-mediawiki.org
This help page explains how to create a property group.
Mandatory steps[edit]
- Create a category like e.g. "Category:Special property related documentation properties"
- Add
{{#set: Is property group=true }}
as an annotation to the category - Add category "Category:Special property related documentation properties" to properties which should compose a property group, e.g. "Property:Has special property name"
Optional steps[edit]
- Add a label to be shown instead of the category name to the respective system message like e.g. system message "MediaWiki:Smw-property-group-label-special-property-related-documentation-properties". The system message is composed of "Smw-property-group-label-" and the category name e.g. "special-property-related-documentation-properties". All letters are small and connected with hyphens instead of underscores as it is usually done for naming categories.
- Add a translated label for the different languages needed on the wiki. They are added to the language specific subpages, e.g. to system message subpage "MediaWiki:Smw-property-group-label-special-property-related-documentation-properties/de"