Template:Anchor: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<span id="{{{1}}}">{{#if: {{{2|}}}|{{{2}}}|{{{1}}}|}}</span><noinclude> ==Use== Adds an anchor to a line of text. ==Syntax== <pre>{{Anchor|text2anchor|optDisplayText}}</pre>...")
 
mNo edit summary
Line 1: Line 1:
<span id="{{{1}}}">{{#if: {{{2|}}}|{{{2}}}|{{{1}}}|}}</span><noinclude>
<includeonly><span id="{{{1}}}">{{#if: {{{2|}}}|{{{2}}}|{{{1}}}|}}</span></includeonly><noinclude>
==Use==
==Use==
Adds an anchor to a line of text.
Adds an anchor to a line of text.
Line 6: Line 6:
<pre>{{Anchor|text2anchor|optDisplayText}}</pre>
<pre>{{Anchor|text2anchor|optDisplayText}}</pre>


[[Category:Templates|Anchor]]</noinclude>
[[Category:Templates|Anchor]]
</noinclude>

Revision as of 13:17, 16 February 2020

Use

Adds an anchor to a line of text.

Syntax

{{Anchor|text2anchor|optDisplayText}}