Except as otherwise specifically provided, the basis for compensation under this chapter shall be the average weekly wages earned by the employee at the time of the injury, such wages to be determined from the earnings of the injured employee in the employment in which he was working at the time of the injury during the period of fifty-two (52) weeks immediately preceding the date of the injury divided by fifty-two (52); but if the injured employee lost more than seven (7) days during such period, although not in the same week, then the earnings for the remainder of such fifty-two (52) weeks shall be divided by the number of weeks remaining after the time so lost has been deducted. When the employment prior to the injury extended over a period of less than fifty-two (52) weeks, the method of dividing the earnings during that period by the number of weeks and parts thereof during which the employee earned wages shall be followed, provided that results just and fair to both parties will thereby be obtained. Where, by reason of the shortness of time during which the employee has been in the employment of his employer, it is impracticable to compute the average weekly wages by the above method of computation, regard shall be had to the average weekly amount which, during the first fifty-two (52) weeks prior to the injury or death, was being earned by a person in the same grade, employed at the same or similar work in the community. Wherever allowances of any character are made to an employee in lieu of wages or specified as part of the wage contract, they shall be deemed a part of his earnings.