Wowpedia

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

READ MORE

Wowpedia
(Added link to TOC formatting)
mNo edit summary
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{wowapi}} __NOTOC__
 
{{wowapi}} __NOTOC__
 
 
Returns addon metadata.
 
Returns addon metadata.
 
value = GetAddOnMetadata("addon", "field")
   
 
== Arguments ==
value = GetAddOnMetadata("addon", "field")
 
 
;addon : String - Addon name to look up metadata for
 
 
;field : String - Field name. May be Title, Notes, Author, Version, or anything starting with X-
== Parameters ==
 
=== Arguments ===
 
:("addon", "field")
 
 
:;addon : String - Addon name to look up metadata for
 
:;field : String - Field name. May be Title, Notes, Author, Version, or anything starting with X-
 
 
=== Returns ===
 
<!-- List each return value, together with its type -->
 
:;value : String - The value of the field, nil if not defined.
 
   
 
== Returns ==
 
;value : String - The value of the field, nil if not defined.
   
=== Related Topics ===
+
== See also ==
[[The TOC Format|The TOC Format]]
+
* [[TOC format|.toc file format]]

Revision as of 23:29, 30 June 2012

Returns addon metadata.

value = GetAddOnMetadata("addon", "field") 

Arguments

addon
String - Addon name to look up metadata for
field
String - Field name. May be Title, Notes, Author, Version, or anything starting with X-

Returns

value
String - The value of the field, nil if not defined.

See also