FANDOM


Export this template, then import, to install it.
Use edit summary: Copied from [[w:c:templates:Template:NavigationButton]] to properly attribute this template's editors.
This template is probably not already on your wiki.
Template documentation
Note: the template above may sometimes be partially or fully invisible.

View or edit this documentation. (How does this work?)

Editors can experiment with this template's sandbox and test case pages.

This template created a button with an image.

Parameters

  • Image - Name of the background image
  • Caption - Caption to be displayed on the image
  • Link - Name of the page to which the navigation button will lead
  • Width (optional) - Width of the button itself (defaults to 150px)
  • Nav (optional) - Yes = button lights up when hovered over (defaults to No)

Styles

This template requires styles to be added to the wiki's common or wikia and monobook css pages. An admin can either copy the styles directly to a css page, or copy it to MediaWiki:NavigationButton.css and add the following line to the top of the site's style sheets.

@import url("/load.php?mode=articles&only=styles&articles=MediaWiki:NavigationButton.css");

Previews

{{NavigationButton|Image=Example.jpg|Caption=Example|Link=Example|Nav=Yes}}
{{NavigationButton|Image=Example.jpg|Caption=Example|Link=Example|Width=250}}
Community content is available under CC-BY-SA unless otherwise noted.