Template:Sdr/doc

This template is used to create a table cell with a date range that will sort correctly based on the first parameter (the "from" date). A line break is inserted before the "to" date unless a third parameter is given (any value will work).

Examples
produces: produces:
 * This code:
 * This code:
 * This code:
 * produces:
 * {| class="wikitable sortable"
 * {| class="wikitable sortable"

! Name ! In office ! Party
 * Bob
 * Yes!
 * (Vacant)
 * Fred
 * No!
 * }
 * Fred
 * No!
 * }
 * Fred
 * No!
 * }
 * }