Template:str index-lite/logic