Difference between revisions of "Template:DragonListHeader"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Teg
>Mornsta-gpuser
 
(45 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div style="display:flex;flex-wrap:wrap;justify-content:center;padding:0 0 10px 0;">
+
<includeonly><div style="text-align:center">
<div class="image-tile {{#ifeq:{{lc:{{PAGENAME}}}}|dragon grid||selectable}}"><span class="image-tile-text">Grid View</span>[[File:Button.png|120px|link=Dragon Grid|alt=]]</div>
+
{{#widget:GridListButtons
<div class="image-tile {{#ifeq:{{lc:{{PAGENAME}}}}|dragon list||selectable}}"><span class="image-tile-text">List View</span>[[File:Button.png|120px|link=Dragon List|alt=]]</div>
+
|button1={{#ifeq:{{lc:{{PAGENAME}}}}|dragon grid|mw-ui-progressive}}
</div>
+
|button2={{#ifeq:{{lc:{{PAGENAME}}}}|dragon list|mw-ui-progressive}}
 +
|button1link=Dragon_Grid
 +
|button2link=Dragon_List
 +
}}
 +
</div></includeonly><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 10:05, 8 January 2019