Template:Nav button: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
mNo edit summary
Tag: Manual revert
Maxim@tygron.com (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 11: Line 11:
Example:
Example:
{{nav button
{{nav button
  |image={{Aerius theme|image}}
  |image={{Water theme|image}}
  |text={{Aerius theme|mainlink}}
  |text={{Water theme|mainlink}}
  |link={{Aerius theme|mainlink}}
  |link={{Water theme|mainlink}}
  |color={{Aerius theme|color}}
  |color={{Water theme|color}}
}}
{{nav button
|image=waterwijzer100px.png
|text=Text of button
|link=Waterwijzer Overlay
}}
}}



Latest revision as of 14:45, 6 March 2026

Example:

This template should not be used on pages directly. Instead, use template:nav buttons.

Parameters:

  • image: The image to use to display the button
  • text: The text underneath the button
  • link: The page the button should like to
  • class: Addition class for styling

General style here (note that part of the style should be overwrite-able by parameters): MediaWiki:Common.css