模組:Infobox/utilities/doc

zhwiki>金色黎明2022年9月4日 (日) 06:47的修訂 (←建立内容为“This module is intended to be a repository for miscellaneous utility functions that support various infoboxes. *for {{tlx|Infobox U.S. congressional district}} **<code>distribution_sort()</code> – sorts the various distribution parameters and renders an unbulleted list of same **<code>ethnicity_sort()</code> – sorts the various ethnicity parameters and renders an unbulleted list of same **<code>occupation_sort()</code> – sorts the variou…”的新页面)
(差異) ←上個修訂 | 最新修訂 (差異) | 下個修訂→ (差異)

此頁面為 Module:Infobox/utilities 的說明文件

This module is intended to be a repository for miscellaneous utility functions that support various infoboxes.

  • for 模板链接:{{Infobox U.S. congressional district}}
    • distribution_sort() – sorts the various distribution parameters and renders an unbulleted list of same
    • ethnicity_sort() – sorts the various ethnicity parameters and renders an unbulleted list of same
    • occupation_sort() – sorts the various occupation parameters and renders an unbulleted list of same
  • for 模板链接:{{Infobox book}}
    • set_italics() – used to ensure that book-titles in cjk scripts are not italicized
      • is_cjk_code() – (private) returns true when language code represents a cjk language