Content deleted Content added
No edit summary |
Hammersoft (talk | contribs) Undid revision 1305237560 by 200.68.159.160 (talk) |
||
(9 intermediate revisions by 7 users not shown) | |||
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)
[[special:diff/
{| class=wikitable
| style="vertical-align:top"|original (copied from: [[
{| class="wikitable" width="auto" style="text-align: center"
|-
! colspan="6" |2016 Summer Olympics bidding results<ref>{{cite web |url=http://www.gamesbids.com/eng/past.html |title=Past Bid Results |publisher=GamesBids.com |
[[
|- style="background:#efefef;"
!
!
| style="background: silver" |'''Round 1'''
| style="background: silver" |'''Round 2'''
| style="background: silver" |'''Round 3'''
|-
| style="text-align:left;" |'''
| style="text-align:left;" |'''
| style="text-align:center;" |
| style="text-align:center;" |'''46'''
| style="text-align:center;" |'''66'''
|-
| style="text-align:left;" |
| style="text-align:left;" |
| style="text-align:center;" |'''28'''
| style="text-align:center;" |29
Line 36:
|-
| style="text-align:left;" |[[Tokyo bid for the 2016 Summer Olympics|Tokyo]]
| style="text-align:left;" |
| style="text-align:center;" |22
| style="text-align:center;" |20
| style="text-align:center;" |—
|-
| style="text-align:left;" |
| style="text-align:left;" |
| style="text-align:center;" |18
| style="text-align:center;" |—
Line 49:
code:
<
{| class="wikitable" width="auto" style="text-align: center"
|-
! colspan="6" |2016 Summer Olympics bidding results<ref>{{cite web |url=http://www.gamesbids.com/eng/past.html |title=Past Bid Results |publisher=GamesBids.com |
[[
|- style="background:#efefef;"
!
!
| style="background: silver" |'''Round 1'''
| style="background: silver" |'''Round 2'''
| style="background: silver" |'''Round 3'''
|-
| style="text-align:left;" |'''
| style="text-align:left;" |'''
| style="text-align:center;" |
| style="text-align:center;" |'''46'''
| style="text-align:center;" |'''66'''
|-
| style="text-align:left;" |
| style="text-align:left;" |
| style="text-align:center;" |'''28'''
| style="text-align:center;" |29
Line 74:
|-
| style="text-align:left;" |[[Tokyo bid for the 2016 Summer Olympics|Tokyo]]
| style="text-align:left;" |
| style="text-align:center;" |22
| style="text-align:center;" |20
| style="text-align:center;" |—
|-
| style="text-align:left;" |
| style="text-align:left;" |
| style="text-align:center;" |18
| style="text-align:center;" |—
| style="text-align:center;" |—
|}
</syntaxhighlight>
| style="vertical-align:top"|module:
{{Module talk:Wikitable/example}}
Line 95:
===Sources cited in example===
{{
==See also==
|