Difference between revisions of "Legacy THNapi:Wiki link"

From Neocron Wiki
Jump to: navigation, search
m (typo...)
(Fixed incorrect example)
 
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
=== Example ===
 
=== Example ===
  
Example:  '''<nowiki><wiki:link page="The_Fallen_Angels"/></nowiki>'''
+
Example:  '''<nowiki><wiki:link page="The_Fallen_Angels">All about Fallen Angels<wiki:link></nowiki>'''
  
[[Category:THN HTML API commands|Wiki link]]
+
This would produce a link that looks like [[The_Fallen_Angels|All about Fallen Angels]]
 +
 
 +
[[Category:THN API commands|Wiki link]]

Latest revision as of 17:53, 21 April 2008

Wiki link

Note: This command is only usable in articles the THN main website on http://www.techhaven.org it's is not available to external THN API users or on the wiki.

This command creates a link to a page within the wiki. This command takes into account whether the server is a live, testing or development server.

It is recommended links all links to pages within the wiki are created using this tag.

Example

Example: <wiki:link page="The_Fallen_Angels">All about Fallen Angels<wiki:link>

This would produce a link that looks like All about Fallen Angels