Template talk:User instrument subcategory

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:WikiProject banner shell

Untitled

This template is for skill level subdivisions of Babel categories in Category:User instruments.

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)
}}

How it works

This template uses one of four helper templates -- Template:Tl, Template:Tl, Template:Tl, and Template:Tl -- 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 Template:Tl, Template:Tl, Template:Tl, or Template:Tl 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.

Template:Tl also has its parallel helpers, but /1 through /3 actually redirect to this template's helpers due to the identical function. Template:Tl is not redirected because of a link to professional in Template:Tl.

Confused yet?

Template:User bass guitar for Bass guitar

yeah --Mistress Selina Kyle 21:16, 17 December 2005 (UTC)Reply

Added to WP:INST. –Pomte 05:44, 28 December 2007 (UTC)Reply