Board Thread:Support Requests - Getting Technical/@comment-93604-20171120230817/@comment-24253265-20180130122238

Andrewds1021 wrote: I am not sure why you bring up  in. I mentioned it in as a possible alternative to string-functions in  for the purposes here, i.e., detect if a local page Canada exists for a given template parameter value Canada, or use a literal 4608 for a given template parameter value 4608, because a local page 4608 does not exist. Personally I'd solve it by KISS, if folks want 4608 they can use 4608, and if they want Canada they can write  Canada , the effect—if unwanted—is obvious.

About vs.  : This makes a difference in some cases. In the specific case we are considering, using the alternative would cause the border color to be unspecified; or worse, invalid. Yes, it can be important, testing the effect here: Okay for an undefined 3rd parameter, for an intentionally empty 3rd parameter I'll wait for new experiments by Timeshifter: It's also a matter of taste, should the template handle all possible input errors and variants, or should it be as simple as possible. Sometimes a convoluted error handling can be replaced by don't try this  examples in the documentation (incl. test cases).