Template:Sfrac

From RimWorld Wiki
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

Formats a fraction

  1. First parameter is the scalar
  2. Second paramater is the numerator
  3. Third parameter is the denominator
{{Sfrac|1|2|3}}

results in: 1 23

This is text before {{Sfrac|421g|abc345|8989}} this is text after

results in: This is text before 421g abc3458989 this is text after

Before {{Sfrac||2|3}} after

results in: Before 23 after


Before {{Sfrac||{{Cross}}{{RimworldIcon}}|{{Check}}{{RoyaltyIcon}}}} after

results in: Before Ex.pngContent from Rimworld core game onlyCheck.pngContent added by the Royalty DLC after