模板:Hidden sort key
跳至導覽
跳至搜尋
File:Test Template Info-Icon - Version (2).svg 模板文件[檢視] [編輯] [歷史] [清除快取]
| File:Lua-Logo.svg | 此模板使用Lua語言: |
此模板用於用戶自定義的表格排序,使用時寫為{{hs|某某}},例:
| C1 | C2 |
|---|---|
| 2 | B |
| 10 | A |
{| class="wikitable sortable" border="1"
|-
!C1
|-
|{{Hs|1999-12-15}}15 December 1999
|-
|{{Hs|1997-04-21}}21 April 1997
|-
|{{Hs|1998-04-21}}21 April 1998
|} produces:
| C1 |
|---|
| 15 December 1999 |
| 21 April 1997 |
| 21 April 1998 |
<templatedata>
{
"params": {
"1": {
"label": "排序鍵值"
}
},
"description": "添加排序鍵值",
"format": "inline"
}
</templatedata>