gpt4 book ai didi

html - 维基百科表中的默认排序列

转载 作者:太空狗 更新时间:2023-10-29 13:14:27 26 4
gpt4 key购买 nike

有一个标准的 wiki 表

{| class="sortable wikitable"
! Title
! Authors
! ID Number
|-
| '''Applying UML and Patterns'''
| Craig Larman
| ID432
...

如何让表格按第3列(ID)升序排序?

最佳答案

根据 MediaWiki documentation :

When users are first presented with a table, the rows will always appear in the same order as in the wikitext. If you want a table to appear sorted by a certain column, you must sort the wikitext itself in that order. This is usually done for the first column.

希望对您有所帮助!

关于html - 维基百科表中的默认排序列,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16140758/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com