Baptism

There are several baptisms mentioned in The Holy Book of Mormon.

Of Repentance

22 And again the Lord called others, and said unto them likewise; and he gave unto them power to baptize. And he said unto them: On this wise shall ye baptize; and there shall be no disputations among you.
23 Verily I say unto you, that whoso repenteth of his sins through your words, and desireth to be baptized in my name, on this wise shall ye baptize them – Behold, ye shall go down and stand in the water, and in my name shall ye baptize them.
24 And now behold, these are the words which ye shall say, calling them by name, saying:
25 Having authority given me of Jesus Christ, I baptize you in the name of the Father, and of the Son, and of the Holy Ghost. Amen.
26 And then shall ye immerse them in the water, and come forth again out of the water. (3 Nephi 11)

Parameters

1. Not for those who are without sin: not children, infants, the comatose, or the ignorant.

11 And their little children need no repentance, neither baptism. Behold, baptism is unto repentance to the fulfilling the commandments unto the remission of sins. (Moroni 8)

2. The sinner must have repented of their sins before being baptized.

Are eight-year-old children being put through steps of repentance, just as 30 or 40-year-old investigators are? 

Of Acceptance

There is another form of baptism which is used to show acceptance.

Of a Covenant

12 And now it came to pass that Alma took Helam, he being one of the first, and went and stood forth in the water, and cried, saying: O Lord, pour out thy Spirit upon thy servant, that he may do this work with holiness of heart.
13 And when he had said these words, the Spirit of the Lord was upon him, and he said: Helam, I baptize thee, having authority from the Almighty God, as a testimony that ye have entered into a covenant to serve him until you are dead as to the mortal body; and may the Spirit of the Lord be poured out upon you; and may he grant unto you eternal life, through the redemption of Christ, whom he has prepared from the foundation of the world. (Mosiah 18)

Of a Belief in Jesus

21 And the Lord said unto him: I give unto you power that ye shall baptize this people when I am again ascended into heaven. (3 Nephi 11)

“This people” had already been baptized before Jesus arrived for repentance and the remission of their sins:

23 Thus passed away the thirty and second year also. And Nephi did cry unto the people in the commencement of the thirty and third year; and he did preach unto them repentance and remission of sins.
24 Now I would have you to remember also, that there were none who were brought unto repentance who were not baptized with water.
25 Therefore, there were ordained of Nephi, men unto this ministry, that all such as should come unto them should be baptized with water, and this as a witness and a testimony before God, and unto the people, that they had repented and received a remission of their sins.
26 And there were many in the commencement of this year that were baptized unto repentance; and thus the more part of the year did pass away. (3 Nephi 7)

The baptism Jesus commanded the people to receive was out of a belief in him:

33 And whoso believeth in me, and is baptized, the same shall be saved; and they are they who shall inherit the kingdom of God.
34 And whoso believeth not in me, and is not baptized, shall be damned. (3 Nephi 11)

Gift of the Holy Spirit

Unlike Mormons who believe the “gift” of the Holy Ghost is given after baptism “by the laying on of hands” by someone with their Melchizedek Priesthood, it’s called a “gift” because it is free:

17 The Holy Ghost which is the GIFT of God unto all those who diligently seek him. (1 Nephi 10)

20 Whoso cometh unto me with a broken heart and a contrite spirit him will I baptize with fire and with the Holy Ghost (3 Nephi 9)

44 While Peter yet spake these words the Holy Ghost fell on all them which heard the word.
45 And they of the circumcision which believed were astonished as many as came with Peter because that on the Gentiles also was poured out the GIFT of the Holy Ghost.
46 For they heard them speak with tongues, and magnify God. Then answered Peter,
47 Can any man forbid water, that these should not be baptized, which have received the Holy Ghost as well as we? (Acts 10)