Template:Browse/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

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 >>