Module:Table style/styles/doc
Appearance
This is a documentation subpage for Module:Table style/styles. It contains usage information, categories and other content that is not part of the original module page. |
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.