When I got home, my brother was cooking.

我回到家的時候,哥哥正在做菜。

If it rains tomorrow, we will stay home.

如果明天下雨,我們就待在家。

when / if 是把一個句子包起來,接到另一個句子的連接詞。when / if + 主詞 + 動詞 的組合可以放句首或句尾。放句首時用逗號隔開。

規則○×
就算是未來的事,裡面用現在式If it rains tomorrow, …If it will rain tomorrow, …
放後面也可以I will call you when I get home.I will call you when I will get home.
「如果你忙」不能省掉主詞 youIf you are busy, I will help you.If busy, I will help you.

就算說「如果明天下雨」這種未來的事,when / if 裡面不用 will,用現在式。will 加在外面的句子。

說過去的事時,依內容用過去式或過去進行式(When I was a child, I liked dogs. / When I got home, my brother was cooking.)。