Difference between revisions of "Template:Linkable Entry Page"

From Starsonata Wiki
Jump to: navigation, search
(Created page with "<span id="{{{1}}}"></span>[[{{{1}}}]]")
 
(Added the ability to link to a different page)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<span id="{{{1}}}"></span>[[{{{1}}}]]
+
{{#if:{{{2|}}}|<span id="{{{1}}}"></span>[[{{{2}}}|{{{1}}}]]|<span id="{{{1}}}"></span>[[{{{1}}}]]}}
 +
<noinclude>
 +
 
 +
This template lets you create a linkable entry for any text in the same way that creating a header normally does. This version also links to a page on the wiki with that name. Putting <nowiki>{{Linkable Entry Page|Zebucart}}</nowiki> on the Ships page will display a link to the Zebucart page, but you can use the link <nowiki>[[Ships#Zebucart]]</nowiki> to jump directly to that piece of text.
 +
[[Category: Display templates]]
 +
 
 +
</noinclude>

Latest revision as of 01:01, 24 July 2023

[[{{{1}}}]]


This template lets you create a linkable entry for any text in the same way that creating a header normally does. This version also links to a page on the wiki with that name. Putting {{Linkable Entry Page|Zebucart}} on the Ships page will display a link to the Zebucart page, but you can use the link [[Ships#Zebucart]] to jump directly to that piece of text.