Template:LnkTxt: Difference between revisions
Jump to navigation
Jump to search
Documentation
(change template to make default form of link italicised) |
(changed to show a link to the text page instead of the text category) |
||
Line 1: | Line 1: | ||
<!-- Test replacement for LinkText which links a score page to a Category page for text and categorizes the work there. It has two required parameters: (1) <text title>, (2) <composer_last_name,_composer_first_name(s)> (as a sort key for the setting), and an optional third parameter (3) to add additional information in place of the final period (.) --> | <!-- Test replacement for LinkText which links a score page to a Category page for text and categorizes the work there. It has two required parameters: (1) <text title>, (2) <composer_last_name,_composer_first_name(s)> (as a sort key for the setting), and an optional third parameter (3) to add additional information in place of the final period (.) --> | ||
Original text and translations may be found at '''{{{4|''}}} | Original text and translations may be found at '''{{{4|''}}}{{{1}}}{{{4|''}}}'''{{{3|.}}}<includeonly>[[Category:{{{1}}}| {{{2}}}]]</includeonly><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"> | ||
<center><big>'''Documentation'''</big><br></center> | <center><big>'''Documentation'''</big><br></center> | ||
;Syntax example: <tt><nowiki>{{LnkTxt|O salutaris hostia|Beethoven, Ludwig van}}</nowiki></tt> | |||
<tt><nowiki>{{LnkTxt|O salutaris hostia|Beethoven, Ludwig van}}</nowiki></tt> | |||
which produces the text | which produces the text | ||
Original text and translations may be found at ''''' | Original text and translations may be found at '''''[[O salutaris hostia]]'''''. | ||
;Syntax example (which removes ''italics'' around the link): <tt><nowiki>{{LnkTxt|Psalm 150|Franck, Cesar|4=}}</nowiki></tt> | |||
<tt><nowiki>{{LnkTxt|Psalm 150|Franck, Cesar|4=}}</nowiki></tt> | |||
which produces the text | which produces the text | ||
Original text and translations may be found at ''' | 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. | The page is categorized under [[:Category:Psalm 150]] with the sort key (preceded by a space): Franck, Cesar. | ||
;And extended syntax example: <tt><nowiki>{{LnkTxt|Psalm 150|Clarke-Whitfield, John|: vv. 1, 2, 6.|4=}}</nowiki></tt> | |||
<tt><nowiki>{{LnkTxt|Psalm 150|Clarke-Whitfield, John|: vv. 1, 2, 6.|4=}}</nowiki></tt> | |||
which produces the text | which produces the text | ||
Original text and translations may be found at ''' | 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. | The page is categorized in [[:Category:Psalm 150]], with the sort key (preceded by a space): Clarke-Whitfield, John. | ||
</div> | </div> | ||
</noinclude> | </noinclude> |
Revision as of 12:54, 4 November 2008
Original text and translations may be found at {{{1}}}.
- Syntax example
- {{LnkTxt|O salutaris hostia|Beethoven, Ludwig van}}
which produces the text
Original text and translations may be found at O salutaris hostia.
- Syntax example (which removes italics around the link)
- {{LnkTxt|Psalm 150|Franck, Cesar|4=}}
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.|4=}}
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.