Difference between revisions of "Template:Statbox"

From Taskman Wiki
Jump to navigation Jump to search
m
m (Undo revision 596 by Annilys (talk) im dummy)
Tag: Undo
Line 2: Line 2:
 
!colspan="3"|{{{title|Title}}}
 
!colspan="3"|{{{title|Title}}}
 
|-
 
|-
|style="width:75px"|[[File:Attack-icon.webp]] <span class="tw-right">{{{attack|1}}}</span>
+
|style="width:75px"|[[File:Attack-icon.webp]] <span style="float:right;">{{{attack|1}}}</span>
|style="width:75px"|[[File:Constitution-icon.webp]] <span class="tw-right">{{{constitution|10}}}</span>
+
|style="width:75px"|[[File:Constitution-icon.webp]] <span style="float:right;">{{{constitution|10}}}</span>
|style="width:75px"|[[File:Mining-icon.webp]] <span class="tw-right">{{{mining|1}}}</span>
+
|style="width:75px"|[[File:Mining-icon.webp]] <span style="float:right;">{{{mining|1}}}</span>
 
|-
 
|-
|[[File:Strength-icon.webp]] <span class="tw-right">{{{strength|1}}}</span>
+
|[[File:Strength-icon.webp]] <span style="float:right;">{{{strength|1}}}</span>
|[[File:Agility-icon.webp]] <span class="tw-right">{{{agility|1}}}</span>
+
|[[File:Agility-icon.webp]] <span style="float:right;">{{{agility|1}}}</span>
|[[File:Smithing-icon.webp]] <span class="tw-right">{{{smithing|1}}}</span>
+
|[[File:Smithing-icon.webp]] <span style="float:right;">{{{smithing|1}}}</span>
 
|-
 
|-
|[[File:Defence-icon.webp]] <span class="tw-right">{{{defence|1}}}</span>
+
|[[File:Defence-icon.webp]] <span style="float:right;">{{{defence|1}}}</span>
|[[File:Herblore-icon.webp]] <span class="tw-right">{{{herblore|1}}}</span>
+
|[[File:Herblore-icon.webp]] <span style="float:right;">{{{herblore|1}}}</span>
|[[File:Fishing-icon.webp]] <span class="tw-right">{{{fishing|1}}}</span>
+
|[[File:Fishing-icon.webp]] <span style="float:right;">{{{fishing|1}}}</span>
 
|-
 
|-
|[[File:Ranged-icon.webp]] <span class="tw-right">{{{ranged|1}}}</span>
+
|[[File:Ranged-icon.webp]] <span style="float:right;">{{{ranged|1}}}</span>
|[[File:Thieving-icon.webp]] <span class="tw-right">{{{thieving|1}}}</span>
+
|[[File:Thieving-icon.webp]] <span style="float:right;">{{{thieving|1}}}</span>
|[[File:Cooking-icon.webp]] <span class="tw-right">{{{cooking|1}}}</span>
+
|[[File:Cooking-icon.webp]] <span style="float:right;">{{{cooking|1}}}</span>
 
|-
 
|-
|[[File:Prayer-icon.png]] <span class="tw-right">{{{prayer|1}}}</span>
+
|[[File:Prayer-icon.png]] <span style="float:right;">{{{prayer|1}}}</span>
|[[File:Crafting-icon.webp]] <span class="tw-right">{{{crafting|1}}}</span>
+
|[[File:Crafting-icon.webp]] <span style="float:right;">{{{crafting|1}}}</span>
|[[File:Firemaking-icon.webp]] <span class="tw-right">{{{firemaking|1}}}</span>
+
|[[File:Firemaking-icon.webp]] <span style="float:right;">{{{firemaking|1}}}</span>
 
|-
 
