Talk:Templates
From Clavis Canonum
Latest comment: 14 November 2023 by Christof Rolker in topic Kery template and ReplaceText
Kery template and ReplaceText
Now we have Lotte's volume online and @Clemens at the speed of lights provided a template, I'd love to see links from the descriptions to the book. Using regular expressions with the Special Page "Replace Text" should do the trick. Specifically, it should be easy to auto-replace any occurence of
{{Author|Kéry}}, Collections p. n
with {{Author|Kéry}}, Collections p. {{Kery|n}}
.
In practice, one has to reckon with some variation:
{{Author|Kéry}}, Collections p. n
{{Author|Kéry}}, Canonical collections, p. n
{{Author|Kéry}}, Collections, p. n
{{Author|Kéry}}, Collections pp. n
All these expressions should be replaced by "{{Author|Kéry}}, Collections p. {{Kery|n}}
. There also will be page ranges ("pp. 123-134"), but linking the first page of any page range is enough.
@Sophie Stark, can you have a look? Thanks in advance, Christof Rolker (talk) 20:37, 14 November 2023 (CET)