Template:Nav buttons

From Tygron Preview Support Wiki
Revision as of 13:26, 15 December 2020 by Rudolf@tygron.nl (talk | contribs)
Jump to navigation Jump to search

Example with theme:

Example without theme/color:


Example in nav element:


This template can either be used with a theme, or with manual configuration. The following buttons are created:

  • A main button, linking to "[link]"
  • A tutorials button, linking to "[link] getting started"
  • A overview button, linking to "[link] overview"
  • A theory button, linking to "[link] theory"
  • A benchmarks button, linking to "[link] benchmarks"

Parameters:

  • With a theme:
    • theme: the theme template to use
  • Without a theme:
    • image: The image to use for the first button
    • link: Main article of the subject matter
    • color: Main article of the subject matter
    • text: Main article of the subject matter
  • Optional, either with or without theme:
    • size: Size of the images
    • fontsize: Size of the text

Style here: MediaWiki:Common.css