Latest Neocron News and Information
- New test server patch #563 has been released to Vedeena
Legacy THNapi:Api No Index
Api No Index
- Item DB Tag: <api:no_index>
- Web service function: Api_No_Index
- Usage: This command prevents any item db tags on the whole page from link to an item.
Required parameters
Optional parameters
Usage
Sometimes it is not appropriate for a page to be indexed by the THN api linking layer. An example would be the ASG page where 2 vehicles are mentioned as Item DB tags.
Normally when the page is saved, the Wiki and the THN API would link the items to the ASG page. The <api:no_index/> turns off any linking for the whole page.
To stop a single item being indexed simply add index="no" to the existing Item DB tag. (See THNapi:Parameter - Index for more information.)
Test pages
Due to the way the THN API links articles and items only in the Main Namespace. So these test pages must be move to the Main namespace for testing, and should only be done on the NC-Wiki testing and development server. However these tests also serve as examples on the usage of tis tag and the index attribute.