Template talk:Anchor

From Dungeons and Dragons Wiki
Revision as of 13:30, 18 June 2017 by Rlyehable (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

2nd Variable[edit]

I would like to add a 2nd variable to this template, that would allow for:

  • display of lower-case link text
  • display of alternate text

Code:

<includeonly>{{#if:{{{2|}}}|<span id="{{{1}}}">{{{2}}}</span>|<span id="{{{1}}}">{{{1}}}</span>| }}</includeonly><noinclude>{{documentation}}
[[Category:Templates|{{PAGENAME}}]]</noinclude>

I am unable to edit the template as it is trancluded to a page with "cascade" on.
Thanks in advance for your help. --Rlyehable (talk) 07:27, 18 June 2017 (MDT)