Difference between revisions of "Widget:HeaderButtons"

From Dragalia Lost Wiki
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">
   <!--{foreach from=$buttons item=button}-->
+
   <!--{section name=index loop=$buttons}
    <li><!--{$key|escape:'html'}-->: set to <!--{$item|escape:'html'}--></li>
+
     <a href="<!--{$buttons[index].link|escape:'html'}-->" class="mw-ui-button <!--{if $buttons[index].active}-->mw-ui-progressive<!--{/if}-->">
     <a href="<!--{$button.link|escape:'html'}-->" class="mw-ui-button <!--{if $button.active}-->mw-ui-progressive<!--{/if}-->">
+
       <img src="<!--{$buttons[index].img|escape:'html'}-->"> <!--{$buttons[index].name|escape:'html'}-->
       <img src="<!--{$button.img|escape:'html'}-->"> <!--{$button.name|escape:'html'}-->
 
 
     </a>
 
     </a>
   <!--{/foreach}-->
+
   <!--{/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>

 " class="mw-ui-button mw-ui-progressive">
     <img src=""> 
   </a>