Template:Browse

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Browse/doc.


Usage[edit]

Adds a discreet browser function to e.g. go between different years of a project. For pages that end in a year links are automatically added for previous and next year, if those pages exist and other pages are not specified with parameters.

Parameters[edit]

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

Exempel[edit]

  • {{Browse|link_last=Commons:Wiki Loves Monuments 2019 in Sweden|text_last=2019|link_next=Commons:Wiki Loves Monuments 2021 in Sweden|text_next=2021}}:
    << 2019 | 2021 >>
  • {{Browse|Commons:Wiki Loves Monuments 2019 in Sweden|2019|Commons:Wiki Loves Monuments 2021 in Sweden|2021}}:
    << 2019 | 2021 >>
  • {{Browse|link_next=Commons:Wiki Loves Monuments 2021 in Sweden|text_next=2021}}:
    2021 >>
  • {{Browse|Commons:Wiki Loves Monuments 2019 in Sweden|text_last=2019}}:
    << 2019
  • {{Browse}} if the template is on the page "Page 2020" and the pages "Page 2019" och "Page 2021" exists:
    << 2019 | 2021 >>

Adds a discreet browser function to e.g. go between different years of a project.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
link previouslink_last 1

Link to previous page

Example
Commons:Wiki Loves Monuments 2019 in Sweden
Page namesuggested
label previoustext_last 2

Label for link to previous page

Example
2019
Stringsuggested
link nextlink_next 3

Link to next page

Example
Commons:Wiki Loves Monuments 2021 in Sweden
Page namesuggested
label nexttext_next 4

Label for link to next page

Example
2021
Stringsuggested