Template:LinkText: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(upt to three texts)
(add syntax examples)
Line 11: Line 11:


'''Syntax examples:'''
'''Syntax examples:'''
<pre>{{LinkText|Ave Maria}}
<pre>{{LinkText|Ave Maria}}


{{LinkText|Psalm 131}}</pre>
{{LinkText|Psalm 131}}</pre>
produce the text:
produce the text:
 
:{{LinkText|Ave Maria}}
{{LinkText|Ave Maria}}
 
and
and
:{{LinkText|Psalm 131}}


{{LinkText|Psalm 131}}
'''Extended syntax examples:'''
 
'''An extended syntax example:'''
<pre>{{LinkText|Ave Maria|{{sp}}- ''Virgo serena''}}
<pre>{{LinkText|Ave Maria|{{sp}}- ''Virgo serena''}}


{{LinkText|Psalm 114|:1-5.}}</pre>
{{LinkText|Psalm 114|:1-5.}}</pre>
produces the text
produces the text
 
:{{LinkText|Ave Maria|{{sp}}- ''Virgo serena''}}
{{LinkText|Ave Maria|{{sp}}- ''Virgo serena''}}
 
and
and
:{{LinkText|Psalm 114|:1-5.}}


{{LinkText|Psalm 114|:1-5.}}
'''More than one text (2 or 3):'''
<pre>{{LinkText|3|O magnum mysterium|Ave Maria|Alma Redemptoris Mater}}</pre>
produces
:{{LinkText|3|O magnum mysterium|Ave Maria|Alma Redemptoris Mater}}


'''More than one text:'''
<pre>{{LinkText|2|Psalm 126|Psalm 95|add1=:1-9|add2=:3-6.}}</pre>
<pre>{{LinkText|3|O magnum mysterium|Ave Maria|Christe redemptoris}}</pre>
produces
produces
 
:{{LinkText|2|Psalm 126|Psalm 95|add1=:1-9|add2=:3-6.}}
{{LinkText|3|O magnum mysterium|Ave Maria|Christe redemptoris}}


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

Revision as of 05:08, 25 January 2009

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


Documentation

Syntax examples:

{{LinkText|Ave Maria}}

{{LinkText|Psalm 131}}

produce the text:

Original text and translations may be found at Ave Maria.

and

Original text and translations may be found at Psalm 131.

Extended syntax examples:

{{LinkText|Ave Maria|{{sp}}- ''Virgo serena''}}

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

produces the text

Original text and translations may be found at Ave Maria - Virgo serena

and

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

More than one text (2 or 3):

{{LinkText|3|O magnum mysterium|Ave Maria|Alma Redemptoris Mater}}

produces

Original text and translations may be found at O magnum mysterium, Ave Maria, and Alma Redemptoris Mater.
{{LinkText|2|Psalm 126|Psalm 95|add1=:1-9|add2=:3-6.}}

produces

Original text and translations may be found at Psalm 126:1-9 and Psalm 95:3-6.