Template:CabToDisplay
This is an important template, used by some of the other common templates.
What it does is to take in a number (usually a cabinet number), and output the name of a page. This can be used either for listings or for linking.
Use
{{CabToDisplay|10>}} displays as :Category:Teddybears' Picnic (display)
In square brackets,
[[ {{>CabToDisplay|10>}} ]] displays as Category:Teddybears' Picnic (display)
In square brackets with alternative display text, (squarebracket)(squarebracket) (squiggle)(squiggle)CabToDisplay|10(squiggle)(squiggle)|Bears (squarebracket)(squarebracket) displays as Bears
Editing
Please don't edit this template unless you really know what you're doing!
It's tempting to reorganise the list to make it easier to read and edit, but any extra spaces or line-breaks present in the list when it's saved will badly mess up the results on every page that uses the template, directly or indirectly, by adding a LOT of unwanted linebreaks and whitespace.
Before making any changes, try out the new template contents on Template:CabToDisplay_(test) , and if the results work, then paste the code back here.
-