Template:NUMBEROFMODARTICLES/doc

From Terraria Mods Wiki
Jump to navigation Jump to search

This template recreates the {{NUMBEROFARTICLES}} magic word but reduces the scope only to a specific mod.

Usage

{{ NUMBEROFMODARTICLES | mod = <mod name> }}

mod

By default, the template will use {{modname|get}} to retrieve the name of the mod, but this parameter can be used to override that. If {{modname|get}} does not return anything and this parameter is not set, then the template will display the number of pages across all mods.

Examples

The first example in the following table assumes that the current mod name is Calamity Community Remix.

Code Result
{{NUMBEROFMODARTICLES}} 19
{{NUMBEROFMODARTICLES|mod=Monstroriam}} 83

See also