Template:LnkTxt: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(test template - as a category alternative to LinkText)
 
(correct spelling (the source of more than one mistake))
Line 12: Line 12:
which produces the text
which produces the text


'''Original text and translations''' may be found at '''{{CiteCat|O salutoris hostia}}'''.
'''Original text and translations''' may be found at '''{{CiteCat|O salutaris hostia}}'''.


'''And extended syntax example:'''
'''And extended syntax example:'''
Line 22: Line 22:
'''Original text and translations''' may be found at '''{{CiteCat|O salutoris hostia}}''', but ignore this.
'''Original text and translations''' may be found at '''{{CiteCat|O salutoris hostia}}''', but ignore this.


In both cases, the page is categorized in [[:Category:O salutoris hostia]], with the sort key: Beethoven, Ludwig van.
In both cases, the page is categorized in [[:Category:O salutaris hostia]], with the sort key: Beethoven, Ludwig van.


</div>
</div>
</noinclude>
</noinclude>

Revision as of 15:12, 11 April 2008

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 salutoris hostia, but ignore this.

In both cases, the page is categorized in Category:O salutaris hostia, with the sort key: Beethoven, Ludwig van.