As a verb (past tense):
* The detective wanted to solve the mystery.
* She wanted to go to the beach, but it was raining.
* He wanted to eat pizza, but his parents made him eat broccoli.
As an adjective:
* The criminal was a wanted man.
* She had a wanted poster of her lost dog.
* They were looking for a wanted witness.
In a phrase:
* She wanted to know more.
* He wanted nothing more than to go home.
* They wanted to be left alone.
In a different tense:
* The child wants a toy. (present tense)
* I will want to go to sleep later. (future tense)
* He had wanted to travel, but he was too busy. (past perfect tense)
The specific meaning of "wanted" will depend on the context of the sentence.