Module:RankParserDD2/doc

Documentation
RankParserDD2 is a Lua module with two functions,  and , that transform rank specifications into a sequence of ally or enemy dots corresponding to those ranks in Darkest Dungeon II.

RankParserDD2 should not be invoked directly—rather, you should call Template:RankDD2, a template that wraps the output of RankParserDD2 and handles a few additional details for rendering the output in Wiki text.