跳至內容

模板:整齊列表

維基新聞，自由的新聞源
文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

模板介紹[編輯]

本模板可以在某些不能用 Wiki 代碼插入表格的模板中（如 {{Infobox}}、{{Sidebar}}）插入表格。

重定向[編輯]

{{整齊列表}}={{Aligned table}}

參數及使用方法[編輯]

{{整齊列表
| cols =
| fullwidth =
| class =
| style =
| colwidth =
| leftright =
| colstyle =
| rowstyle =

<!--for Cth column:-->
| colCwidth =
| colCclass =
| colCalign =
| colCstyle =
| colCnowrap =

<!--for Rth row:-->
| rowRclass =
| rowRstyle =
| rowRheader =

<!--for cell R,C:-->
| classR.C =
| styleR.C =

| (cell 1,1) | (cell 1,2) | ... | ...
| (cell 2,1) | (cell 2,2) | ... | ...
}}

範例[編輯]

{{整齊列表
|class=wikitable
|cols=3
| A | 1 | a
| B | 2 | b
}}
A 1 a
B 2 b
{{整齊列表
|class=wikitable
|cols=4
|col1align=center
|col2align=center
|col3align=right
|col4align=right
| AAA | aa    | 123  | 12345
| B   | bbbbb | 1234 | 2
}}
AAA aa 123 12345
B bbbbb 1234 2
{{整齊列表
|class=wikitable
|style=width:20em
|cols=2
|col1align=center
|col2align=right
| AAA | 123
| B | 2
}}
AAA 123
B 2
https://zh.wikinews.org/zh-hk/Template:%E6%95%B4%E9%BD%8A%E5%88%97%E8%A1%A8
zh.wikinews.org
CC-MAIN-2024-26
55806
application/http; msgtype=response
sha1:ES5TNN4Y7AVJWMOVGSDL54V6O4RDBC6J
<urn:uuid:65534305-0718-4925-a4f7-2d94d909f645>
2024-06-21T02:31:12Z
208.80.154.224
text/html
sha1:7J5LMQFVAMXA3XOCLW73P6PLWOH6A37Z
<urn:uuid:417d3198-7af4-4283-ac92-ba32e24357ae>
https://zh.wikinews.org/zh-hk/Template:%E6%95%B4%E9%BD%8A%E5%88%97%E8%A1%A8
response
<urn:uuid:4a377d40-68e3-4ddf-9f88-05c13581b978>
isPartOf: CC-MAIN-2024-26
publisher: Common Crawl
description: Wide crawl of the web for June 2024
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-37
software: Apache Nutch 1.20 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/