Template:Numlinks/doc: Difference between revisions

Ganaram inukshuk (talk | contribs)
mNo edit summary
Tag: Manual revert
Ganaram inukshuk (talk | contribs)
Line 8: Line 8:
: The current number of the page. May be obtained by using <code>#rmatch</code> or similar.
: The current number of the page. May be obtained by using <code>#rmatch</code> or similar.


; <code>Link Count</code>
; <code>Link Count</code> (optional; default <code>1</code>)
: The number of links to display before and after the current page. Default is 1.
: The number of links to display before and after the current page.


; <code>Min</code>
; <code>Min</code> (optional; default <code>1</code>)
: The minimum valid value for page numbers. Default is 1.
: The minimum valid value for page numbers.


; <code>Link Format</code>
; <code>Link Format</code> (optional; default <code>%s</code>)
: The text used for page links, where <code>%s</code> denotes the page number. Default is <code>%s</code>.
: The text used for page links, where <code>%s</code> denotes the page number.


; <code>Display Format</code>
; <code>Display Format</code> (optional; default is to use <code>Link Format</code>)
: Format for if the displayed text for the links is different, where <code>%s</code> denotes the page number. Default is to use the same value as <code>Link Format</code>.
: Format for if the displayed text for the links is different, where <code>%s</code> denotes the page number. Default is to use the same value as <code>Link Format</code>.


; <code>Current Page Format</code>
; <code>Current Page Format</code> (optional; default is to use <code>Display Format</code>)
: Format for if the current-page text different, where <code>%s</code> denotes the page number. Default is to use the same value as <code>Display Format</code>.
: Format for if the current-page text different, where <code>%s</code> denotes the page number. Default is to use the same value as <code>Display Format</code>.


; <code>Is Ordinal</code>
; <code>Is Ordinal</code> (optional; default <code>false</code>)
: If set to true, this displays numbers as ordinals instead. Default is false.
: If set to true, this displays numbers as ordinals instead.


; <code>Is Table</code>
; <code>Is Table</code> (optional; default <code>true</code>)
: If set to true, this displays the output as a 1-row, 3-column table. Default is true.
: If set to true, this displays the output as a 1-row, 3-column table. If set to false, this outputs links as one line.