Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(New page: {{wowapi}} __NOTOC__ <div style="float: right"><small>'''Main Page'''</small></div> Returns the number of articles for the current page. count = KBSetup_GetArticleHead...)
 
m (Forgot to remove a link to my sandbox page )-:)
Line 1: Line 1:
 
{{wowapi}} __NOTOC__
 
{{wowapi}} __NOTOC__
<div style="float: right"><small>'''[[User:Borlox/KB|Main Page]]'''</small></div>
 
 
Returns the number of articles for the current page.
 
Returns the number of articles for the current page.
   

Revision as of 17:17, 18 April 2008

Returns the number of articles for the current page.

count = KBSetup_GetArticleHeaderCount()

Parameters

Arguments

()

Returns

count
count
Integer - The number of articles for the current page.

Example

 local count = KBSetup_GetArticleHeaderCount()
 for i=1, count do
   -- do something with the article

Details

  • This will count the "most asked" articles, not the number of articles for the active query.