[[!getPage?
&elementClass=`modSnippet`
&element=`getResources`
&parents=`3`
&depth=`2`
&limit=`10`
&pageVarKey=`page`
&includeTVs=`1`
&includeContent=`1`
&tpl=`catlisttpl`
&where=`{"template:IN":[4]}` &tvFilters=`categories==[[*categories]]` &sortbyTV=`starrating` &sortdirTV=`DESC`
]]&sortby
default: publishedon
type: textfield
Description: Any resource field for sorting, including the TV option if it is specified in the parameter "includeTVs". You can specify an array of JSON string with several fields. To randomly select sorting "RAND ()"
Template Variables are exactly what they say they are, ways to vary a Template.