Jump to content

Module:Table style/data/doc

From Wikisource

This is the definition for all the style short codes supported by {{table style}}. The format of an entry is…

  ['ar'] = {
    style = 'text-align:right;',
    aliases = {'right', 'align right', 'right align'}
  },

…where ar is the short code to be used in the template ({{ts|ar}}); right, align right, and right align are aliases for this code (use sparingly!); and text-align:right; is the CSS rules to be applied.

The configuration is formatted as Lua code, so the syntax is important: make sure to preserve all quote marks, equals signs, commas, square brackets, and so forth. If you're not used to programming languages you'll probably want to ask for help.