Jump to content

Module:Table style/styles/doc

From Wikisource

This is a supporting module for Module:Table style, which contains the definition for all the style short codes supported by {{table style}}. The format of an entry is…

	['ar'] = 'text-align:right',

…where ar is the short code to be used in the template ({{ts|ar}}), and 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.