Template:LnkTxt

From ChoralWiki
Revision as of 21:39, 13 April 2008 by CHGiffen (talk | contribs) (add space before sort key (don't need first letters of last names to appear in relatively short lists))
Jump to navigation Jump to search

Original text and translations may be found at [[:Category:{{{1}}}|{{{1}}}]].

Documentation
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.