Difference between revisions of "Template:CompFromWorkTitle"

From ChoralWiki
Jump to navigation Jump to search
m (improved doc)
Line 11: Line 11:
 
If no parameter is provided, <tt><nowiki>{{PAGENAME}}</nowiki></tt> is used:
 
If no parameter is provided, <tt><nowiki>{{PAGENAME}}</nowiki></tt> is used:
  
{{tl|CompFromWorkTitle}}
+
{{tl|CompFromWorkTitle}} on the works page [[Domine Jesu Christe (No. 4 from 'Andliga sånger') (August Söderman)]]
:returns
+
:will return
{{CompFromWorkTitle}}
+
{{CompFromWorkTitle|Domine Jesu Christe (No. 4 from 'Andliga sånger') (August Söderman)}}
 
}}
 
}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 16:41, 24 March 2021

Documentation

Extracts the composer name from a work title:

{{CompFromWorkTitle|Domine Jesu Christe (No. 4 from 'Andliga sånger') (August Söderman)}}

returns

August Söderman


If no parameter is provided, {{PAGENAME}} is used:

{{CompFromWorkTitle}} on the works page Domine Jesu Christe (No. 4 from 'Andliga sånger') (August Söderman)

will return

August Söderman