User:LikeLakers2/Personal Templates/Archive nav/doc

Used as an archive navigator.

Usage edit

  • |uplink=
    • Optional; changes the default link for the "Go up a page" link to a specified parameter if specified with anything other than blank text
      • Defaults to ../
  • |uptext=
    • Optional; changes the default "Go up a page" text to a specified parameter if specified with anything other than blank text
      • Defaults to Go up a page for all archive formats
  • |counter=
    • Required, will not parse without it, except when using "User talk:YOURUSERNAME/COUNTER" (or "User talk:YOURUSERNAME/*/COUNTER", where * is anything in between) as your archive page format
      • Use a number here, such as 1 on Archive 1 for use on Archive 1
  • |prevtext=
    • Optional; changes the default previous archive link text to the specified text.
      • Defaults to:
  1. For "Archive COUNTER": ← Archive {{#expr: {{{counter}}} - 1}}
  2. For "COUNTER": ← Previous Archive
  3. For "ArchiveCOUNTER": ← Archive {{#expr: {{{counter}}} - 1}}


  • |curtext=
    • Optional; changes the default ''Archive {{{counter}}}'' to the specified text. Since this itself is not a link, you may also link to a page in this.
      • Defaults to:
  1. For "Archive COUNTER": ''Archive {{{counter}}}''
  2. For "COUNTER": ''Archive {{{counter|{{SUBPAGENAME}}}}}''
  3. For "ArchiveCOUNTER": ''Archive {{{counter}}}''
  • |nexttext=
    • Optional; changes the default next archive link text to the specified text.
      • Defaults to:
  1. For "Archive COUNTER": Archive {{#expr: {{{counter}}} + 1}} →
  2. For "COUNTER": Next Archive →
  3. For "ArchiveCOUNTER": Archive {{#expr: {{{counter}}} + 1}} →

See also edit