Difference between revisions of "Template:LE/Doc"

The Beyond Skyrim Wiki — Hosted by UESP
Jump to: navigation, search
m (remove MetaTemplate dependency)
m
Line 18: Line 18:
 
'''{{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>.
  
{{Pre|<nowiki>{{LE|Ancestor Ghost|Summon Ancestor Ghost|Ghost}}</nowiki>}}
+
<pre>{{LE|Ancestor Ghost|Summon Ancestor Ghost|Ghost}}</pre>
 
'''{{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|<nowiki>{{LE||Link Only}}</nowiki> ''or''<nowiki>
+
<pre>{{LE||Link Only}} or
{{LE|2=Link Only}}</nowiki>}}
+
{{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>

Revision as of 11:05, 20 May 2018

Linkable Entry

Summary

This template allows crosslinks to be created to any entry on a page instead of only to section headers.

Parameters

LE
Parameter Scope Description
1 optional The text to display as well as the name of the link to create (links will be reduced to their text automatically). To use a different link name and text name, put the text on the page as normal, then include this template but leave the first parameter blank or use the second parameter by number.
2-4 optional Additional links to create with no text.

Examples

{{LE|Link Example}}

Link Example: This creates a "Link Example" link on this page, which you can link to with [[Template:LE/Doc#Link Example|example]].

{{LE|Ancestor Ghost|Summon Ancestor Ghost|Ghost}}

Ancestor Ghost: This is an example that creates several links to the same entry. You could link to this entry with any of [[Template:LE/Doc#Ancestor Ghost]], [[Template:LE/Doc#Summon Ancestor Ghost]], or [[Template:LE/Doc#Ghost]].

{{LE||Link Only}} or
{{LE|2=Link Only}}</nowiki>

In this case, only a link is created with no text displayed. It can be linked to with [[Template:LE/Doc#Link Only]].