Template:Monster Manuel Entries Count

From A KoL Wiki


<phptag>print(substr_count($argv[1], "ManuelEntry"));</phptag>

Explanation

In order for this template to work correctly, the first parameter must not be the page name, but the contents of said page, which is why the curly braces and colon are used (e.g. "{{:pagename}}"). This will filters out the unobtainable entries.

Syntax

To get the number of obtainable entries on a Monster Manuel entries page use either of the following:

Monster Manuel Entries for the letter C: {{Monster Manuel Entries Count|{{:Monster Manuel (C)}}}}

Monster Manuel Entries for the letter C: 158