
OK, so while the above is correct, these are hardly the actual full rules of cricket.
If you want the actual rules, see The Laws of Cricket from the MCC. And even then there may be some variations, such as regarding some no balls, and whether a no ball results in a free hit: varying partly with the format of cricket being played.
Notably, for club players, the lines for wides are tighter for short (“white ball”) matches than for the longer, red ball games.