Template:PropVals/getRecords/doc

From Salem Wiki
Jump to: navigation, search

Description

This template is used to retrieve all records for the property of the page asked for, using an SMW-inline-query.
{{PropVals/getGroupedRecords}} will use the generated-output of this template to inject extra arguments into {{PropVals/Group}}.
See these pages for documentation on functions used:

Syntax

Type the below code somewhere in your code:
{{PropVals/getRecords
|prop={{{prop|RequiresObj}}}
|page={{{page|{{FULLPAGENAME}} }}}
}}
It accepts 2-named parameters to control the SMW-Query:
  • prop
    Mandatory; The name of the property to retrieve.
  • page
    Optional; The name of the page to consult the property from.

Examples

  1. {{PropVals/getRecords|prop=RequiresObj|page=User:©TriMoon™/PropVals testdata }} gives: