Template:LnkLatTxt: Difference between revisions
m (typo, reinsert </center>) |
(changed to link to the text page and not to the related category) |
||
Line 1: | Line 1: | ||
Original text and translations may be found at ''''' | Original text and translations may be found at '''''[[{{{1}}}]]'''''{{{3|.}}}<includeonly>[[Category:{{{1}}}| {{{2}}}]]</includeonly><noinclude> | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
<div><div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #3399ff; padding: 1em 1em 1em 1em; background-color:#ddffdd"> | <div><div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #3399ff; padding: 1em 1em 1em 1em; background-color:#ddffdd"> |
Revision as of 00:58, 29 April 2009
Original text and translations may be found at [[{{{1}}}]].
This template is for linking a score page to a text-translations category page whose text is in Latin (and thus italicized).
Syntax example:
{{LnkLatTxt|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:
{{LnkLatTxt|O salutaris hostia|Beethoven, Ludwig van|, but you may sing it in Pigorian.}}
which produces the text
Original text and translations may be found at O salutaris hostia, but you may sing it in Pigorian.
In both cases, the page is categorized in Category:O salutaris hostia, with the sort key (preceded by a space): Beethoven, Ludwig van.
This is equivalent to using Template:LnkTxt with its optional fourth parameter 4=''.