m (Only pass through page titles if they exist) |
m (Add TemplateData) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{{prevnext base| | <onlyinclude><includeonly>{{prevnext base|{{{1}}}|{{{2}}}}}</includeonly></onlyinclude> | ||
See [[../|parent]] and {{t|prevnext base}}. | See [[../|parent]] and {{t|prevnext base}}. | ||
{{TemplateData preamble}}<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Previous Page", | |||
"description": "if empty, not shown", | |||
"type": "wiki-page-name", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Next Page", | |||
"description": "if empty, not shown", | |||
"type": "wiki-page-name", | |||
"required": true | |||
} | |||
}, | |||
"description": "Base template for {{prevnext appearance}}.", | |||
"format": "inline" | |||
} | |||
</templatedata> |
Latest revision as of 20:41, 30 October 2023
See parent and {{prevnext base}}.
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.
Base template for {{prevnext appearance}}.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Previous Page | 1 | if empty, not shown | Page name | required |
Next Page | 2 | if empty, not shown | Page name | required |