This constructs a string for a sumotori's rank. It takes three unnamed parameters. All are optional, but if none are given the results are very uninteresting. It's primarily intended for use by other templates, but it may have a broader application.
1: A 1 or 2 letter code for the rikishi's division or makuuchi rank:
2: Number within division or rank, or H for sanyaku and maegashira haridashi
3: E or W for East or West