|-
|[[File:Magic-icon.webp]] <span class="tw-right">{{{magic|1}}}<span>
+
|[[File:Magic-icon.webp]] <span style="float:right;">{{{magic|1}}}<span>
|[[File:Fletching-icon.webp]] <span class="tw-right">{{{fletching|1}}}</span>
+
|[[File:Fletching-icon.webp]] <span style="float:right;">{{{fletching|1}}}</span>
|[[File:Woodcutting-icon.webp]] <span class="tw-right">{{{woodcutting|1}}}</span>
+
|[[File:Woodcutting-icon.webp]] <span style="float:right;">{{{woodcutting|1}}}</span>
 
|-
 
|-
|[[File:Runecrafting-icon.webp]] <span class="tw-right">{{{runecrafting|1}}}</span>
+
|[[File:Runecrafting-icon.webp]] <span style="float:right;">{{{runecrafting|1}}}</span>
|[[File:Slayer-icon.webp]] <span class="tw-right">{{{slayer|1}}}</span>
+
|[[File:Slayer-icon.webp]] <span style="float:right;">{{{slayer|1}}}</span>
|[[File:Farming-icon.webp]] <span class="tw-right">{{{farming|1}}}</span>
+
|[[File:Farming-icon.webp]] <span style="float:right;">{{{farming|1}}}</span>
 
|-
 
|-
|[[File:Construction-icon.webp]] <span class="tw-right">{{{construction|1}}}</span>
+
|[[File:Construction-icon.webp]] <span style="float:right;">{{{construction|1}}}</span>
|[[File:Hunter-icon.webp]] <span class="tw-right">{{{hunter|1}}}<span>
+
|[[File:Hunter-icon.webp]] <span style="float:right;">{{{hunter|1}}}<span>
|[[File:Summoning-icon.webp]] <span class="tw-right">{{{summoning|1}}}</span>
+
|[[File:Summoning-icon.webp]] <span style="float:right;">{{{summoning|1}}}</span>
 
|-
 
|-
|[[File:Dungeoneering-icon.webp]] <span class="tw-right">{{{dungeoneering|1}}}</span>
+
|[[File:Dungeoneering-icon.webp]] <span style="float:right;">{{{dungeoneering|1}}}</span>
|[[File:Divination-icon.webp]] <span class="tw-right">{{{divination|1}}}</span>
+
|[[File:Divination-icon.webp]] <span style="float:right;">{{{divination|1}}}</span>
|[[File:Invention-icon.webp]] <span class="tw-right">{{{invention|1}}}</span>
+
|[[File:Invention-icon.webp]] <span style="float:right;">{{{invention|1}}}</span>
 
|-
 
