Template:Nav button: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
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
  |link=Waterwijzer Overlay
  |link=Waterwijzer Overlay
}}
}}
This template should not be used on pages directly. Instead, use [[template:nav buttons]].


Parameters:
Parameters:
Line 28: Line 30:
* class: Addition class for styling
* class: Addition class for styling


Style here:
General style here (note that part of the style should be overwrite-able by parameters):
[[MediaWiki:Common.css]]
[[MediaWiki:Common.css]]
</noinclude>
</noinclude>

Latest revision as of 15:25, 15 December 2020

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