Template:PropVals/getRecords/doc

From Salem Wiki
< Template:PropVals‎ | getRecords
Revision as of 18:16, 25 July 2012 by ©TriMoon™ (talk | contribs) (Protected "Template:PropVals/getRecords/doc": Documentation of key-feature ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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: