Not yet an article, just some outline notes, testing of template logic and switches and syntax highlighting.
Are used to fix/modify HTML pages for the Internet Explorer family of browsers. Refer to the official Microsoft documentation for full details. This solution benefits from working with any HTML pages, either static or dynamically generated, but is inelegant as the fixes are evident in the source code.
Although relying on server side scripting, a better solution is to identify the browser  and dynamically adapt your page coding to suit. The following is based around using the phpBB 3 templating system.
The below are all equivalent and which one you use depends on what you are trying to achieve ; if you merely wish to show such simple information as used below then you would use Example 5.
Results in ;
You aren’t using Internet Explorer.
 This will fail if the browser identifying string has had the ‘MSIE’ part removed — to which I would say let the user live with the consequences.