Difference between revisions of "Template:LE/Doc"
The Beyond Skyrim Wiki — Hosted by UESP
m (→Examples) |
m (→Examples: fix) |
||
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
== Examples == | == Examples == | ||
− | |||
− | |||
− | |||
− | |||
<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 25: | Line 21: | ||
'''{{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}} |
− | {{LE|2=Link Only}} | + | {{LE|2=Link Only}}</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> |
Latest revision as of 11:10, 20 May 2018
Linkable Entry
Summary[edit]
This template allows crosslinks to be created to any entry on a page instead of only to section headers.
Parameters[edit]
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[edit]
{{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}} {{LE|2=Link Only}}
In this case, only a link is created with no text displayed. It can be linked to with [[Template:LE/Doc#Link Only]]
.