At the moment the Duke of Edinburgh title is what’s called a Royal Dukedom which is because the owner isn’t called His Grace, he’s called HRH. However when the title reaches someone who doesn’t have an HRH it becomes like every other title. James will be His Grace and they’ll start to use numbering so he’ll often be referred to as James Windsor, 2nd Duke of Edinburgh (not third, the title will be recreated for Edward and he’ll be the 1st Duke but won’t be known as the 1st Duke because he’s an HRH).