Module:T-Process: Difference between revisions
// via Wikitext Extension for VSCode Tags: Manual revert Reverted |
// via Wikitext Extension for VSCode Tag: Manual revert |
||
| Line 89: | Line 89: | ||
-- SPECIAL SEMANTIC MAPPINGS | -- SPECIAL SEMANTIC MAPPINGS | ||
template.config.semantics = template.config.semantics or {} | template.config.semantics = template.config.semantics or {} | ||
-- Deal with the complex Properties processing around "Has process connection" and properly exposing it to the frontend | |||
-- Register the custom semantic property so its name is carried through | |||
template.config.semantics.properties = template.config.semantics.properties or {} | |||
template.config.semantics.properties["Has process connection"] = "process" | |||
-- AdditionalProperties/transforms logic | |||
template.config.semantics.additionalProperties = template.config.semantics.additionalProperties or {} | template.config.semantics.additionalProperties = template.config.semantics.additionalProperties or {} | ||
template.config.semantics.additionalProperties["Has process connection"] = {"process", "has_previous", "has_next"} | template.config.semantics.additionalProperties["Has process connection"] = {"process", "has_previous", "has_next"} | ||