Template:Browse

From Wikidata
Jump to navigation Jump to search
Documentation icon Template documentation[view · edit · history · purge ]

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]

{{Browse|link_last=|text_last=|link_next=|text_next=}}

Examples[edit]

  • {{Browse|link_last=Wikidata:Status updates/2023 08 07|text_last=588|link_next=Wikidata:Status updates/2023 08 21|text_next=560}}:
    << 588 | 560 >>
  • {{Browse|Page 2022/Subpage|2022|Page 2024/Subpage|2024}}:
    << 2022 | 2024 >>
  • {{Browse|link_next=Page 2024/Subpage|text_next=2024}}:
    2024 >>
  • {{Browse|Page 2022/Subpage|text_last=2022}}:
    << 2022
  • {{Browse}} if the template is on the page "Wikidata:Events/Swedish online editathon/Notes 159" and the pages "Notes 158" and "Notes 160" exist:
    << 158 | 160 >>

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