Difference between revisions of "Widget:HeaderButtons"
Jump to navigation
Jump to search
>Eave (Created page with "<style> .dl-header-buttons img { height: 19px; vertical-align: middle; pointer-events: none; } </style> <div class="dl-header-buttons"> <!--{foreach from=$buttons item...") |
>Eave (test #2) |
||
| Line 7: | Line 7: | ||
</style> | </style> | ||
<div class="dl-header-buttons"> | <div class="dl-header-buttons"> | ||
| − | <!--{ | + | <!--{section name=index loop=$buttons} |
| − | + | <a href="<!--{$buttons[index].link|escape:'html'}-->" class="mw-ui-button <!--{if $buttons[index].active}-->mw-ui-progressive<!--{/if}-->"> | |
| − | <a href="<!--{$ | + | <img src="<!--{$buttons[index].img|escape:'html'}-->"> <!--{$buttons[index].name|escape:'html'}--> |
| − | <img src="<!--{$ | ||
</a> | </a> | ||
| − | <!--{/ | + | <!--{/section}--> |
</div> | </div> | ||
Revision as of 00:40, 7 April 2020
<style> .dl-header-buttons img {
height: 19px; vertical-align: middle; pointer-events: none;
} </style>