<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?action=history&amp;feed=atom&amp;title=Module%3AHeroSubClassData%2Fdoc</id>
	<title>Module:HeroSubClassData/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?action=history&amp;feed=atom&amp;title=Module%3AHeroSubClassData%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Module:HeroSubClassData/doc&amp;action=history"/>
	<updated>2026-09-16T02:33:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Module:HeroSubClassData/doc&amp;diff=20614&amp;oldid=prev</id>
		<title>76561198256426587: Created page with &quot;{{Documentation}} This module provides standardized methods to query mechanical data configurations, activation skill prerequisites, and localized texts mapped to specific hero mastery subclasses directly from the Cargo database tables (specifically &lt;code&gt;HeroSubClass&lt;/code&gt; and &lt;code&gt;Translation&lt;/code&gt;).  == Basic Syntax ==  To extract any structural variable node or translation block from a hero subclass registry page: &lt;pre&gt;{{#invoke:HeroSubClassData|get|SUBCLASS_ID|VA...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoodedhorse.com/Heroes_of_Might_and_Magic_Olden_Era/index.php?title=Module:HeroSubClassData/doc&amp;diff=20614&amp;oldid=prev"/>
		<updated>2026-05-26T20:10:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation}} This module provides standardized methods to query mechanical data configurations, activation skill prerequisites, and localized texts mapped to specific hero mastery subclasses directly from the Cargo database tables (specifically &amp;lt;code&amp;gt;HeroSubClass&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Translation&amp;lt;/code&amp;gt;).  == Basic Syntax ==  To extract any structural variable node or translation block from a hero subclass registry page: &amp;lt;pre&amp;gt;{{#invoke:HeroSubClassData|get|SUBCLASS_ID|VA...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation}}&lt;br /&gt;
This module provides standardized methods to query mechanical data configurations, activation skill prerequisites, and localized texts mapped to specific hero mastery subclasses directly from the Cargo database tables (specifically &amp;lt;code&amp;gt;HeroSubClass&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Translation&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== Basic Syntax ==&lt;br /&gt;
&lt;br /&gt;
To extract any structural variable node or translation block from a hero subclass registry page:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{#invoke:HeroSubClassData|get|SUBCLASS_ID|VARIABLE|LANGUAGE_CODE}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;SUBCLASS_ID&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; : The technical internal database key identifier assigned to the targeted hero subclass row (e.g., &amp;lt;code&amp;gt;sub_class_human_might_1&amp;lt;/code&amp;gt;).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;VARIABLE&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; : The specific data field node target identifier to look up (see reference matrix below).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;LANGUAGE_CODE&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; : &amp;#039;&amp;#039;(Optional)&amp;#039;&amp;#039; Sets the localization system language. Defaults to French (&amp;lt;code&amp;gt;fr&amp;lt;/code&amp;gt;) if omitted, with automated fallbacks.&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
== Technical Reference Index ==&lt;br /&gt;
&lt;br /&gt;
=== 📝 Localized Text Blocks (Language-Aware) ===&lt;br /&gt;
Queries localized dictionary assets that translate dynamically based on the language parameter input.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:100%;&amp;quot;&lt;br /&gt;
! Variable Keyword !! Description !! Sample Expected Output&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; || The localized public name of the specialty subclass. || Bretteur&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; || Mechanical lore synopses detailing passive thresholds or stats adjustments. || Coup héroïque inflige +60 point(s)...&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ⚙️ Structural &amp;amp; Mechanical Properties ===&lt;br /&gt;
Static code variables returning gameplay rows directly mapped parameters tied into the core game database.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:100%;&amp;quot;&lt;br /&gt;
! Variable Keyword !! Description !! Sample Output&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;faction&amp;lt;/code&amp;gt; || The alignment technical name faction group linked to the subclass. || &amp;lt;code&amp;gt;human&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;class_type&amp;lt;/code&amp;gt; || Archetypal class methodology branch style. || &amp;lt;code&amp;gt;might&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;icon&amp;lt;/code&amp;gt; || Graphical asset emblem visual token key identifier. || &amp;lt;code&amp;gt;sub_class_human_might_1_icon&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;source_path&amp;lt;/code&amp;gt; || Server file system dump localization repository tree tracker. || &amp;lt;code&amp;gt;DB/heroes_sub_classes/sub_classes_human.json&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== ⚔️ Required Activation Skills ===&lt;br /&gt;
Prerequisites requirements parameters checking skills conditions to validate the subclass unlock state.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:100%;&amp;quot;&lt;br /&gt;
! Variable Keyword !! Description !! Variable Keyword !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;activation_skill_1_sid&amp;lt;/code&amp;gt; || Internal ID of required Skill 1 || &amp;lt;code&amp;gt;activation_skill_1_level&amp;lt;/code&amp;gt; || Required level threshold for Skill 1&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;activation_skill_2_sid&amp;lt;/code&amp;gt; || Internal ID of required Skill 2 || &amp;lt;code&amp;gt;activation_skill_2_level&amp;lt;/code&amp;gt; || Required level threshold for Skill 2&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;activation_skill_3_sid&amp;lt;/code&amp;gt; || Internal ID of required Skill 3 || &amp;lt;code&amp;gt;activation_skill_3_level&amp;lt;/code&amp;gt; || Required level threshold for Skill 3&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;activation_skill_4_sid&amp;lt;/code&amp;gt; || Internal ID of required Skill 4 || &amp;lt;code&amp;gt;activation_skill_4_level&amp;lt;/code&amp;gt; || Required level threshold for Skill 4&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;activation_skill_5_sid&amp;lt;/code&amp;gt; || Internal ID of required Skill 5 || &amp;lt;code&amp;gt;activation_skill_5_level&amp;lt;/code&amp;gt; || Required level threshold for Skill 5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
== Practical Implementation Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Example 1: Creating a Prerequisites Checklist ===&lt;br /&gt;
Pull structural required requirements to display dynamic conditional lists on wiki pages:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
To become a {{#invoke:HeroSubClassData|get|sub_class_human_might_1|name|en}}, you need:&lt;br /&gt;
* {{#invoke:HeroSubClassData|get|sub_class_human_might_1|activation_skill_1_sid}} at Level {{#invoke:HeroSubClassData|get|sub_class_human_might_1|activation_skill_1_level}}&lt;br /&gt;
* {{#invoke:HeroSubClassData|get|sub_class_human_might_1|activation_skill_2_sid}} at Level {{#invoke:HeroSubClassData|get|sub_class_human_might_1|activation_skill_2_level}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Module Documentation]]&lt;/div&gt;</summary>
		<author><name>76561198256426587</name></author>
	</entry>
</feed>