编辑“︁
Template:Category series navigation/doc
”︁(章节)
跳转到导航
跳转到搜索
这是
Category series navigation
模板的
文档页面
。
File:AnonEditWarning.svg
您当前没有登录。
如果您保存任何编辑,您的
IP地址
将
公开记录
在
本页的修订历史
中。您如果
登录
或
注册一个帐号
,可以隐藏自己的IP地址并
使用更多功能
。您可以在
您的对话页
查看给您的留言。
任何侵权内容
将会删除 | 百科内容须附有来源,以
供查证
| 维基百科内容均容许他人编辑、使用和重制 | 参阅
繁简
和
地区词处理
指引。
反垃圾检查。
不要
加入这个!
==說明== {{tl|Category series navigation}} is intended to be a minimal-input, near-universal template for automatically navigating ''most'' numerically adjacent categories. {{Clear}} {| class="wikitable" |+ 適用情形 ! style="background: #CCCCCC;" | 類型 ! style="background: #CCCCCC; width: 25%;" | 分類名稱(範例) ! style="background: #CCCCCC;" | BC(E)? ! style="background: #CCCCCC;" | 顯示結果(範例) |- | 體育賽季 || {{c|2019–20年歐洲足協足球}} || No || {{Category series navigation|testcase=2019–20年歐洲足協足球}} |- | 電視分季 || {{c|X档案第一季分集}} || – || {{Category series navigation|testcase=X档案第一季分集}} |- | 政治人物任期(定期) || {{c|MEPs 2004–2009}} || No || {{Category series navigation|testcase=MEPs 2004–2009}} |- | 政治人物任期(不定期) || {{c|Wales AMs 2003–2007}} || No || {{Category series navigation|testcase=Wales AMs 2003–2007}} |- | Numerical range || {{c|Taxonbars with 30–34 taxon IDs}} || – || <!--{{Category series navigation|testcase=Taxonbars with 20–24 taxon IDs}}'s EPFC = 129--> <templatestyles src="Module:Category series navigation/styles.css"></templatestyles><div class="categorySeriesNavigation" role="navigation" aria-label="Range"> <div class="toccolours categorySeriesNavigation-range"> <templatestyles src="Hlist/styles.css"></templatestyles><div class="hlist"><ul><li><span class="categorySeriesNavigation-item-inactive">15–19</span></li><li>[[:Category:Taxonbars with 20–24 taxon IDs|20–24]]</li><li>[[:Category:Taxonbars with 25–29 taxon IDs|25–29]]</li><li><b>30–34</b></li><li>[[:Category:Taxonbars with 35–39 taxon IDs|35–39]]</li><li>[[:Category:Taxonbars with 40–44 taxon IDs|40–44]]</li><li>[[:Category:Taxonbars with 45+ taxon IDs|45–49]]</li></ul></div> </div>[[Category:Category series navigation range redirected (base change)]][[Category:Category series navigation range gaps]][[Category:Category series navigation range irregular]] </div> |- | 世紀 || {{c|21世紀作品}} || BC || {{Category series navigation|testcase=21世紀作品}} |- | 年代 || {{c|1990年代瑞士}} || BC || {{Category series navigation|testcase=1990年代瑞士}} |- | 年份 || {{c|2010年西班牙}} || BC(E) || {{Category series navigation|testcase=2010年西班牙}} |- | 跨年份({{para|skip-gaps|yes}}) || {{c|2006年國際足協世界盃|skip-gaps=yes}} || – || {{Category series navigation|testcase=2006年國際足協世界盃|skip-gaps=yes}} |- |colspan="4" style="background:#CCCCCC"| |- | Ordinal (temporal) || {{c|2nd-century rabbis}} || BC(E) || {{Category series navigation|testcase=}} |- | Ordinal (numeric) || {{c|9th Lok Sabha}} || – || {{Category series navigation|testcase=}} |- | Ordinal (word) || {{c|First Dynasty of Egypt}} || – || {{Category series navigation|testcase=}} |- | Roman numeral || {{c|Deputies of Legislature X of the Kingdom of Italy}} || – || {{Category series navigation|testcase=}} |- | Mixed decade || {{c|1760s in the Province of Quebec (1763–1791)}} || – || {{Category series navigation|testcase=}} |- | Mixed year || {{c|1778 establishments in the Province of Quebec (1763–1791)}} || – || {{Category series navigation|testcase=}} |} ===Searching behavior=== Most multi-year seasons/office terms/numerical ranges are acceptable, as long as the season duration/term length/range size is <= {{Category series navigation|show=term-limit}}, ''and'' the gap between seasons is <= {{Category series navigation|show=hgap-limit}}. For series exceeding either of these criteria, see/use {{tl|Irregular category series navigation}}. The length of each season is automatically determined from the originating category name, up to and including {{Category series navigation|show=term-limit}} years. [[MOS:DATERANGE]] compliance is preferred, but some deviation is allowed and [[:Category:Category series navigation range abbreviated (MOS)|tracked]] for regular series with seasons > 1 year long. {{tl|Category redirect}}s are followed, and tracked for either [[:Category:Category series navigation range redirected (MOS)|MOS contravention]] (to be corrected) or for [[:Category:Category series navigation range redirected (base change)|navigational aid]] (no error). The gap size between successive seasons is ''also'' automatically determined, up to and including {{Category series navigation|show=hgap-limit}} years, and defaults to 0 (e.g. {{nowrap|1995–96}} → {{nowrap|1996–97}}). Automatically condensed years are supported for ''presidential'' categories only (but can be easily expanded as needed), for gaps up to and including {{Category series navigation|show=ygap-limit}} years, and defaults to 1. To skip gaps of up to {{Category series navigation|show=skip-gaps}} years in any ''year'' categories, use {{para|skip-gaps|yes}}. ===Limitations=== ====Numerical limitations and AD/BC/E==== * Season/office term categories do not work for ''any'' years BC, which will be hidden, because no working examples were found. * Decade categories recognize BC, but not BCE, because no working examples were found. * Ordinal & numeral words do not work above the ninety-ninth & ninety-nine, because no working examples were found. ====Condensation==== * Automatically condensed ''Olympics'' display is not supported due to peculiarities; use {{tl|Winter Olympics by year category navigation}}, etc., instead. * Automatically condensed ''years'' ''are'' supported for ''US presidential'' categories only, due to their consistency; use {{para|skip-gaps|yes}} as desired on other ''year'' categories. * {{para|skip-gaps|yes}} currently only works when starting on a ''year'' category, and is not intended to find all hyphenated ranges, which allows it to span much larger gaps. ====Work-arounds==== * '''Base-name changes:''' create at least 2 logically numbered {{tl|R from category navigation}} (1 [[Special:Permalink/1040103249|backward]] & 1 [[Special:Permalink/1040102736|forward]]), to join both related series. * '''Unaccounted-for name+number conventions:''' where a fixed number is part of the prefix or suffix text, e.g. ''{{c|Companies that filed for Chapter 11 bankruptcy in 2020|Chapter 11 bankruptcies}}'', a non-breaking space may force the template to work. See [[Special:Diff/948223374|this fix]], where {{tl|title year}} skipped over ''11'' as part of a word rather than a discrete number. (This case has been accounted for and is no longer required in this example.) * '''General:''' for large, permanent gaps<sup>†</sup> between successive categories, use {{tl|Preceding category}}, {{tl|Category pair}}, {{tl|Succeeding category}}, as needed, in addition to {{tl|Category series navigation}} on both sides, or in the middle, of the gap. Even if {{tl|Category series navigation}} is [[:Category:Category series navigation isolated|isolated]], it has the benefit of confirming the absence of nearby categories to the reader or maintainer.<br/><sup>†</sup>''Permanent gaps'', where there is a confirmed permanent absence of data, and not just a temporary, yet to be filled, gap on Wikipedia. * {{para|skip-gaps}}: create {{tl|R from category navigation}} from an appropriate year to the hyphenated category that was not found. ===Related CfDs=== * [[Wikipedia:Categories for discussion/Log/2019 June 8#Category:Northern Ireland MLAs 2016–17]] * [[Wikipedia:Categories for discussion/Log/2019 May 29#Category:MEPs 1952–58]] * [[Wikipedia:Categories for discussion/Log/2019 April 19#Category:Aircraft piston engines 1900–1909]]
编辑摘要
(请简要描述您所作出的修改
,或选择:
新条目
修饰语句
修正笔误
内容扩充
排版
来源
内部链接
分类
消歧义
维基化
维护清理
)
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
模板
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
分类索引
特色内容
新闻动态
随机条目
联络我们
关于维基百科
资助维基百科
贡献
帮助
维基社群
编辑入门
互助客栈
IRC即时聊天
最近更改
特殊页面
工具
链入页面
相关更改
特殊页面
页面信息