The IDF revealed on Friday, what it described as intelligence showing a Hamas command center located under a the Shifa Hospital in Gaza City. In a briefing, Rear Admiral Daniel Hagari told members of the foreign press corps that there are areas in the hospitals that are used by Hamas to direct its military operations.
I’m obviously not a lawyer so take this with a heap of salt but Article 8, 2. e) seems to explicitly specify war crimes for non-international conflicts:
https://www.un.org/en/genocideprevention/war-crimes.shtml
That’s just saying they can hold a trial in absentia for non members, it’s not binding but it’s shows international stance.
Neither - just studied a bit at uni.