Difference between revisions of "Template:WeaponTreesHeader"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Eave
(header template to be used for breaking up the Weapon Trees page)
>Eave
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="text-align:center">
+
<includeonly>{{#widget:HeaderButtons
<div style="display:inline-block;margin:10px">
+
|names=Sword
<div class="mw-ui-button {{#ifeq:{{lc:{{SUBPAGENAME}}}}|sword|mw-ui-progressive}}" style="padding:5px 10px">[[/Sword|Sword]]</div>
+
|links=/{{ROOTPAGENAME}}/Sword
<div class="mw-ui-button {{#ifeq:{{lc:{{SUBPAGENAME}}}}|blade|mw-ui-progressive}}" style="padding:5px 10px">[[/Blade|Blade]]</div>
+
|images={{filepath:Icon_Weapon_Sword.png}}
<div class="mw-ui-button {{#ifeq:{{lc:{{SUBPAGENAME}}}}|dagger|mw-ui-progressive}}" style="padding:5px 10px">[[/Dagger|Dagger]]</div>
+
|active={{#ifeq:{{{ActiveLink|}}}|Sword|true|false}}
<div class="mw-ui-button {{#ifeq:{{lc:{{SUBPAGENAME}}}}|axe|mw-ui-progressive}}" style="padding:5px 10px">[[/Axe|Axe]]</div>
+
 
<div class="mw-ui-button {{#ifeq:{{lc:{{SUBPAGENAME}}}}|lance|mw-ui-progressive}}" style="padding:5px 10px">[[/Lance|Lance]]</div>
+
|names=Blade
<div class="mw-ui-button {{#ifeq:{{lc:{{SUBPAGENAME}}}}|bow|mw-ui-progressive}}" style="padding:5px 10px">[[/Bow|Bow]]</div>
+
|links=/{{ROOTPAGENAME}}/Blade
<div class="mw-ui-button {{#ifeq:{{lc:{{SUBPAGENAME}}}}|wand|mw-ui-progressive}}" style="padding:5px 10px">[[/Wand|Wand]]</div>
+
|images={{filepath:Icon_Weapon_Blade.png}}
<div class="mw-ui-button {{#ifeq:{{lc:{{SUBPAGENAME}}}}|staff|mw-ui-progressive}}" style="padding:5px 10px">[[/Staff|Staff]]</div>
+
|active={{#ifeq:{{{ActiveLink|}}}|Blade|true|false}}
</div>
+
 
</div></includeonly><noinclude>
+
|names=Dagger
 +
|links=/{{ROOTPAGENAME}}/Dagger
 +
|images={{filepath:Icon_Weapon_Dagger.png}}
 +
|active={{#ifeq:{{{ActiveLink|}}}|Dagger|true|false}}
 +
 
 +
|names=Axe
 +
|links=/{{ROOTPAGENAME}}/Axe
 +
|images={{filepath:Icon_Weapon_Axe.png}}
 +
|active={{#ifeq:{{{ActiveLink|}}}|Axe|true|false}}
 +
 
 +
|names=Lance
 +
|links=/{{ROOTPAGENAME}}/Lance
 +
|images={{filepath:Icon_Weapon_Lance.png}}
 +
|active={{#ifeq:{{{ActiveLink|}}}|Lance|true|false}}
 +
 
 +
|names=Bow
 +
|links=/{{ROOTPAGENAME}}/Bow
 +
|images={{filepath:Icon_Weapon_Bow.png}}
 +
|active={{#ifeq:{{{ActiveLink|}}}|Bow|true|false}}
 +
 
 +
|names=Wand
 +
|links=/{{ROOTPAGENAME}}/Wand
 +
|images={{filepath:Icon_Weapon_Wand.png}}
 +
|active={{#ifeq:{{{ActiveLink|}}}|Wand|true|false}}
 +
 
 +
|names=Staff
 +
|links=/{{ROOTPAGENAME}}/Staff
 +
|images={{filepath:Icon_Weapon_Staff.png}}
 +
|active={{#ifeq:{{{ActiveLink|}}}|Staff|true|false}}
 +
}}<!--
 +
 
 +
--></includeonly><noinclude>
 
[[Category:Templates]]
 
[[Category:Templates]]
 +
{{WeaponTreesHeader}}
 
</noinclude>
 
</noinclude>

Latest revision as of 00:18, 8 April 2020