Template:EL table row/doc

This template provides one table row for the topic table in the documentation for daughter templates of template Expand language. It creates a row with three cells: the abbreviated topic code, the expanded topic name wikilinked to the category for that language topic, and the number of articles categorized in that topic.

Parameters
There are three positional parameters; the first two are required:
 * 1 ⟶ language name (e.g., French, Croatian, etc.)
 * 2 ⟶ topic code – any of: bio, cult, geo, gov, hist, mil, sci, sport, struct, tech, or transp; or, a custom code, not one in this list, such as pacommune.
 * 3 ⟶ topic name – a custom topic name, e.g. French commune (optional; ignored if 2 is among the 11 codes in the list above)

Examples
These examples are embedded in minimal table markup in order to demonstrate the appearance of the row in a table context: (Note: table markup for this example with no row inside may render as a tiny box in some browsers)
 * ⟶ no row, since Category:Military articles needing translation from Basque Wikipedia does not exist


 * ⟶ unrecognized topic generates a row, but flags an error (see doc)
 * ⟶ subcategory formed from the 3rd parameter must exist already

Note on expensive parser functions
This template uses expensive parser function calls. The heaviest usage of this template is by Expand French/doc, which has a total expensive parser function count of 27. It should be noted that the Expand-language templates themselves (the ones which display an "Expand language" banner on article pages) do *not* use expensive calls, only the doc pages do. As the use of these template is restricted to the domain of documentation pages of daughter templates of Expand language, like Expand French/doc and others, it is extremely unlikely that the number of calls would reach the maximum of 500. In the worst case, some rows would drop off the end of the "Topics" table in the Categorization section of the /doc page. This might be a risk if the number of topic codes exceeded 240; the current maximum is twelve. Since it only affects /doc pages, and since it's so unlikely to affect even them, the expensive warning is not needed at the top of this template, nor any of the related templates.