Difference between revisions of "Template:Linkable Entry"

From Starsonata Wiki
Jump to: navigation, search
 
Line 2: Line 2:
 
<noinclude>
 
<noinclude>
  
This template lets you create a linkable entry for any text in the same way that creating a header normally does. So putting <nowiki>{{Linkable Entry|Zebucart}}</nowiki> on the Ships page will display just the text Zebucart, but you can use the link <nowiki>[[Ships#Zebucart]]</nowiki> to jump directly to that piece of text. The template also allows for 2 extra links to the same text. <nowiki>{{Linkable Entry|Zebucart|Pigeons|Cats}}<nowiki> will still display Zebucart, but <nowiki>[[Ships#Piegons]]</nowiki> and <nowiki>[[Ships#Cats]]</nowiki> will both link to it as well.
+
This template lets you create a linkable entry for any text in the same way that creating a header normally does. So putting <nowiki>{{Linkable Entry|Zebucart}}</nowiki> on the Ships page will display just the text Zebucart, but you can use the link <nowiki>[[Ships#Zebucart]]</nowiki> to jump directly to that piece of text. The template also allows for 2 extra links to the same text. <nowiki>{{Linkable Entry|Zebucart|Pigeons|Cats}}</nowiki> will still display Zebucart, but <nowiki>[[Ships#Piegons]]</nowiki> and <nowiki>[[Ships#Cats]]</nowiki> will both link to it as well.
 
[[Category: Display templates]]
 
[[Category: Display templates]]
  
 
</noinclude>
 
</noinclude>

Latest revision as of 23:42, 26 November 2011

{{{1}}}


This template lets you create a linkable entry for any text in the same way that creating a header normally does. So putting {{Linkable Entry|Zebucart}} on the Ships page will display just the text Zebucart, but you can use the link [[Ships#Zebucart]] to jump directly to that piece of text. The template also allows for 2 extra links to the same text. {{Linkable Entry|Zebucart|Pigeons|Cats}} will still display Zebucart, but [[Ships#Piegons]] and [[Ships#Cats]] will both link to it as well.