No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
== #neowiki-value == | == #neowiki-value == | ||
=== Single property value === | |||
Example: Display the value of property <code>Affected roles</code> from subject <code>Document control</code> on the current page: <syntaxhighlight lang="text"> | Example: Display the value of property <code>Affected roles</code> from subject <code>Document control</code> on the current page: <syntaxhighlight lang="text"> | ||
{{#neowiki_value:{{FULLPAGENAME}}|Document control.Document type}} | {{#neowiki_value:{{FULLPAGENAME}}|Document control.Document type}} | ||
</syntaxhighlight>You can also define a separator for multiple values and an output format:<syntaxhighlight lang="text">{{#neowiki_value:{{FULLPAGENAME}}|Document control.Affected roles|separator=,|format=list}}</syntaxhighlight> | </syntaxhighlight>You can also define a separator for multiple values and an output format:<syntaxhighlight lang="text">{{#neowiki_value:{{FULLPAGENAME}}|Document control.Affected roles|separator=,|format=list}}</syntaxhighlight> | ||
=== Nested subject property value === | |||
Example: Display the <code>Assigned person</code> for <code>Docment control.Owner</code> where Owner is a property of type relation (to a <code>Role</code> subject). The <code>Assigned person</code> value therefore is a nested property:<syntaxhighlight lang="text">{{#neowiki_value:{{FULLPAGENAME}}|Document control.Owner.Assigned person}}</syntaxhighlight> | |||
Revision as of 09:13, 28 October 2026
SkySapphire
This page lists the currently available parser functions.
#neowiki-value
Single property value
Example: Display the value of property Affected roles from subject Document control on the current page:
{{#neowiki_value:{{FULLPAGENAME}}|Document control.Document type}}
You can also define a separator for multiple values and an output format:
{{#neowiki_value:{{FULLPAGENAME}}|Document control.Affected roles|separator=,|format=list}}
Nested subject property value
Example: Display the Assigned person for Docment control.Owner where Owner is a property of type relation (to a Role subject). The Assigned person value therefore is a nested property:
{{#neowiki_value:{{FULLPAGENAME}}|Document control.Owner.Assigned person}}