Editing Template:LE/Doc
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 15: | Line 15: | ||
== Examples == | == Examples == | ||
+ | |||
+ | |||
+ | <span id="{{anchorencode:Test}}" >Hello</span> | ||
+ | |||
<pre>{{LE|Link Example}}</pre> | <pre>{{LE|Link Example}}</pre> | ||
'''{{LE|Link Example}}''': This creates a "Link Example" link on this page, which you can link to with <code><nowiki>[[</nowiki>{{FULLPAGENAME}}#Link Example|example]]</code>. | '''{{LE|Link Example}}''': This creates a "Link Example" link on this page, which you can link to with <code><nowiki>[[</nowiki>{{FULLPAGENAME}}#Link Example|example]]</code>. | ||
Line 21: | Line 25: | ||
'''{{LE|Ancestor Ghost|Summon Ancestor Ghost|Ghost}}''': This is an example that creates several links to the same entry. You could link to this entry with any of <code><nowiki>[[</nowiki>{{FULLPAGENAME}}#Ancestor Ghost]]</code>, <code><nowiki>[[</nowiki>{{FULLPAGENAME}}#Summon Ancestor Ghost]]</code>, or <code><nowiki>[[</nowiki>{{FULLPAGENAME}}#Ghost]]</code>. | '''{{LE|Ancestor Ghost|Summon Ancestor Ghost|Ghost}}''': This is an example that creates several links to the same entry. You could link to this entry with any of <code><nowiki>[[</nowiki>{{FULLPAGENAME}}#Ancestor Ghost]]</code>, <code><nowiki>[[</nowiki>{{FULLPAGENAME}}#Summon Ancestor Ghost]]</code>, or <code><nowiki>[[</nowiki>{{FULLPAGENAME}}#Ghost]]</code>. | ||
β | <pre>{{LE||Link Only}} | + | <pre>{{LE||Link Only}} or |
β | {{LE|2=Link Only}}</pre> | + | {{LE|2=Link Only}}</nowiki></pre> |
{{LE|2=Link Only}} In this case, only a link is created with no text displayed. It can be linked to with <code><nowiki>[[</nowiki>{{FULLPAGENAME}}#Link Only]]</code>. | {{LE|2=Link Only}} In this case, only a link is created with no text displayed. It can be linked to with <code><nowiki>[[</nowiki>{{FULLPAGENAME}}#Link Only]]</code>. | ||
<includeonly>[[Category:Link Templates]]</includeonly><noinclude>[[Category:Template Documentation|{{BASEPAGENAME}}]]</noinclude> | <includeonly>[[Category:Link Templates]]</includeonly><noinclude>[[Category:Template Documentation|{{BASEPAGENAME}}]]</noinclude> |