Jump to content

Module:Infobox/utilities/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Warudo (talk | contribs) at 21:52, 29 August 2024 (Added the page to Category:Module documentation pages). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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