User:Csernica/Sandbox/Sumo/Sumo record box head

{{#ifexpr:{{{columns|6}}}>=1| {{{month1|January}}} {{{nick1|Hatsu}}} basho, {{{place1|Tokyo}}} }} {{#ifexpr:{{{columns|6}}}>=2| {{{month2|March}}} {{{nick2|Haru}}} basho, {{{place2|Osaka}}} }} {{#ifexpr:{{{columns|6}}}>=3| {{{month3|May}}} {{{nick3|Natsu}}} basho, {{{place3|Tokyo}}} }} {{#ifexpr:{{{columns|6}}}>=4| {{{month4|July}}} {{{nick4|Nagoya}}} basho, {{{place4|Nagoya}}} }} {{#ifexpr:{{{columns|6}}}>=5| {{{month5|September}}} {{{nick5|Aki}}} basho, {{{place5|Nagoya}}} }} {{#ifexpr:{{{columns|6}}}>=6| {{{month6|November}}} {{{nick6|Kyūshū}}} basho, {{{place6|Fukuoka}}} }}

This template is called to initiate the table giving the makuuchi record for a sumotori. It must be matched with a call to {{tlx|Sumo record box end}} at the end of the table data.

It has one optional parameter for the rikishi's shikona.

Between these two template calls should be one {{tlx|Sumo record year start}}&mdash; {{tlx|Sumo record year end}} pair for each year the sumotori was in makuuchi. Between each of those should be six calls to {{tlx|Basho}}. To ensure the table looks right always include six, even for honbasho that have not yet been fought, or that occurred that year prior to makuuchi promotion.

Example {{Sumo record box start|(shikona)}}

{{Sumo record year start|(year)}} {{Basho |M |15 |e |8 |7}} {{Basho |...}} {{Basho |...}} {{Basho |...}} {{Basho |...}} {{Basho |...}} {{Sumo record year end}}

{{Sumo record year start|(next year)}} {{Basho |M |1 |w |11 |4|||f|*}} {{Basho |...}} {{Basho |...}} {{Basho |...}} {{Basho |...}} {{Basho |...}} {{Sumo record year end}}

etc...

{{Sumo record box end}}