Difference between revisions of "Template talk:Anchor"

From Dungeons and Dragons Wiki
Jump to: navigation, search
(Created page with "==2nd Variable== 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: <pre> <include...")
 
m
 
Line 10: Line 10:
 
</pre>
 
</pre>
  
 +
I am unable to edit the template as it is trancluded to a page with "cascade" on. <br />
 
Thanks in advance for your help. --[[User:Rlyehable|Rlyehable]] ([[User talk:Rlyehable|talk]]) 07:27, 18 June 2017 (MDT)
 
Thanks in advance for your help. --[[User:Rlyehable|Rlyehable]] ([[User talk:Rlyehable|talk]]) 07:27, 18 June 2017 (MDT)

Latest revision as of 13:30, 18 June 2017

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)