Children can learn to mediate disputes peacefully by being taught conflict resolution techniques and encouraged to communicate effectively to resolve conflicts in a fair and compassionate manner.