Jump to content
Wikimedia Meta-Wiki

Template:BrowsePages

From Meta, a Wikimedia project coordination wiki
Template documentation


Usage

[edit ]

Add a subtle browse function to e.g. jump between different years of a project. For pages ending with a year, links are added automatically for the last and next year, if those exist and there are no other pages specified in the parameters.

Parameters

[edit ]
{{BrowsePages|link_last=|text_last=|link_next=|text_next=}}

Examples

[edit ]
  • {{BrowsePages|link_last=Wikimania 2023|text_last=2023|link_next=Wikimania 2025|text_next=2025}}:
    << 2023 | 2025 >>
  • {{BrowsePages|Wikimania 2023|2023|Wikimania 2025|2025}}:
    << 2023 | 2025 >>
  • {{BrowsePages|link_next=Wikimania 2025|text_next=2025}}:
    2025 >>
  • {{BrowsePages|Wikimania 2023|text_last=2023}}:
    << 2023
  • {{BrowsePages}} if the template is on the page "Wikimania 2024" and the pages "Wikimania 2023" and "Wikimania 2025" exist:
    << 2023 | 2025 >>
The above documentation is transcluded from Template:BrowsePages/doc. (edit | history)
Editors can experiment in this template’s sandbox (create | mirror) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this template.

Add a subtle browse function to e.g. jump between different years of a project

Template parameters[Edit template data ]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
link lastlink_last 1

Link to last (=previous) page

Example
Page 2022
Page namesuggested
text lasttext_last 2

Link label for last (=previous) page

Example
2022
Stringsuggested
link nextlink_next 3

Link to next page

Example
Page 2024
Page namesuggested
text nexttext_next 4

Link label for next page

Example
2024
Stringsuggested

AltStyle によって変換されたページ (->オリジナル) /