Repeated Citations

Hello everyone,

I am currently creating a new style of citation and have encountered a problem that was previously unsolvable for me and hope that you can help me further: When I quote a Journal Article, it happens that I quote the article several times in a row, but different pages from the article. In this case the entire citation should be shown in the footnotes. e.g:

  1. Schäuble NJW 2018, 567 (568).
  2. Schäuble NJW 2018, 567 (569).

But now it also happens that I quote the same article several times in a row and also the same page. In this case only “ibid.” should appear. e.g:

  1. Schäuble NJW 2018, 567 (568).
  2. ibid.

Is there any way to reflect this in the output styles?

Many thanks and best regards
Max