Tardis:Avoid HTML

From Tardis Wiki, the free Doctor Who reference
Book.png
Avoid HTML
Avoid using HTML in the main namespace. It complicates site maintenance, and creates design inconsistencies. The best place to use HTML is in templates.

If you want to do "fancy formatting", please do it in a template, and them place the template in the main namespace. HTML — which is to say commands like <div>, <span>, <big> — should be avoided in the main namespace.

HTML should be confined to the template namespace as much as is possible. There are a few great reasons for this:

  • If you build tables like infoboxes and navigation templates with HTML directly on regular article pages, you make it impossible to update the look of the table except by directly editing that particular page. The advantage of templates is that they allow you to make edits to the single template page which are then seen on all the pages that share the template.
  • Templates are much easier for maintenance bots to deal with than HTML statements.
  • HTML standards are always in a state of development. HTML commands are occasionally retired, rendering them useless on pages. In mid-2012, for instance, Wikia upgraded to HTML 5.0, which got rid of a number of commands, like <applet>, <basefont>, <center>, <dir>, <font>, <isindex>, <menu>, <strike>, <u>. By keeping HTML usage to templates, cleanup after an upgrade like this is made much easier. Here's a site that explains this issue in greater detail.

Therefore, only Wiki coding should be used on normal article pages.

Exceptions

The main exceptions to this ruling are the <ref> and <poem> tags. Even so {{reflist}} is much preferred over <references />.