[[File:CalcRank.png|frame|right|If parent is NULL then base_rank is incremented by a default increment else it uses information about parent to increment the base_rank.]]
+
[[File:CalculateRank.png|border|300px|right|If parent is NULL then base_rank is incremented by a default increment else it uses information about parent to increment the base_rank.]]