From Wikipedia, the free encyclopedia
Jump to: navigation, search
Tip of the day...
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.

Prior tip - Next tip

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

Articles I've created[edit]

Articles I've made significant edits to[edit]

David Christian

Chad Fortune

Reggie Bennett

Articles I've helped delete[edit]

Nikki DuBose J's Mega Mart Cherry stoner John J. Sullivan (military))Sable Holiday

Luna LaneJames GarrettEllen McNamara David Campbell (wrestler) North-East Texas Wrestling

Shannon stock Nadiah evans Morgan the Escapist Professional Wrestling Federation Monster Mack

Arthur L. Quinn Xtreme Backyard Wrestling (XBW) Spanish group films Challenge fights

Immaculate Conception School (Kentucky)