Template:Nav button: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary Tag: Reverted |
mNo edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><div class='nav-button {{{class|}}}' ' style='background-color: {{ #if:{{{color|}}} | {{{color|}}} | }};'><div class='nav-button-highlight'></div><!-- | --><div class='nav-button {{{class|}}}' ' style='background-color: {{ #if:{{{color|}}} | {{{color|}}} | }};'>[[File:benchmarks_button.png|center|{{#if:{{{link|}}}|link={{{link|}}}|}}]]<div class='nav-button-highlight'></div><!-- | ||
--><!--{{#if:{{{link|}}}|[[{{{link|}}}| ]]|}}--><!-- | --><!--{{#if:{{{link|}}}|[[{{{link|}}}| ]]|}}--><!-- | ||
--><div class='nav-button-img' >[[File:{{{image|}}}|{{{size|75x75px}}}]]</div><!-- | --><div class='nav-button-img' >[[File:{{{image|}}}|{{{size|75x75px}}}]]</div><!-- |
Latest revision as of 14:06, 23 January 2025
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