Difference between revisions of "Legacy THNapi:Wiki link"

From Neocron Wiki
Jump to: navigation, search
(New page: == 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 ...)
 
(Fixed incorrect example)
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
'''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.'''
  
This command create a link to a page within the wiki. This command takes into account whether the server is a live, testing or development server.
+
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.
 
It is recommended links all links to pages within the wiki are created using this tag.
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