Difference between revisions of "Template:Link"

From Epic Paths
Jump to navigation Jump to search
Tag: Manual revert
Tag: Reverted
Line 23: Line 23:
-->{{#ifeq:{{{2|}}}|uc|{{#vardefine:linktitle|<span style="text-transform: capitalize">{{#var:linktitle}}</span>}}|}}<!--
-->{{#ifeq:{{{2|}}}|uc|{{#vardefine:linktitle|<span style="text-transform: capitalize">{{#var:linktitle}}</span>}}|}}<!--
-->{{#ifeq:{{{2|}}}|lc|{{#vardefine:linktitle|{{lc:{{#var:linktitle}}}}}}|}}<!--
-->{{#ifeq:{{{2|}}}|lc|{{#vardefine:linktitle|{{lc:{{#var:linktitle}}}}}}|}}<!--
-->[[{{{1}}}|{{#var:linktitle}}]]<!--
-->[[{{{1}}}|{{#var:linktitle}}]]{{{1}}}<!--
--></includeonly>
--></includeonly>

Revision as of 15:42, 6 August 2021


Parameters:

1(required): The link in question

2(optional): "lc" to transform title to lowercase, "uc" to transform to uppercase

Example: {{Link|Equipment/Heavy Crossbow}} = Heavy CrossbowEquipment/Heavy Crossbow

Example: {{Link|Equipment#Weapons}} = WeaponsEquipment#Weapons

Example: {{Link|:Category:Combat}} = Combat:Category:Combat

Example: {{Link|Equipment/WeaponList#Ranged}} = RangedEquipment/WeaponList#Ranged

Example: {{Link|Equipment/Heavy Crossbow|lc}} = heavy crossbowEquipment/Heavy Crossbow

Example: {{Link|mana barrier|uc}} = mana barriermana barrier