m (Add TemplateData) |
m (Expand "prev" to "previous" now that it's on its own line) |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{{#if:{{{1}}}|← | <onlyinclude><includeonly>{{#if:{{{1}}}|← previous {{{3|}}}<br/>[[{{{1}}}]]<br/> | ||
|}}{{#if:{{{2}}}|{{float right|{{float right|next {{{3|}}} →}}<br/>[[{{{2}}}]]<br/>}}<br clear="all" /> | |}}{{#if:{{{2}}}|{{float right|{{float right|next {{{3|}}} →}}<br/>[[{{{2}}}]]<br/>}}<br clear="all" /> | ||
|}}</includeonly></onlyinclude> | |}}</includeonly></onlyinclude> | ||
Line 22: | Line 22: | ||
"3": { | "3": { | ||
"label": "Extra Label Text", | "label": "Extra Label Text", | ||
"description": "appended to the \" | "description": "appended to the \"previous\" and \"next\" labels", | ||
"type": "string" | "type": "string" | ||
} | } |
Revision as of 20:34, 30 October 2023
Base for {{prevnext appearance}} and {{prevnext of type}}.
The below documentation is automatically generated from JSON. It can be changed by editing this page, but note that it's only the documentation (for the visual editor)—the actual template part must also be edited, manually.
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Previous Page | 1 | if empty, not shown | Page name | required |
Next Page | 2 | if empty, not shown | Page name | required |
Extra Label Text | 3 | appended to the "previous" and "next" labels | String | optional |