FANDOM


VirtuosForge64x Virtuos Forge
Template documentation (for the above template, sometimes hidden or invisible)
Description
This template will make a link to the Arcane with a tooltip showing the Arcane and top rank description. It will only accept the exact name of the Arcane.
Syntax
Type {{Arcane|Mod|Custom Name}} as a replacement for mod link.
Input examples

{{Arcane|Magus Cloud}}

{{Arcane|Exodia Contagion|Melee Arcane}} The second unnamed parameter is used to rename the link. This adds the name of the arcane to the tooltip.

{{Arcane|Arcane Contagion}} Incorrect arcane name gives an error and adds Category:Arcane Tooltip error to the page.

  • {{Arcane}} "Arcane Contagion" not found
Technical stuff

The template checks if first argument matches the name of the arcane in Module:Arcane/data. This is to check if an arcane with that name actually exists.

  • If the arcane exists, class="arcane-tooltip" data-param="{{{1|}}}" tells javascript that this text wants a tooltip, which is made by {{Tooltip/Arcane}}.
    • data-name="{{{2|}}}" passes the rename over to the tooltip so the actual name can be added.
  • If the mod doesn't exist, the error is shown instead of a redlink along with Category:Arcane Tooltip error added on that page.

Visit Template:Arcane/doc to edit this text! (How does this work?)
Community content is available under CC-BY-SA unless otherwise noted.