Template:LnkTxt

From ChoralWiki
Revision as of 10:45, 2 May 2008 by Carlos (talk | contribs) (fixed HTML)
Jump to navigation Jump to search

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

Documentation

Syntax example:

{{LnkTxt|Psalm 150|Franck, Cesar}}

which produces the text

Original text and translations may be found at Psalm 150.

The page is categorized under Category:Psalm 150 with the sort key (preceded by a space): Franck, Cesar.

And extended syntax example:

{{LnkTxt|Psalm 150|Clarke-Whitfield, John|: vv. 1, 2, 6.}}

which produces the text

Original text and translations may be found at Psalm 150: vv. 1, 2, 6.

The page is categorized in Category:Psalm 150, with the sort key(preceded by a space): Clarke-Whitfield, John.

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 (note that the title is italicized):

Original text and translations may be found at O salutaris hostia.

However, the same result is more easily obtained through Template:LnkLatTxt:

{{LnkLatTxt|O salutaris hostia|Beethoven, Ludwig van}}