Content deleted Content added
→Optional parameters: document new parameter "text" – Special:Diff/979234807 |
→Optional parameters: pointless nowikis |
||
Line 93:
The following optional parameters are supported:
; <code
; {{para|maximum|<var>number</var>}} : specifies the maximum articles to list in <code>compact</code> mode. The <code>maximum</code> option only applies when the <code>compact</code> option is set.
; <code
; {{para|columns|#em}} : specifies column size in default column layout
; <code
; <code
; {{para|heading|<var>number</var>}} : defines the heading level (number of "="s) to use; the default is level 2. The <code>heading</code> option allows for 0 and 2-6. A value of 2-6 defines the heading level (i.e. the number of "="s to use). A value of 0 means to not use a formal heading level, but instead use the ";Title" syntax.
; <code
; <code
; <code
; {{para|sorting|<var>value</var>}} : specifies the sorting to use. 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> if not specified.
; {{para|date-order|<var>value</var>}} : specifies the sorting order for dates. 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> if not specified.
; <code
; {{para|overflow-FA|<var>page name</var>}}
; {{para|overflow-GA|<var>page name</var>}}
Line 118:
; {{para|overflow-vital-5|<var>page name</var>}}
: specifies an overflow page for corresponding kind of article when using <code>maximum</code>. These options only apply when the <code>maximum</code> option is set. They allow a page name to be specified that will be added as a link after the maximum number of articles are outputted. This is designed to allow linking to a page that contains a full listing of the content type. See [[Wikipedia:WikiProject National Register of Historic Places/Recognized content|this page]] for an usage example.
; <code
; <code
; {{para|type|<var>text</var>}} : replace text "recognized content" with <code><var>text</var></code> in the wikitext output.
|