Difference between revisions of "Template:PropVals/getGroupedRecords/doc"
From Salem Wiki
m (Adding example-output) |
m (→Examples: changing page to use in the examples.) |
||
Line 12: | Line 12: | ||
}}</pre> | }}</pre> | ||
==Examples== | ==Examples== | ||
− | #{{t|PropVals/getGroupedRecords|prop<nowiki>=</nowiki>RequiresObj|page<nowiki>=</nowiki> | + | #{{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> |
Revision as of 18:14, 25 June 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: