<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://wiki.cassettebeasts.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AStatsHex</id>
	<title>Template:StatsHex - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.cassettebeasts.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AStatsHex"/>
	<link rel="alternate" type="text/html" href="http://wiki.cassettebeasts.com/index.php?title=Template:StatsHex&amp;action=history"/>
	<updated>2026-10-26T10:27:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>http://wiki.cassettebeasts.com/index.php?title=Template:StatsHex&amp;diff=9872&amp;oldid=prev</id>
		<title>Mezzodrinker: Re-size demonstration table to 100% width, as the hex would otherwise have a size of 0×0</title>
		<link rel="alternate" type="text/html" href="http://wiki.cassettebeasts.com/index.php?title=Template:StatsHex&amp;diff=9872&amp;oldid=prev"/>
		<updated>2024-11-30T15:30:44Z</updated>

		<summary type="html">&lt;p&gt;Re-size demonstration table to 100% width, as the hex would otherwise have a size of 0×0&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:30, 30 November 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;IMPORTANT NOTE:&amp;#039;&amp;#039;&amp;#039; The stat hexagon will &amp;#039;&amp;#039;always&amp;#039;&amp;#039; scale to the surrounding element&amp;#039;s bounds! This means that, unless you put the result of this template into a width- and/or height-constrained element, the hexagon will use the entire width available in its parent element.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;IMPORTANT NOTE:&amp;#039;&amp;#039;&amp;#039; The stat hexagon will &amp;#039;&amp;#039;always&amp;#039;&amp;#039; scale to the surrounding element&amp;#039;s bounds! This means that, unless you put the result of this template into a width- and/or height-constrained element, the hexagon will use the entire width available in its parent element.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;table class=&quot;wikitable mw-collapsible mw-collapsed&quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;table class=&quot;wikitable mw-collapsible mw-collapsed&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot; style=&quot;width: 100%&lt;/ins&gt;&quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;tr&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;th colspan=&amp;quot;2&amp;quot;&amp;gt;Automatic scaling demonstration&amp;lt;/th&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;th colspan=&amp;quot;2&amp;quot;&amp;gt;Automatic scaling demonstration&amp;lt;/th&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki:diff:1.41:old-9871:rev-9872:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Mezzodrinker</name></author>
	</entry>
	<entry>
		<id>http://wiki.cassettebeasts.com/index.php?title=Template:StatsHex&amp;diff=9871&amp;oldid=prev</id>
		<title>Mezzodrinker: Created page with &quot;&lt;div style=&quot;width: 300px;&quot;&gt;&lt;onlyinclude&gt;&lt;!-- stats-hex container --&gt;&lt;div style=&quot;position: relative; box-sizing: border-box; width: 100%; height: 100%; padding: calc(2lh + 0.25...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.cassettebeasts.com/index.php?title=Template:StatsHex&amp;diff=9871&amp;oldid=prev"/>
		<updated>2024-11-30T15:28:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;div style=&amp;quot;width: 300px;&amp;quot;&amp;gt;&amp;lt;onlyinclude&amp;gt;&amp;lt;!-- stats-hex container --&amp;gt;&amp;lt;div style=&amp;quot;position: relative; box-sizing: border-box; width: 100%; height: 100%; padding: calc(2lh + 0.25...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;width: 300px;&amp;quot;&amp;gt;&amp;lt;onlyinclude&amp;gt;&amp;lt;!-- stats-hex container --&amp;gt;&amp;lt;div style=&amp;quot;position: relative; box-sizing: border-box; width: 100%; height: 100%; padding: calc(2lh + 0.25em) calc(6ch + 0.25em); text-align: center; font-size: 12pt; line-height: 1.5; font-weight: bold; white-space: nowrap;&amp;quot;&amp;gt;&amp;lt;!-- stats hex --&amp;gt;&amp;lt;div style=&amp;quot;position: relative; aspect-ratio: cos(30deg); clip-path: polygon(-50% 50%, 50% 100%, 150% 50%, 50% 0); background: white;&amp;quot;&amp;gt;&amp;lt;!-- stats hex inner --&amp;gt;&amp;lt;div style=&amp;quot;position: absolute; top: 2.5%; right: 2.5%; bottom: 2.5%; left: 2.5%; clip-path: polygon(-50% 50%, 50% 100%, 150% 50%, 50% 0); background: #9dacc3;&amp;quot;&amp;gt;&amp;lt;!-- axes --&amp;gt;&amp;lt;div style=&amp;quot;position: absolute; top: 0; bottom: 0; left: 50%; width: 2.5%; background: white; transform: translateX(-50%);&amp;quot;&amp;gt;&amp;lt;!-- axis 60° --&amp;gt;&amp;lt;div style=&amp;quot;position: absolute; top: 0; bottom: 0; width: 100%; background: white; transform: rotate(60deg);&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;!-- /axis 60° --&amp;gt;&amp;lt;!-- axis -60° --&amp;gt;&amp;lt;div style=&amp;quot;position: absolute; top: 0; bottom: 0; width: 100%; background: white; transform: rotate(-60deg);&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;!-- /axis -60° --&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;!-- /axes --&amp;gt;&amp;lt;!-- stats --&amp;gt;{{#tag: div|&lt;br /&gt;
&amp;lt;!-- stats inner --&amp;gt;{{#tag: div|&lt;br /&gt;
| style = position: absolute; top: 5%; right: 5%; bottom: 5%; left: 5%; background: #3fbb9f; clip-path: polygon(50% calc(50% - {{{maxhp|50}}} / {{{max|300}}} * 47.5%), calc(50% + {{{matk|50}}} / {{{max|300}}} * 47.5%) calc(50% - {{{matk|50}}} / {{{max|300}}} * 47.5% * cos(60deg)), calc(50% + {{{mdef|50}}} / {{{max|300}}} * 47.5%) calc(50% - {{{mdef|50}}} / {{{max|300}}} * 47.5% * cos(120deg)), 50% calc(50% + {{{speed|50}}} / {{{max|300}}} * 47.5%), calc(50% - {{{rdef|50}}} / {{{max|300}}} * 47.5%) calc(50% - {{{rdef|50}}} / {{{max|300}}} * 47.5% * cos(240deg)), calc(50% - {{{ratk|50}}} / {{{max|300}}} * 47.5%) calc(50% - {{{ratk|50}}} / {{{max|300}}} * 47.5% * cos(300deg)))&lt;br /&gt;
}}&amp;lt;!-- /stats inner --&amp;gt;&lt;br /&gt;
| style = position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: #ab75e8; opacity: 0.85; clip-path: polygon(50% calc(50% - {{{maxhp|50}}} / {{{max|300}}} * 47.5%), calc(50% + {{{matk|50}}} / {{{max|300}}} * 47.5%) calc(50% - {{{matk|50}}} / {{{max|300}}} * 47.5% * cos(60deg)), calc(50% + {{{mdef|50}}} / {{{max|300}}} * 47.5%) calc(50% - {{{mdef|50}}} / {{{max|300}}} * 47.5% * cos(120deg)), 50% calc(50% + {{{speed|50}}} / {{{max|300}}} * 47.5%), calc(50% - {{{rdef|50}}} / {{{max|300}}} * 47.5%) calc(50% - {{{rdef|50}}} / {{{max|300}}} * 47.5% * cos(240deg)), calc(50% - {{{ratk|50}}} / {{{max|300}}} * 47.5%) calc(50% - {{{ratk|50}}} / {{{max|300}}} * 47.5% * cos(300deg)))&lt;br /&gt;
}}&amp;lt;!-- /stats --&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;!-- /stats hex inner--&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;!-- /stats hex --&amp;gt;&amp;lt;!-- stats --&amp;gt;&amp;lt;span style=&amp;quot;position: absolute; top: 0; left: 50%; transform: translateX(-50%);&amp;quot;&amp;gt;&amp;lt;abbr title=&amp;quot;Maximum Hitpoints&amp;quot;&amp;gt;Max HP&amp;lt;/abbr&amp;gt;&amp;lt;br&amp;gt;{{{maxhp|50}}}&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;position: absolute; top: calc(50% - 50% * cos(60deg)); right: 0;&amp;quot;&amp;gt;&amp;lt;abbr title=&amp;quot;Melee Attack&amp;quot;&amp;gt;M. Atk&amp;lt;/abbr&amp;gt;&amp;lt;br&amp;gt;{{{matk|50}}}&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;position: absolute; bottom: calc(50% - 50% * cos(60deg)); right: 0;&amp;quot;&amp;gt;&amp;lt;abbr title=&amp;quot;Melee Defence&amp;quot;&amp;gt;M. Def&amp;lt;/abbr&amp;gt;&amp;lt;br&amp;gt;{{{mdef|50}}}&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);&amp;quot;&amp;gt;Speed&amp;lt;br&amp;gt;{{{speed|50}}}&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;position: absolute; bottom: calc(50% - 50% * cos(60deg)); left: 0;&amp;quot;&amp;gt;&amp;lt;abbr title=&amp;quot;Ranged Defence&amp;quot;&amp;gt;R. Def&amp;lt;/abbr&amp;gt;&amp;lt;br&amp;gt;{{{rdef|50}}}&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;position: absolute; top: calc(50% - 50% * cos(60deg)); left: 0;&amp;quot;&amp;gt;&amp;lt;abbr title=&amp;quot;Ranged Attack&amp;quot;&amp;gt;R. Atk&amp;lt;/abbr&amp;gt;&amp;lt;br&amp;gt;{{{ratk|50}}}&amp;lt;/span&amp;gt;&amp;lt;!-- /stats --&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;!-- /stats-hex container --&amp;gt;&amp;lt;/onlyinclude&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;IMPORTANT NOTE:&amp;#039;&amp;#039;&amp;#039; The stat hexagon will &amp;#039;&amp;#039;always&amp;#039;&amp;#039; scale to the surrounding element&amp;#039;s bounds! This means that, unless you put the result of this template into a width- and/or height-constrained element, the hexagon will use the entire width available in its parent element.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable mw-collapsible mw-collapsed&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;th colspan=&amp;quot;2&amp;quot;&amp;gt;Automatic scaling demonstration&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;constrained to a width of 300px&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;unconstrained&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;width: 300px&amp;quot;&amp;gt;{{StatsHex}}&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;{{StatsHex}}&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to achieve the same size as the example at the beginning of the page, use the template as follows:&lt;br /&gt;
{{#tag: pre | &amp;lt;div style=&amp;quot;width: 300px;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;{{PAGENAME}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/div&amp;gt; }}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; maxhp&lt;br /&gt;
: &amp;#039;&amp;#039;(optional, defaults to 50)&amp;#039;&amp;#039;&amp;lt;br&amp;gt;Value of the &amp;quot;Max HP&amp;quot; stat.&lt;br /&gt;
; matk&lt;br /&gt;
: &amp;#039;&amp;#039;(optional, defaults to 50)&amp;#039;&amp;#039;&amp;lt;br&amp;gt;Value of the &amp;quot;M. Atk&amp;quot; stat.&lt;br /&gt;
; mdef&lt;br /&gt;
: &amp;#039;&amp;#039;(optional, defaults to 50)&amp;#039;&amp;#039;&amp;lt;br&amp;gt;Value of the &amp;quot;M. Def&amp;quot; stat.&lt;br /&gt;
; ratk&lt;br /&gt;
: &amp;#039;&amp;#039;(optional, defaults to 50)&amp;#039;&amp;#039;&amp;lt;br&amp;gt;Value of the &amp;quot;R. Def&amp;quot; stat.&lt;br /&gt;
; rdef&lt;br /&gt;
: &amp;#039;&amp;#039;(optional, defaults to 50)&amp;#039;&amp;#039;&amp;lt;br&amp;gt;Value of the &amp;quot;R. Atk&amp;quot; stat.&lt;br /&gt;
; speed&lt;br /&gt;
: &amp;#039;&amp;#039;(optional, defaults to 50)&amp;#039;&amp;#039;&amp;lt;br&amp;gt;Value of the &amp;quot;Speed&amp;quot; stat.&lt;br /&gt;
; max&lt;br /&gt;
: &amp;#039;&amp;#039;(optional, defaults to 300)&amp;#039;&amp;#039;&amp;lt;br&amp;gt;Maximum value that can be shown in the stats hexagon. The higher the value, the lower the scaling factor for all stats. Should not be lower than any stat&amp;#039;s value or things might start to look... odd.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;width: 300px;&amp;quot;&amp;gt;{{StatsHex|maxhp=144|matk=100|mdef=100|ratk=100|rdef=100|speed=100|max=150}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt; → &amp;lt;div style=&amp;quot;width: 300px;&amp;quot;&amp;gt;{{StatsHex|maxhp=144|matk=100|mdef=100|ratk=100|rdef=100|speed=100|max=150}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;width: 300px;&amp;quot;&amp;gt;{{StatsHex|maxhp=80|matk=150|mdef=80|ratk=80|rdef=80|speed=190}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt; → &amp;lt;div style=&amp;quot;width: 300px;&amp;quot;&amp;gt;{{StatsHex|maxhp=80|matk=150|mdef=80|ratk=80|rdef=80|speed=190}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mezzodrinker</name></author>
	</entry>
</feed>