Difference between revisions of "Template:PropVals/getGroupedRecords/doc"
From Salem Wiki
(Initial setup) |
m (Protected "Template:PropVals/getGroupedRecords/doc": Documentation of key-feature ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Description== | ==Description== | ||
− | :This template is used to. | + | :This wrapper-template is used to inject the records, gotten from {{t|PropVals/getRecords}}, as extra arguments into {{t|PropVals/Group}}. |
− | : | + | :{{t|PropVals}} will use the ''generated-output'' of this wrapper-template to inject extra arguments into {{t|PropVals/List}}. |
− | |||
==Syntax== | ==Syntax== | ||
− | :Type the below code somewhere | + | :Type the below code somewhere in your code: |
− | <pre>{{}}</pre> | + | <pre>{{PropVals/getGroupedRecords |
+ | |prop={{{prop|RequiresObj}}} | ||
+ | |page={{{page|{{FULLPAGENAME}} }}} | ||
+ | |sep={{{sep|;}}} | ||
+ | |grpsep={{{grpsep|/\}}} | ||
+ | }}</pre> | ||
==Examples== | ==Examples== | ||
− | # | + | #{{t|PropVals/getGroupedRecords|prop<nowiki>=</nowiki>RequiresObj|page<nowiki>=</nowiki>User:©TriMoon™/PropVals testdata }} gives:<br/>{{PropVals/getGroupedRecords|prop=RequiresObj|page=User:©TriMoon™/PropVals testdata}} |
<includeonly>[[Category:Templates|{{PAGENAME}}]]<!-- Any categories for the template itself --> | <includeonly>[[Category:Templates|{{PAGENAME}}]]<!-- Any categories for the template itself --> | ||
[[Category:Templates/©TriMoon™|{{SUBPAGENAME}}]] | [[Category:Templates/©TriMoon™|{{SUBPAGENAME}}]] | ||
</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | </includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 18:15, 25 July 2012
Description
- This wrapper-template is used to inject the records, gotten from {{PropVals/getRecords}}, as extra arguments into {{PropVals/Group}}.
- {{PropVals}} will use the generated-output of this wrapper-template to inject extra arguments into {{PropVals/List}}.
Syntax
- Type the below code somewhere in your code:
{{PropVals/getGroupedRecords |prop={{{prop|RequiresObj}}} |page={{{page|{{FULLPAGENAME}} }}} |sep={{{sep|;}}} |grpsep={{{grpsep|/\}}} }}
Examples
- {{PropVals/getGroupedRecords|prop=RequiresObj|page=User:©TriMoon™/PropVals testdata }} gives: