Template:Nav button: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
--><div class='nav-button {{{class|}}}' style='{{#if:{{{width|}}}|width:{{{width|}}}|}}'><!--
--><div class='nav-button {{{class|}}}' style='background-color: {{ #if:{{{{{theme|}}}}} | | {{{{{theme|}}}|color}}  }};'><!--
   --><div class='nav-button-img' >[[File:{{{image|}}}|{{{size|100x100px}}}|link={{{link|}}}]]</div><!--
   --><div class='nav-button-img' >[[File:{{{image|}}}|{{{size|100x100px}}}|link={{{link|}}}]]</div><!--
   --><div class='nav-button-text'><!--
   --><div class='nav-button-text'><!--
Line 13: Line 13:
  |text=Text of button
  |text=Text of button
  |link=Waterwijzer Overlay
  |link=Waterwijzer Overlay
|theme=aerius theme
}}
}}


Line 19: Line 20:
* text: The text underneath the button
* text: The text underneath the button
* link: The page the button should like to
* link: The page the button should like to
* size: Size of the image. Default is 100x100px
* width: The width of the button, and the height of the image within
* class: Addition class for styling
* class: Addition class for styling



Revision as of 13:52, 8 October 2020

Example:

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

Style here: MediaWiki:Common.css