User:JL-Bot/Project content/documentation: Difference between revisions

Content deleted Content added
clarify "mergeable" templates plus add support for multiple templates & categories
Optional Parameters: add option to display counts
Line 85:
*<code>|sorting = <value></code> -- specifies the sorting to use (see below)
*<code>|date-order = <value></code> -- specifies the sorting order for dates (see below)
*<code>|display-total</code> -- specifies that a count of the number of pages in the content type is displayed
 
The <code>compact</code> option overrides the <code>columns</code> and <code>icons</code> options.
Line 94 ⟶ 95:
Pictures will use the <code><nowiki><gallery></gallery></nowiki></code> syntax if the <code>pictures-list</code> option is not set.
 
The <code>sorting</code> option may be set to <code>default</code> (sort by DEFAULTSORT key), <code>alpha</code> (sort alphabetically), <code>date-default</code> (sort Main Page content by date, remainder by DEFAULTSORT key), and <code>date-alpha</code> (sort Main Page content by date, remainder alphabetically). The default is <code>default</code> is default if not specified.
 
The <code>date-order</code> option may be set to <code>increasing</code> or <code>decreasing</code>. This option only applies when the <code>sorting</code> option is set to <code>date-default</code> or <code>date-alpha</code>. The default is <code>increasing</code> is default if not specified.
 
===Output===