What I do for these type records which don't have the numbers in the URL to use the Ancestry Image template, I copy the full URL, come back to my WikiTree profile, type a square bracket - [ - then paste the full URL, skip one space, key in the words "Image for Ancestry.com subscribers" (omit the quotes) then type the square bracket to close the link - ]. It will look like this in edit:
[https://www.ancestry.com/interactive/61389/1569160-00674?pid=1559586&backurl=https://search.ancestry.com/cgi-bin/sse.dll?dbid%3D61389%26h%3D1559586%26indiv%3Dtry%26o_vc%3DRecord:OtherRecord%26rhSource%3D61389&treeid=&personid=&hintid=&usePUB=true&usePUBJs=true&_ga=2.237732160.1963461299.1582593285-2027854908.1578095883 Image for Ancestry.com subscribers]
Then I type the word "or"
Then I go back to Ancestry.com, click on the tools, click on share, then click on Facebook. After the window opens, I close it. Another window will pop up--I copy the URL in that window. I come back to WikiTree, type another square bracket - [ - ,paste the URL, erase all the URL starting with the first ampersand (&) (this is the same as what Alex gave you in her answer), skip a space, type "Free image for non-subscribers" (omit the quotes), then close with another square bracket. It will look like this in edit:
[https://www.ancestry.com/sharing/19234951?h=ad9c68 Free image for non-subscribers]
I precede both these links with source information like so:
Württemberg, Germany, Family Tables, 1550-1985, Ancestry.com, citing family tables from the Württemberg area of Germany from the 18th and 19th centuries.
The reason I give both the subscription and the non-subscription links is because, for subscribers, they have access to a transcription of the image and other useful information. In your case, since the image is in a foreign language and a difficult-to-read handwriting, the transcription is good information to have. Otherwise, you could (and perhaps should) add your own transcription of the information to your biography in some way.
I hope this is clear. My source 6 on this profile is similar to what I've described and will show you what it looks like in the finished bio. (If you want to see what it looks like in edit, then just click on the "edit" tab. You can learn a lot by looking "behind the curtain" of profiles others have done.