SMW Lorebook Properties
Semantic MediaWiki properties for Lorebook demo
editCreate the following property pages so the templates can assign structured data. Each bullet links to the intended Property namespace page and declares its type.
World Properties
edit- Property:World name – [[Has type::Text]]
- Property:World description – [[Has type::Text]]
Concept Properties
edit- Property:Belongs to world – [[Has type::Page]]
- Property:Parent concept – [[Has type::Page]]
- Property:Plist – [[Has type::Text]]
- Property:AliChat – [[Has type::Text]]
- Property:Primary keys – [[Has type::Text]]
- Property:Secondary keys – [[Has type::Text]]
- Property:Key mode – [[Has type::Text]]
- Property:Logic – [[Has type::Text]]
- Property:Placement – [[Has type::Text]]
- Property:Non-recursable – [[Has type::Text]]
Usage
edit- Open each property page on the wiki (e.g.
Property:Belongs to world
). - Paste the matching declaration from above and save.
- Optionally add descriptions or allowed values using SMW property annotations.
Note
editTemplates use to assign property values, which keeps the metadata hidden from the page display while still making it available for queries.