|
|
Line 1: |
Line 1: |
| <includeonly><span id="{{{1|}}}" class="text-anchor">{{#if:{{{1}}}|{{{2|{{{1}}}}}}}}</span></includeonly><noinclude>
| | lets see if blanking this fixes it |
| ==Documentation==
| |
| This template renders enclosed text in a <code><nowiki><span id="Unique anchor name"></span></nowiki></code> inline, with the text inside the span also being used as the <code>unique anchor name</code>. This creates an anchor that can be linked to with <code><nowiki>[[#Unique anchor name]]</nowiki></code> on the same page or <code><nowiki>[[Page name#Unique anchor name]]</nowiki></code> on a different page.
| |
| | |
| ===Usage instructions===
| |
| *<code><nowiki>{{text anchor|Example anchor 1}}</nowiki></code> →<br \>{{text anchor|Example anchor 1}}
| |
| | |
| *<code><nowiki>{{text anchor|Example anchor 2|Anchor name example}}</nowiki></code> →<br \>{{text anchor|Example anchor 2|Anchor name example}}
| |
| | |
| {{anchor|An example}} of its usage is <code><nowiki>{{anchor|An example}}</nowiki></code>, which turns the first two words in this sentence into an anchor that can be linked to with <code><nowiki>[[#An example]]</nowiki></code> from this page or <code><nowiki>[[Template:Anchor#An example]]</nowiki></code> from a different page.
| |
| | |
| [[Category:Formatting templates]]
| |
| | |
| | |
| ==Usage instructions==
| |
| This template renders enclosed text in a <code><nowiki><span id="Unique anchor name"></span></nowiki></code> inline, with the text inside the span also being used as the <code>unique anchor name</code>. This creates an anchor that can be linked to with <code><nowiki>[[#Unique anchor name]]</nowiki></code> on the same page or <code><nowiki>[[Template:Anchor#Unique anchor name]]</nowiki></code> on a different page.
| |
| | |
| *<code><nowiki>{{anchor|test}}</nowiki></code>→
| |
| | |
| {{anchor|test1}}
| |
| | |
| {{anchor|test2|testercall2}}
| |
| | |
| {{anchor|test3|testercal3|testlevels}}
| |
| | |
| [[Category:Formatting templates]]
| |
Revision as of 00:15, 6 December 2017
lets see if blanking this fixes it