SMW Lorebook Properties: Difference between revisions
Appearance
Upload SMW Lorebook Properties reference page |
添加新的 World 属性到列表 |
||
Line 3: | Line 3: | ||
Create the following property pages so the templates can assign structured data. Each bullet links to the intended Property namespace page and declares its type. | Create 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 == | |||
* [[Property:World name]] – <nowiki>[[Has type::Text]]</nowiki> | |||
* [[Property:World description]] – <nowiki>[[Has type::Text]]</nowiki> | |||
== Concept Properties == | |||
* [[Property:Belongs to world]] – <nowiki>[[Has type::Page]]</nowiki> | * [[Property:Belongs to world]] – <nowiki>[[Has type::Page]]</nowiki> | ||
* [[Property:Parent concept]] – <nowiki>[[Has type::Page]]</nowiki> | * [[Property:Parent concept]] – <nowiki>[[Has type::Page]]</nowiki> | ||
Line 18: | Line 23: | ||
# Paste the matching declaration from above and save. | # Paste the matching declaration from above and save. | ||
# Optionally add descriptions or allowed values using SMW property annotations. | # Optionally add descriptions or allowed values using SMW property annotations. | ||
== Note == | |||
Templates use <code>{{#set:}}</code> to assign property values, which keeps the metadata hidden from the page display while still making it available for queries. |
Latest revision as of 18:03, 17 October 2025
Semantic MediaWiki properties for Lorebook demo
[edit | edit source]Create 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 | edit source]- Property:World name – [[Has type::Text]]
- Property:World description – [[Has type::Text]]
Concept Properties
[edit | edit source]- 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 | edit source]- 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
[edit | edit source]Templates use to assign property values, which keeps the metadata hidden from the page display while still making it available for queries.