Template:Nav button: Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
</noinclude>{{Template-category|Navigation}}<noinclude>
</noinclude>{{Template-category|Navigation}}<noinclude>
Example:
Example:
{{nav button test
{{nav button
  |image={{Aerius theme|image}}
  |image={{Aerius theme|image}}
  |text={{Aerius theme|mainlink}}
  |text={{Aerius theme|mainlink}}
Line 16: Line 16:
  |color={{Aerius theme|color}}
  |color={{Aerius theme|color}}
}}
}}
{{nav button test
{{nav button
  |image=waterwijzer100px.png
  |image=waterwijzer100px.png
  |text=Text of button
  |text=Text of button

Revision as of 13:14, 15 December 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