编辑“︁
Template:Sticky table start/doc
”︁(章节)
跳转到导航
跳转到搜索
这是
Sticky table start
模板的
文档页面
。
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
== Example with sticky row 2 and column 2 == Adapted from {{Section link|WTA 1000 Series singles records and statistics#Title leaders}}. Narrow your browser window to see left sticky column below. Note: The column 1 "Titles", "Player", and "Years" cells have their <code>rowspan</code> removed and the cells moved from row 1 to row 2 to facilitate making row 2 top sticky. Because row 1 is hidden when row 2 is sticky, the other cells in row 2 have a background color to visually relate them to the "Active tournaments" and "Defunct tournaments" parent cells in row 1. The two cells in row 1 are kept for [[screen reader]]s instead of moving them to a legend. Doing this helps reduce the amount of top sticky content: 1 row instead of 2. The "10", "9", "6", and "5" cells in the "Titles" column 1 use <code>rowspan</code>. When making column 2 left sticky, cells in the spanned rows have column 2 not left sticky and column 3 left sticky, so the <code>sticky-table-left</code> and <code>sticky-table-none</code> classes are added to those column 2 and column 3 cells, respectively. <div style="display: inline-grid;"> <syntaxhighlight lang=wikitext highlight=1-2,11-12,16-17,21> {{mw-datatable}}{{sort under}}{{sticky table start}} {| class="wikitable mw-datatable sortable sort-under-center sticky-table-row2 sticky-table-col2" style="text-align:center" ⫶ |- ! scope="row" rowspan="3" |10 |style="text-align:left" | {{sort|Henin.|{{flagg|uxx|BEL}} [[Justine Henin]]}} | - | - ⫶ |- |style="text-align:left; background-color:#FFFFE0;" class="sticky-table-left" | {{sort|Azarenka.|{{flagg|uxx|BLR}} '''[[Victoria Azarenka]]'''}}* | class="sticky-table-none" | - | style="background-color:#B9FF72;" |2* ⫶ |- |style="text-align:left; background-color:#FFFFE0;" class="sticky-table-left" | {{sort|Świątek.|{{flagg|uxx|POL}} '''[[Iga Świątek]]'''}}* | class="sticky-table-none" | - | style="background-color:#B9FF72;" |2* ⫶ |} {{sticky table end}} </syntaxhighlight> </div> {{flatlist| * '''CA''' ([[Canadian Open (tennis)|Canadian Open]]) * '''CH''' ([[Charleston Open]]) * '''CI''' ([[Cincinnati Open]]) * '''CN''' ([[China Open (tennis)|China Open]]) * '''DU''' ([[Dubai Championship]]) * '''FL''' ([[Virginia Slims of Florida]]) * '''GE''' ([[German Open]]) * '''IT''' ([[Italian Open (tennis)|Italian Open]]) * '''IW''' ([[Indian Wells Open]]) * '''KC''' ([[Kremlin Cup]]) * '''MA''' ([[Madrid Open (tennis)|Madrid Open]]) * '''MI''' ([[Miami Open (tennis)|Miami Open]]) * '''PH''' ([[Advanta Championships of Philadelphia|Virginia Slims of Philadelphia]]) * '''PP''' ([[Pan Pacific Open]]) * '''QA''' ([[ATP Qatar Open|Qatar Open]]) * '''SD''' ([[San Diego Open (tennis)|San Diego Open]]) * '''WU''' ([[Wuhan Open]]) * '''ZU''' ([[Zurich Open]]) }} {{legend| #FFFFE0 | Active players.| outline = black | textcolor = black | text = <big>*</big>}} {{legend| #B9FF72 | Most titles won per tournament.| outline = black | textcolor = black| text = <big>*</big>}} {{mw-datatable}}{{sort under}}{{sticky table start}} {| class="wikitable mw-datatable sortable sort-under-center sticky-table-row2 sticky-table-col2" style="text-align:center" |+ {{sro|Title leaders}} |- ! ! ! scope=colgroup colspan=10 |Active tournaments ! scope=colgroup colspan=8 |Defunct tournaments ! |- ! scope=col |Titles ! scope=col |Player ! scope="col" | {{abbr|DU|Dubai Championship}} ! scope="col" | {{abbr|QA|Qatar Open}} ! scope="col" | {{abbr|IW|Indian Wells Open}} ! scope="col" | {{abbr|MI|Miami Open}} ! scope="col" | {{abbr|MA|Madrid Open}} ! scope="col" | {{abbr|IT|Italian Open}} ! scope="col" | {{abbr|CA|Canadian Open}} ! scope="col" | {{abbr|CI|Cincinnati Open}} ! scope="col" | {{abbr|WU|Wuhan Open}} ! scope="col" style="border-right: 1pt black solid;" | {{abbr|CN|China Open}} ! scope="col" style="background-color:#2FCDAD" | {{abbr|FL|Virginia Slims of Florida}} ! scope="col" style="background-color:#2FCDAD" | {{abbr|CH|Charleston Open}} ! scope="col" style="background-color:#2FCDAD" | {{abbr|GE|German Open}} ! scope="col" style="background-color:#2FCDAD" | {{abbr|SD|San Diego Open}} ! scope="col" style="background-color:#2FCDAD" | {{abbr|PH|Virginia Slims of Philadelphia}} ! scope="col" style="background-color:#2FCDAD" | {{abbr|KC|Kremlin Cup}} ! scope="col" style="background-color:#2FCDAD" | {{abbr|PP|Pan Pacific Open}} ! scope="col" style="background-color:#2FCDAD" | {{abbr|ZU|Zurich Open}} ! scope=col |Years |- ! scope="row" |23 |style="text-align:left" | {{sort|Williams.|{{flagg|uxx|USA}} [[Serena Williams]]}} | - | - |style="background-color:#B9FF72;" |2* |style="background-color:#B9FF72;" |8* |2 |style="background-color:#B9FF72;" |4* |3 |style="background-color:#B9FF72;" |2* | - |style="border-right: 1pt black solid|1 | - |1 | - | - | - | - | - | - |1999–2016 |- ! scope="row" |17 |style="text-align:left" | {{sort|Hingis.|{{flagg|uxx|SUI}} [[Martina Hingis]]}}|| - || - |1 |2 | - |2 |2 | - | - |style="border-right: 1pt black solid| - | - |style="background-color:#B9FF72;" |2* |1 | - | - |1 |style="background-color:#B9FF72;" |5* |1 |1997–2007 |- ! scope="row" |15 |style="text-align:left" | {{sort|Graf.|{{flagg|uxx|GER}} [[Steffi Graf]]}} | - || - |1 |3 | - | - |2|| - | - |style="border-right: 1pt black solid| - |style="background-color:#B9FF72;" |1* |1 |style="background-color:#B9FF72;" |5* | - |style="background-color:#B9FF72;" |1* | - |1 | - |1990–1996 |- ! scope="row" |14 |style="text-align:left" | {{sort|Sharapova.|{{flagg|uxx|RUS}} [[Maria Sharapova]]}} | - |1 |style="background-color:#B9FF72;" |2* | - |1 |3 | - |1 | - |style="border-right: 1pt black solid|1 | - | - | - |style="background-color:#B9FF72;" |2* | - | - |2 |1 |2005–2015 |- ! scope="row" |11 |style="text-align:left" | {{sort|Davenport.|{{flagg|uxx|USA}} [[Lindsay Davenport]]}} | - | - |style="background-color:#B9FF72;" |2* | - | - | - | - | - | - |style="border-right: 1pt black solid| - | - | - | - |1 | - | - |4 |style="background-color:#B9FF72;" |4* |1997–2005 |- ! scope="row" rowspan="3" |10 |style="text-align:left" | {{sort|Henin.|{{flagg|uxx|BEL}} [[Justine Henin]]}} | - | - |1 | - | - | - |2 | - | - |style="border-right: 1pt black solid| - | - |style="background-color:#B9FF72;" |2* |3 | - | - | - | - |2 |2002–2007 |- |style="text-align:left; background-color:#FFFFE0;" class="sticky-table-left" | {{sort|Azarenka.|{{flagg|uxx|BLR}} '''[[Victoria Azarenka]]'''}}* |class="sticky-table-none"| - |style="background-color:#B9FF72;" |2* |style="background-color:#B9FF72;" |2* |3 | - | - | - |style="background-color:#B9FF72;" |2* | - |style="border-right: 1pt black solid|1 | - | - | - | - | - | - | - | - |2009–2020 |- |style="text-align:left; background-color:#FFFFE0;" class="sticky-table-left" | {{sort|Świątek.|{{flagg|uxx|POL}} '''[[Iga Świątek]]'''}}* |class="sticky-table-none"| - |style="background-color:#B9FF72;" |2* |style="background-color:#B9FF72;" |2* |1 | 1 |3 | - | - | - |style="border-right: 1pt black solid|1 | - | - | - | - | - || - || - | - |2021–2024 |- ! scope="row" rowspan="5" | 9 |style="text-align:left" | {{sort|Martínez.|{{flagg|uxx|ESP}} [[Conchita Martínez]]}} | - || - | - | - | - |style="background-color:#B9FF72;" |4* | - | - | - |style="border-right: 1pt black solid| - | - |style="background-color:#B9FF72;" |2* |2 | - |style="background-color:#B9FF72;" |1* | - | - | - |1993–2000 |- |style="text-align:left" class="sticky-table-left"| {{sort|Seles.|{{flagg|uxx|USA}} [[Monica Seles]]}} |class="sticky-table-none"| - || - | - |2 | - |2 |style="background-color:#B9FF72;" |4*|| - | - |style="border-right: 1pt black solid| - | - | - |1 | - | - | - | - | - |1990–2000 |- |style="text-align:left; background-color:#FFFFE0;" class="sticky-table-left" | {{sort|Williams.|{{flagg|uxx|USA}} '''[[Venus Williams]]'''}}* |class="sticky-table-none" style="background-color:#B9FF72;" |2* | - | - |3 | - |1 | - | - |1 |style="border-right: 1pt black solid| - | - |1 | - | - | - | - | - |1 |1998–2015 |- |style="text-align:left; background-color:#FFFFE0;" class="sticky-table-left" | {{sort|Halep.|{{flagg|uxx|ROU}} '''[[Simona Halep]]'''}}* |class="sticky-table-none"|1 |1 |1 | - |2 |1 |3 | - | - |style="border-right: 1pt black solid| - | - | - | - | - | - || - | - | - |2014–2022 |- |style="text-align:left" class="sticky-table-left"| {{sort|Kvitová.|{{flagg|uxx|CZE}} [[Petra Kvitová]]}}* |class="sticky-table-none"| - |1 | - |1 |style="background-color:#B9FF72;" |3* | - |1 | - |style="background-color:#B9FF72;" |2* |style="border-right: 1pt black solid| - | - | - | - | - | - | - |1 | - |2011–2023 |- ! scope="row" | 7 |style="text-align:left" | {{sort|Clijsters.|{{flagg|uxx|BEL}} [[Kim Clijsters]]}} | - | - |style="background-color:#B9FF72;" |2* |2 | - |1 |1 |1 | - |style="border-right: 1pt black solid| - | - | - | - | - | - | - | - | - |2003–2010 |- ! scope="row" rowspan="5" | 6 |style="text-align:left" | {{sort|Sánchez Vicario.|{{flagg|uxx|ESP}} [[Arantxa Sánchez Vicario]]}} | - || - | - |2 | - |1 |2|| - | - |style="border-right: 1pt black solid| - | - |1 | - | - | - | - | - | - |1992–1996 |- |style="text-align:left" class="sticky-table-left"| {{sort|Mauresmo.|{{flagg|uxx|FRA}} [[Amélie Mauresmo]]}} |class="sticky-table-none"| - | - | - | - | - |2 |2 | - | - |style="border-right: 1pt black solid| - | - | - |2 | - | - | - | - | - |2001–2005 |- |style="text-align:left" class="sticky-table-left"| {{sort|Janković.|{{flagg|uxx|SRB}} [[Jelena Janković]]}} |class="sticky-table-none"| - | - |1 | - | - |2 | - |1 | - |style="border-right: 1pt black solid| - | - |1 | - | - | - |1 | - | - |2007–2010 |- |style="text-align:left; background-color:#FFFFE0;" class="sticky-table-left"| {{sort|Wozniacki.|{{flagg|uxx|DEN}} '''[[Caroline Wozniacki]]'''}}* |class="sticky-table-none"|1 | - |1 | - | - | - |1 | - | - |style="border-right: 1pt black solid; background-color:#B9FF72;" |2* | - | - | - | - | - | - |1 | - |2010–2018 |- |style="text-align:left; background-color:#FFFFE0;" class="sticky-table-left" | {{sort|Sabalenka.|{{flagg|uxx|BLR}} '''[[Aryna Sabalenka]]'''}}* |class="sticky-table-none"| - |1 | - | - |2 | - | - |1 |style="background-color:#B9FF72;" |2* |style="border-right: 1pt black solid| - | - | - | - | - | - | - | - | - |2018–2024 |- ! scope="row" rowspan="4" | 5 |style="text-align:left" | {{sort|Sabatini.|{{flagg|uxx|ARG}} [[Gabriela Sabatini]]}} | - || - | - | - | - |2 | -|| - | - |style="border-right: 1pt black solid| - |style="background-color:#B9FF72;" |1* |style="background-color:#B9FF72;" |2* | - | - | - | - | - | - |1991–1992 |- |style="text-align:left" class="sticky-table-left"| {{sort|Pierce.|{{flagg|uxx|FRA}} [[Mary Pierce]]}} |class="sticky-table-none"| - || - | - | - | - |1 | - | - | - |style="border-right: 1pt black solid| - | - |1 | - |1 | - |style="background-color:#B9FF72;" |2* | - | - |1997–2005 |- |style="text-align:left" class="sticky-table-left"| {{sort|Safina.|{{flagg|uxx|RUS}} [[Dinara Safina]]}} |class="sticky-table-none"| - | - | - | - |1 |1 |1 | - | - |style="border-right: 1pt black solid| - | - | - |1 | - | - | - |1 | - |2008–2009 |- |style="text-align:left" class="sticky-table-left"| {{sort|Radwańska.|{{flagg|uxx|POL}} [[Agnieszka Radwańska]]}} |class="sticky-table-none"| - | - | - |1 | - | - |1 | - | - |style="border-right: 1pt black solid; background-color:#B9FF72;" |2* | - | - | - | - | - | - |1 | - |2011–2016 |} {{sticky table end}} '''Note:''' The asterisks (*) are used because [[screen readers]] can not see cell background colors. '''Note:''' Header glossary is needed since on mobile there isn't a way to hover on abbreviated text. {{t|abbr}} '''Note:''' In article namespace in dark mode the links in colored cells are underlined black links. See: *[[Help:Table#Color contrast of links in dark mode]] and the previous sections.
摘要:
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
模板
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息