Template talk:Default layout

Sensible error messages
Reminder that you said that we should have some sort of error handling in case someone truly screws up their layout command. I put in some handling of starting with lower case first letter, nothing else. — billinghurst  sDrewth  14:12, 25 September 2021 (UTC)


 * @Billinghurst The JS itself has now been updated to do a case insensitive match and fall back to the user's configured layout (or Layout 1) if the requested default fails. Since that's a run-time this, if you want an edit-time thing, it's probably better to check the supplied string in this template and keep a list of "allowed" strings. Inductiveload— talk/contribs 15:26, 28 September 2021 (UTC)