Template:Nav button: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><div class='nav-button {{{class|}}}' ' style='background-color: {{ #if:{{{{{theme|}}}}} | | {{{{{theme|}}}|color}} }};'><!-- | --><div class='nav-button {{{class|}}}' ' style='background-color: {{ #if:{{{{{theme|}}}}} | lightgrey | {{{{{theme|}}}|color}} }};'><!-- | ||
-->{{#if:{{{link|}}}|[[{{{link|}}}| ]]|}}<!-- | -->{{#if:{{{link|}}}|[[{{{link|}}}| ]]|}}<!-- | ||
--><div class='nav-button-img' >[[File:{{{image|}}}|{{{size|100x100px}}}]]</div><!-- | --><div class='nav-button-img' >[[File:{{{image|}}}|{{{size|100x100px}}}]]</div><!-- | ||
Line 15: | Line 15: | ||
|link=Waterwijzer Overlay | |link=Waterwijzer Overlay | ||
|theme=aerius theme | |theme=aerius theme | ||
}} | |||
{{nav button | |||
|image=waterwijzer100px.png | |||
|text=Text of button | |||
|link=Waterwijzer Overlay | |||
|theme= | |||
}} | }} | ||
Revision as of 06:47, 9 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