Step 1: Understanding the Concept
A triple bond means three shared electron pairs between two atoms.
Step 2: Check the molecules
\(\text{NH}_3\), \(\text{H}_2\text{O}\) and \(\text{CH}_4\) contain only single bonds.
Step 3: Dinitrogen
Each nitrogen atom has five valence electrons and needs three more, so \(\text{N}\equiv\text{N}\) forms with one sigma and two pi bonds.
Step 4: Compare the options
Dinitrogen is option (B).
Final Answer:
Dinitrogen contains a triple bond.
\[ \boxed{\text{(B) }\text{Dinitrogen}} \]