Template:Language table

Wikitext userbox where used
{{Template:User prog-0}}
prog-0This user does not know how to program.
linked pages
{{Template:User prog-1}}
prog-1This user is a beginning programmer.
linked pages
{{Template:User prog-2}}
prog-2This user is an intermediate programmer.
linked pages
{{Template:User prog-3}}
prog-3This user is an advanced programmer.
linked pages
{{Template:User prog-4}}
prog-4This user is an expert programmer.
linked pages
{{Template:User prog-5}}
prog-5This user is a professional programmer.
linked pages
{{Template:User prog-N}}
prog-NThis user thinks in bytecode and dreams of electric sheep.
linked pages
{{Template:User prog}}
progThis user is a programmer.
linked pages
Template documentation[view] [edit] [history] [purge]

This template scans for all the language userboxes of a given language, and lists them in the standard table for showing userboxes, how to use them, and where they are used.

Note that to do this it uses 5 ParserFunctions each time it is invoked. This is painful on Wikipedia's servers. It also raises the practical issue that on large pages it may exceed the 500 ParserFunction limit. If this is an issue, look into using {{User:LukeShu/usbl}} and {{User:LukeShu/Userboxlist2}}.

This template was created for programming languages, so without a designated language, it defaults to "prog", however, it can be used for any language following the standard "Template:User language-x"

UsageEdit

The syntax for using this template is rather simple:

{{Language table|language-abbreviation}}

Or, if the set uses an non-standard location (such as being in user-space), it is possible to have them located at "pathlanguage-x" by setting the path variable:

{{Language table|language-abbreviation|path=User:username/more path_}}

Note that if the location is "User:LukeShu/User c", then the path must be "User:LukeShu/User_", as the space at the end is required, but would be stripped if a literal space, rather than an underscore!

See alsoEdit