Template:CompFromWorkTitle: Difference between revisions
Jump to navigation
Jump to search
Documentation
(Created page with "{{#sub:{{#explode:{{{1|{{PAGENAME}}}}}|(|-1}} |0|-1}}<noinclude> {{DisplayBox|title=Documentation|text= Extracts the composer name from a work title: {{tl|CompFromWorkTitle|...") |
(See also) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#sub:{{#explode:{{{1|{{PAGENAME}}}}}|(|-1}} |0|-1}}<noinclude> | <includeonly>{{#sub:{{#explode:{{{1|{{PAGENAME}}}}}|(|-1}} |0|-1}}</includeonly><noinclude><!-- | ||
{{ | -->{{Doc|text= | ||
Extracts the composer name from a work title: | Extracts the composer name from a work title: | ||
Line 8: | Line 8: | ||
{{CompFromWorkTitle|Domine Jesu Christe (No. 4 from 'Andliga sånger') (August Söderman)}} | {{CompFromWorkTitle|Domine Jesu Christe (No. 4 from 'Andliga sånger') (August Söderman)}} | ||
If no parameter is provided, <tt><nowiki>{{PAGENAME}}</nowiki></tt> is used: | |||
{{tl|CompFromWorkTitle}} on the works page [[Domine Jesu Christe (No. 4 from 'Andliga sånger') (August Söderman)]] | |||
:will return | |||
{{CompFromWorkTitle|Domine Jesu Christe (No. 4 from 'Andliga sånger') (August Söderman)}} | |||
===See also=== | |||
* {{tl|TitleOnly}} - complementary template | |||
}} | }} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 03:20, 25 March 2021
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
See also
- {{TitleOnly}} - complementary template