[[en6:Main Page|Switch to BlueSpice 5 / 6 Helpdesk Template:Icon]]
hw>WikiSysop
No edit summary
 
Mlink-rodrigue (talk | contribs)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page lists the currently available parser functions.
This page lists the currently available parser functions.


== #neowiki-show ==
== #neowiki-value ==
To display the value of a property on a wiki page.
 
=== 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_show:{{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_show:{{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>

Latest revision as of 08:07, 10 November 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}}