跳转到内容

模組:Infobox/utilities/doc

维基百科,自由的百科全书

这是Module:Infobox/utilities/doc当前版本,由金色黎明留言 | 贡献编辑于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