Category:API Namespaces
From DuoGrid
All API Namespace pages are listed in this category.
DuoGrid Team Developers, to add a new API Namespace page to this category, do the following steps:
1. Create a new page called "API:(Namespace)", replacing "(Namespace)" with the new API Namespace.
2. Add the following code to it:
#REDIRECT [[Template:$1#API]] [[Category:API Namespaces]]
, while replacing $1 with the template running the Namespace's name. In addition, link the API title in that template to DuoGrid:API.
3. Add the following code to the API section of the template:
All templates on the DuoGrid website contain an [[wp:API|API]] that can be used for [[wp:Greasemonkey|Greasemonkey]] scripts and automatic computer programs. There are $1 API functions for this template.
<pre> <!-- DG-API:$2:$3=$4 --> </pre>
$5
For more APIs, see [[DuoGrid:API]].
, while replacing $1 with the number of API functions for that template, $2 with an associated function name, $3 with an associated variable, $4 with an associated value, and $5 with additional notes. In addition, repeat $2 through $4 times the amount of API functions for that template.
4. Done!.

