Template:Nav button: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
--><div class='nav-button {{{class|}}}' ' style='background-color: {{ #if:{{{{{theme|}}}}} | | {{{{{theme|}}}|color}} }};'><!-- | --><div class='nav-button {{{class|}}}' ' style='background-color: {{ #if:{{{{{theme|}}}}} | | {{{{{theme|}}}|color}} }};'><!-- | ||
-->{{#if:{{{link|}}}|[[{{{link|}}}| ]]|}}<!-- | -->{{#if:{{{link|}}}|[[{{{link|}}}| ]]|}}<!-- | ||
--><div class='nav-button-img' >[[File:{{{image|}}}|{{{size| | --><div class='nav-button-img' >[[File:{{{image|}}}|{{{size|75x75px}}}]]</div><!-- | ||
--><div class='nav-button-text'><!-- | --><div class='nav-button-text'><!-- | ||
-->{{#if:{{{text|}}}|{{{text|}}}| }}<!-- | -->{{#if:{{{text|}}}|{{{text|}}}| }}<!-- |
Revision as of 09:59, 14 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