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

Content deleted Content added
new options for sorting and displaying the date on main page
Line 77:
*<code>|heading = #</code> -- defines the heading level (number of "="s) to use; the default is level 2
*<code>|pictures-list</code> -- specifies pictures should be listed (obeying the columns, icons, and compact options)
*<code>|dates</code> -- specifies including in the output the date the content was on the Main Page (where applicable)
*<code>|sorting = <value></code> -- specifies the sorting to use (see below)
 
The <code>compact</code> option overrides the <code>columns</code> and <code>icons</code> options.
Line 85 ⟶ 87:
 
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 <code>default</code> is default if not specified.
 
===Output===