From Dark and Darker Wiki

Revision as of 04:52, 24 July 2024 by Sur (talk | contribs) (second round of updates for moving to Ability_Data)

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, go to the Template:Ability_Data page, click the Pencil icon in the top right click "Edit Source".

Press Ctrl+F and search for "abilityname=" like "achillesstrike=" (no spaces), it should look 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 another tab go to the class page, Barbarian, and once again click the pencil then "Edit Source".

If a typo'd tag is added/removed that needs to be changed; view the wikitable (towards the middle of the Class page) where the information for "Achilles Strike" is called, and correct the

{{template call}}

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

As of writing this, Achilles Strike's description (important tags), scaling, and cooldown are called like

<td> {{:Barbarian|AchillesStrike}} </td>
<td> Damage per step: {{:Barbarian|AchillesStrike|Scaling}} </td>
<td> {{:Barbarian|AchillesStrike|SkillCooldown}} </td>

Which then appear as
ClassTemplateDocs Description.png



Note that the manually written part of the description for a given ability is called by

{{:Barbarian|AchillesStrike}}


If the description's phrasing is what needs adjusting, Ctrl+F for "achillesstrike=". At the bottom of the page it will be written similarly as seen below. Adjust it as necessary. These phrasings are manually written and managed by the community.
ClassTemplateDocs Phrasing.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:

{{Ability_Data|AchillesStrike|PhysicalBaseDamage}}

1 Physical Base Damage


If the ability doesn't exist:

{{Ability_Data|Achilles Strike|PhysicalBaseDamage}}

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


If the tag doesn't exist for that ability

{{Ability_Data|AchillesStrike|PhysicalDamage}}

No tag found for "PhysicalDamage", please correct it

Questions?

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