Jump to content

User:Mwsmith20

From Wikipedia, the free encyclopedia

I'm a historic transport enthusiast from the south of England. I'm keen to improve the many Wikipedia articles on historic transport in the UK, especially having seen that many of them have so few references (often to broken links or sources that don't meet Wikipedia guidelines) and inline citations. I'm trying to use my book collection, and online sources such as the Commercial Motor archive, to improve the referencing in particular, and in some cases add additional information. I'll willingly admit that I still have a lot to learn, and will make mistakes - please be gentle in correcting them!

Pick from a list of template parameter choices

Do you have a list of possible choices for a template parameter? Use the #switch parser function to define the choices. Then simply enter the choice's numeric value into the template for the applicable parameter, e.g., 1="Sunday" 2="Monday" 3="Tuesday" ... Default choices also can be listed. For simplicity with lists, use a switch statement instead of a "nested if-then-else" conditional statement to control flow.

To add this auto-updating template to your user page, use {{totd}}


This user is a member of WikiProject UK Railways.