I have a question about the structure of an LiH unit cell, and while this is related to a homework problem, it isn't the problem itself, I'm just looking for conceptual understanding. I've already found that there should be 4 Li+ ions and 4 H- ions in one unit cell. However, I am struggling with how they will be arranged. Because the number of LiH molecules is 4, I am fairly certain that the structure intended for this problem is face-centered cubic lattice. This is where my conflict begins. In my class we have had the face-centered cubic unit cell described as (for one element) an atom at each corner and an atom in each side. From this arrangement we get (1/8)*8 + (1/2)*6 = 4 atoms. Now, I've seen a description online of the face-centered cubic structure for NaCl as "We can think of this as chloride ions forming an FCC cell, with sodium ions located in the octahedral holes in the middle of the cell edges and in the center of the cell. The sodium and chloride ions touch each other along the cell edges. The unit cell contains four sodium ions and four chloride ions, giving the 1:1 stoichiometry required by the formula, NaCl" (Chemistry LibreTexts). For me this makes a certain amount of sense, because this would give 4 cations when you use the same counting principle as before. However, I've seen multiple diagrams online that contradict this, such as: https://images.app.goo.gl/CGAsc4xAJM39tMgi8. This seems to claim that the center image is the unit cell, and while it does have 4 of each ion "on" it, it does not seem to fulfill the same structure as the aforementioned unit cell suggestion. Is the problem here just that they are showing 1/8th of the full unit cell for simplicity? If not, I am even more confused.
Thank you for reading this extraordinarily long question for what could be a very simple answer! And please don't roast me too hard, I've never posted here before.