Toggle menu
15
248
116
28.1K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Infobox/utilities/doc: Difference between revisions

From Kenshi Wiki
Prd (talk | contribs)
Created page with "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 various occupation parameters and..."
 
Prd (talk | contribs)
No edit summary
Line 10: Line 10:
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Module misc pages]]
[[Category:Module config pages]]
[[Category:Module first misc]]
}}</includeonly><noinclude>
}}</includeonly><noinclude>
[[Category:Module documents]]
[[Category:Module documents]]
[[Category:Module misc documents]]
[[Category:Module config documents]]
</noinclude>
</noinclude>

Revision as of 23:34, 14 March 2025

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