Template:LnkTxt
Original text and translations may be found at [[:Category:{{{1}}}|{{{1}}}]].
This is a test template
Syntax example:
{{LnkTxt|O salutaris hostia|Beethoven, Ludwig van}}
which produces the text
Original text and translations may be found at O salutaris hostia.
And extended syntax example:
{{LnkTxt|O salutaris hostia|Beethoven, Ludwig van|, but ignore this.}}
which produces the text
Original text and translations may be found at O salutaris hostia, but ignore this.
In both cases, the page is categorized in Category:O salutaris hostia, with the sort key(preceded by a space): Beethoven, Ludwig van.
There is an optional 4th parameter (mainly for Latin text titles) which may be used as follows:
{{LnkTxt|O salutaris hostia|Beethoven, Ludwig van|4=''}}
which produces the text
Original text and translations may be found at O salutaris hostia.