The first video in the TASBot Re: (TASBot Revisited) series is out! TASBot Re: Gradius covers our first run from AGDQ 2014.

Historians wanted: Inquire here.

Template:Prevnext base: Difference between revisions

Template page
(Create template)
 
m (Add template description to TemplateData)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly>{{#ifexist:{{{1}}}|&larr; prev {{{3|}}}<br/>[[{{{1}}}]]<br/>
<onlyinclude><includeonly>{{#if:{{{1}}}|&larr; previous {{{3|}}}<br/>[[{{{1}}}]]<br/>
|}}{{#ifexist:{{{2}}}|{{float right|{{float right|next {{{3|}}} &rarr;}}<br/>[[{{{2}}}]]<br/>}}
|}}{{#if:{{{2}}}|{{float right|{{float right|next {{{3|}}} &rarr;}}<br/>[[{{{2}}}]]<br/>}}<br clear="all" />
|}}</includeonly></onlyinclude>
|}}</includeonly></onlyinclude>
Base for {{t|prevnext appearance}} and {{t|prevnext of type}}.
Base for {{t|prevnext appearance}} and {{t|prevnext of type}}.
{{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
},
"3": {
"label": "Extra Label Text",
"description": "appended to the \"previous\" and \"next\" labels",
"type": "string"
}
},
"paramOrder": [
"1",
"2",
"3"
],
"format": "inline",
"description": "Base template for {{prevnext appearance}} and {{prevnext of type}}."
}
</templatedata>

Latest revision as of 20:39, 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.

Base template for {{prevnext appearance}} and {{prevnext of type}}.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Previous Page1

if empty, not shown

Page namerequired
Next Page2

if empty, not shown

Page namerequired
Extra Label Text3

appended to the "previous" and "next" labels

Stringoptional