Portability Hub
Register
Advertisement

There are multiple ways to design even the simplest infobox. They can be designed using Lua, JavaScript, Portable Infoboxes, Tables, Wikitext, and HTML tags or a mixture of all of the above.

Comparison matrix[]

Type Languages Complexity Tools Pros Cons
Classic Wikitext, HTML,

CSS

Medium None
  • Familiar
  • Inline styling
  • Hard to read
  • Hard to write
  • Nothing built-in
  • Not portable
  • Inefficient
  • Must learn Wikitext / HTML / CSS
Lua Lua High None
  • Efficient
  • Infinite parameters
  • Inline styling
  • Hard to write
  • Must learn programming
  • Not portable
Portable XML Low
  • Easy to read
  • Easy to write
  • Built-in features
  • Portable
  • Internal API
  • Visually design 
  • Learn XML (optional)
  • No inline styling

References[]

Advertisement