From Dark and Darker Wiki

m (phrasing/formatting)
m (added a note that the ability data is updated automatically, and gave an invite to SnG discord)
Line 15: Line 15:
After signing in/creating a Wiki account, click the Pencil icon in the top right and click "Edit Source" from the class page, like [[Barbarian]].<br>
After signing in/creating a Wiki account, click the Pencil icon in the top right and click "Edit Source" from the class page, like [[Barbarian]].<br>


Press Ctrl+F and search for "|abilityname" like "|achillesstrike" (no spaces), at the very bottom of the page you will see data that looks like<br>
Press Ctrl+F and search for "|abilityname=" like "|achillesstrike=" (no spaces), at the very bottom of the page you will see data that looks like<br>
[[File:ClassTemplateDocs_Data.png|link=|x300px]]
[[File:ClassTemplateDocs_Data.png|link=|x300px]]
<br>
<br>


As seen above, Achilles Strike's most important tags that can be called are PhysicalBaseDamage, Scaling, HitslowDuration, and HitslowMoveSpeed. Now, in the table (towards the middle of the Class page) where the description for "Achilles Strike" is written, correct the <pre style="width:fit-content;">{{template call}}</pre> such that the tag is spelled correctly and in the correct place.
As seen above, Achilles Strike's most important tags that can be called are PhysicalBaseDamage, Scaling, HitslowDuration, and HitslowMoveSpeed. Note that this data as seen above is updated automatically by the Spells & Guns team. If an update just came out to Dark and Darker and a tag that should be there isn't quite yet, either add it there temporarily or await the automatic update.
 
<br>Now, in the table (towards the middle of the Class page) where the description for "Achilles Strike" is written, correct the <pre style="width:fit-content;">{{template call}}</pre> such that the tag is spelled correctly and in the correct place.
As of writing this, Achilles Strike's description and scaling is written as
As of writing this, Achilles Strike's description and scaling is written as
<pre><td> The next physical attack applies a debuff that lasts {{:Barbarian|AchillesStrike|HitslowDuration}}.  
<pre><td> The next physical attack applies a debuff that lasts {{:Barbarian|AchillesStrike|HitslowDuration}}.  
Line 55: Line 57:
<pre style="width:fit-content;">{{:Barbarian|AchillesStrike|PhysicalDamage}}</pre>
<pre style="width:fit-content;">{{:Barbarian|AchillesStrike|PhysicalDamage}}</pre>
{{:Barbarian|AchillesStrike|PhysicalDamage}}
{{:Barbarian|AchillesStrike|PhysicalDamage}}
==Questions?==
Have any further questions? Feel free to reach out in the [https://discord.com/invite/wqRBSytTmP/ Spells and Guns discord's] wiki discussion channel!

Revision as of 01:02, 13 July 2024

Why is it broken?

The error mentioning that its broken can be displayed for a few reasons

  • The ability name was spelled incorrectly/typo'd
  • The ability' tag was spelled incorrectly/typo'd
  • IronMace changed the ability's name
  • IronMace changed the ability such that the ability no longer has that tag

The error may be displayed as:

No ability found for "Achilles Strike", please correct it


How to fix

Recommended to edit from a PC rather than mobile.

After signing in/creating a Wiki account, click the Pencil icon in the top right and click "Edit Source" from the class page, like Barbarian.

Press Ctrl+F and search for "|abilityname=" like "|achillesstrike=" (no spaces), at the very bottom of the page you will see data that looks like
ClassTemplateDocs Data.png

As seen above, Achilles Strike's most important tags that can be called are PhysicalBaseDamage, Scaling, HitslowDuration, and HitslowMoveSpeed. Note that this data as seen above is updated automatically by the Spells & Guns team. If an update just came out to Dark and Darker and a tag that should be there isn't quite yet, either add it there temporarily or await the automatic update.


Now, in the table (towards the middle of the Class page) where the description for "Achilles Strike" is written, correct the

{{template call}}

such that the tag is spelled correctly and in the correct place.

As of writing this, Achilles Strike's description and scaling is written as

<td> The next physical attack applies a debuff that lasts {{:Barbarian|AchillesStrike|HitslowDuration}}. 
  During this debuff, the victim loses {{:Barbarian|AchillesStrike|HitslowMoveSpeed}}, 
  and any step they take will inflict {{:Barbarian|AchillesStrike|PhysicalBaseDamage}}. </td>
<td> Damage per step: {{:Barbarian|AchillesStrike|Scaling}} </td>
<td> {{:Barbarian|AchillesStrike|SkillCooldown}} </td>

Which then appears as
ClassTemplateDocs Description.png


Case Sensitivity

Template calls are not case sensitive, it can be full uppercase (BARBARIAN) or full lowercase (barbarian), but preferred to be propercase (Barbarian).

Spaces

Spaces are never present in the ability name nor the tag name. "AchillesStrike" is a valid ability, "Achilles Strike" is not.

Examples

How to call an ability's tag value:

{{:Barbarian|AchillesStrike|PhysicalBaseDamage}}

No ability found for "AchillesStrike", please correct it


If the ability doesn't exist:

{{:Barbarian|Achilles Strike|PhysicalBaseDamage}}

No ability found for "Achilles Strike", please correct it


If the tag doesn't exist for that ability

{{:Barbarian|AchillesStrike|PhysicalDamage}}

No ability found for "AchillesStrike", please correct it

Questions?

Have any further questions? Feel free to reach out in the Spells and Guns discord's wiki discussion channel!