Module:Wikitable/doc: Difference between revisions

Content deleted Content added
m change source to syntaxhighlight
Usage: Added wikilink to Help:Table in the second sentence.
Tags: Mobile edit Mobile web edit
Line 5:
This {{pagetype}} is designed to make passing tables to templates less of a hassle. <noinclude>It implements {{tl|wikitable}}</noinclude>
 
Oftentimes, adding [[Help:Table|wikitable markup]] to a template or other parser tag generates gibberish when one fails to escape every <code>|</code> and <code>=</code>. Moreover, escaping pipe characters with <code>{{t|!}}</code> everywhere can make for some rather ugly-looking markup.
 
With this module, most wikitables can be embedded into templates without escaping any pipe characters. Also, <code>=</code> for {{tag|table|open}} element attributes do not need to be escaped, however, for individual rows and cells, such is still necessary. Finally, there must be at least one pipe character before the first header cell (only an issue if <code>|-</code> is omitted before the first row)