Template:LinkText: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(extension of template and documentation)
(remove extra ]])
Line 1: Line 1:
Original text and translations may be found at '''[[{{{1}}}|{{{3|}}}{{{1}}}{{{3|}}}]]'''{{{2|.}}}]]<noinclude>
Original text and translations may be found at '''[[{{{1}}}|{{{3|}}}{{{1}}}{{{3|}}}]]'''{{{2|.}}}<noinclude>
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
<div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #3399ff; padding: 1em 1em 1em 1em; background-color:#ddffdd">
<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 09:20, 13 April 2008

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

Documentation

Syntax example:

{{LinkText|Ave Maria}}

which produces the text

Original text and translations may be found at Ave Maria.

And extended syntax example:

{{LnkTxt|Psalm 114|:1-5.}}

which produces the text

Original text and translations may be found at Psalm 114:1-5.

Finally to put italics around the title (useful for Latin entries), one may type, for example:


{{LinkText|Ave Maria|3=''}}

which produces the text

Original text and translations may be found at Ave Maria.