Template talk:User instrument subcategory
From Wikipedia, the free encyclopedia
This template is for skill level subdivisions of Babel categories in Category:User instruments.
[edit] Usage
{{user instrument subcategory| | instrument-code = Babel code (without the level, of course) | instrument-name = Name of instrument (should be a link to the appropriate article) | level = Skill level, from 1 (beginning) to 3 (advanced) or 4 (professional) }}
[edit] How it works
This template uses one of four helper templates -- {{User instrument subcategory/1}}, {{User instrument subcategory/2}}, {{User instrument subcategory/3}}, and {{User instrument subcategory/4}} -- based on level
. The bulk of the description ("These users play the ___ at the ___ level.") is fed through desc-pre
and desc-post
. The helpers use {{User blank-1}}, {{User blank-2}}, {{User blank-3}}, or {{User blank-4}} for the formatting, and fill in the word appropriate to level
.
You might think it would be better for this template to do most of the work and use a helper simply to provide the skill-level word. Unfortunately, since the description is provided as a template argument, a MediaWiki limitation prevents this solution.
{{User instrument}} also has its parallel helpers, but /1 through /3 actually redirect to this template's helpers due to the identical function. {{User instrument/4}} is not redirected because of a link to professional in {{User instrument subcategory/4}}.
Confused yet?
[edit] Template:User bass guitar for Bass guitar
yeah --Mistress Selina Kyle 21:16, 17 December 2005 (UTC)