def get_schema(is_ipv6, octet):
    """Get the template with word slots"""
    new_line = '\n'
    period = '.'
    space = ' '
    non_words = [new_line, period, space]
    if is_ipv6:
        schema = [octet, octet, 'and', octet, octet, new_line, octet, octet,
            octet, octet, octet, octet, octet, period, new_line, octet,
            octet, octet, octet, octet, period, new_line]
    else:
        schema = ['The', octet, octet, octet, new_line, octet, 'in the',
            octet, octet, period, new_line, octet, octet, period, new_line]
    space_num = 0
    for i in range(1, len(schema)):
        i = i + space_num
        insert_space = True
        if schema[i] in non_words:
            insert_space = False
        if schema[i - 1] == new_line:
            insert_space = False
        if insert_space:
            schema.insert(i, space)
            space_num = space_num + 1
    return schema
