HSK C2/W1/V2
Correct

但

/ dàn / 
Strokes

Definition

but/yet/however/only/merely/still

Example

As an Adverb
only; merely; just
1
Dànyuàn
但愿
rúcǐ
如此
  
。

I hope so.

2
Bùqiúyǒugōng
不求有功
  
,
dànqiúwúguò
但求无过

seek no credit but only try to avoid blame

As a Conjunction
but; yet; still; nevertheless
3
Yībān
一般
rúcǐ
如此
  
,
dàn
但
yě
也
yǒu
有
lìwài
例外
  
。

This is true in general, but there are exceptions.