|-
|[[File:Archaeology-icon.webp|24px]] <span class="tw-right">{{{archaeology|1}}}</span>
+
|[[File:Archaeology-icon.webp|24px]] <span style="float:right;">{{{archaeology|1}}}</span>
|colspan="2"|[[File:Stats overall.png|24px]] <span class="tw-right">{{{total|{{#expr:{{{attack|1}}}+{{{constitution|10}}}+{{{mining|1}}}+{{{strength|1}}}+{{{agility|1}}}+{{{smithing|1}}}+{{{defence|1}}}+{{{herblore|1}}}+{{{fishing|1}}}+{{{ranged|1}}}+{{{thieving|1}}}+{{{cooking|1}}}+{{{prayer|1}}}+{{{crafting|1}}}+{{{firemaking|1}}}+{{{magic|1}}}+{{{fletching|1}}}+{{{woodcutting|1}}}+{{{runecrafting|1}}}+{{{slayer|1}}}+{{{farming|1}}}+{{{construction|1}}}+{{{hunter|1}}}+{{{summoning|1}}}+{{{dungeoneering|1}}}+{{{divination|1}}}+{{{invention|1}}}+{{{archaeology|1}}}}}}}}</span>
+
|colspan="2"|[[File:Stats overall.png|24px]] <span style="float:right;">{{{total|{{#expr:{{{attack|1}}}+{{{constitution|10}}}+{{{mining|1}}}+{{{strength|1}}}+{{{agility|1}}}+{{{smithing|1}}}+{{{defence|1}}}+{{{herblore|1}}}+{{{fishing|1}}}+{{{ranged|1}}}+{{{thieving|1}}}+{{{cooking|1}}}+{{{prayer|1}}}+{{{crafting|1}}}+{{{firemaking|1}}}+{{{magic|1}}}+{{{fletching|1}}}+{{{woodcutting|1}}}+{{{runecrafting|1}}}+{{{slayer|1}}}+{{{farming|1}}}+{{{construction|1}}}+{{{hunter|1}}}+{{{summoning|1}}}+{{{dungeoneering|1}}}+{{{divination|1}}}+{{{invention|1}}}+{{{archaeology|1}}}}}}}}</span>
 
|-
 
|-
|[[File:Combat icon large.png|24px]] <span class="tw-right">{{{cmb|{{#expr:floor((((13/10)*({{#ifexpr:{{{attack|1}}}+{{{strength|1}}} > 2*{{{ranged|1}}} and {{{attack|1}}}+{{{strength|1}}} > 2*{{{magic|1}}}|{{{attack|1}}}+{{{strength|1}}}|{{#ifexpr:2*{{{ranged|1}}} > {{{attack|1}}}+{{{strength|1}}} and 2*{{{ranged|1}}} > 2*{{{magic|1}}}|2*{{{ranged|1}}}|2*{{{magic|1}}}}}}}))+{{{defence|1}}}+{{{constitution|10}}}+floor({{{prayer|1}}}/2)+floor({{{summoning|1}}}/2))/4)}}}}}</span>
+
|[[File:Combat icon large.png|24px]] <span style="float:right;">{{{cmb|{{#expr:floor((((13/10)*({{#ifexpr:{{{attack|1}}}+{{{strength|1}}} > 2*{{{ranged|1}}} and {{{attack|1}}}+{{{strength|1}}} > 2*{{{magic|1}}}|{{{attack|1}}}+{{{strength|1}}}|{{#ifexpr:2*{{{ranged|1}}} > {{{attack|1}}}+{{{strength|1}}} and 2*{{{ranged|1}}} > 2*{{{magic|1}}}|2*{{{ranged|1}}}|2*{{{magic|1}}}}}}}))+{{{defence|1}}}+{{{constitution|10}}}+floor({{{prayer|1}}}/2)+floor({{{summoning|1}}}/2))/4)}}}}}</span>
 
|
 
|
|[[File:Quest points.webp|24px]] <span class="tw-right">{{{qp|1}}}</span>
+
|[[File:Quest points.webp|24px]] <span style="float:right;">{{{qp|1}}}</span>
 
|}<noinclude>[[Category:Transclusion templates]]</noinclude>
 
|}<noinclude>[[Category:Transclusion templates]]</noinclude>

Revision as of 06:58, 20 May 2020

Title
Attack-icon.webp 1 Constitution-icon.webp 10 Mining-icon.webp 1
Strength-icon.webp 1 Agility-icon.webp 1 Smithing-icon.webp 1
Defence-icon.webp 1 Herblore-icon.webp 1 Fishing-icon.webp 1
Ranged-icon.webp 1 Thieving-icon.webp 1 Cooking-icon.webp 1
Prayer-icon.png 1 Crafting-icon.webp 1 Firemaking-icon.webp 1
Magic-icon.webp 1 Fletching-icon.webp 1 Woodcutting-icon.webp 1
Runecrafting-icon.webp 1 Slayer-icon.webp 1 Farming-icon.webp 1
Construction-icon.webp 1 Hunter-icon.webp 1 Summoning-icon.webp 1
Dungeoneering-icon.webp 1 Divination-icon.webp 1 Invention-icon.webp 1
Archaeology-icon.webp 1 Stats overall.png 37
Combat icon large.png 3 Quest points.webp 1