Difference between revisions of "Legacy THNapi:Wiki link"

From Neocron Wiki
Jump to: navigation, search
(unlrealeased command)
(Fixed incorrect example)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Wiki link ==
 
== Wiki link ==
 
{{Unreleased}}
 
  
 
'''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.'''
 
'''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.'''
Line 11: 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>'''
 +
 
 +
This would produce a link that looks like [[The_Fallen_Angels|All about Fallen Angels]]
  
[[Category:THN HTML API commands|Wiki link]]
+
[[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