Difference between revisions of "Template:TitleOnly"

From ChoralWiki
Jump to navigation Jump to search
Line 10: Line 10:
 
{{tl|TitleOnly|Brattle Street (1786) (William Billings)}} returns {{TitleOnly|Brattle Street (1786) (William Billings)}}
 
{{tl|TitleOnly|Brattle Street (1786) (William Billings)}} returns {{TitleOnly|Brattle Street (1786) (William Billings)}}
 
{{tl|TitleOnly|Psalmen Davids, Op. 5 (1661) (Heinrich Schütz)}} returns {{TitleOnly|Psalmen Davids, Op. 5 (1661) (Heinrich Schütz)}}
 
{{tl|TitleOnly|Psalmen Davids, Op. 5 (1661) (Heinrich Schütz)}} returns {{TitleOnly|Psalmen Davids, Op. 5 (1661) (Heinrich Schütz)}}
 +
{{tl|TitleOnly|Tenebrae Responsories (Tomás Luis de Victoria)}} returns {{TitleOnly|Tenebrae Responsories (Tomás Luis de Victoria)}}
  
 
If no parameter is provided, <tt><nowiki>{{PAGENAME}}</nowiki></tt> is used:
 
If no parameter is provided, <tt><nowiki>{{PAGENAME}}</nowiki></tt> is used:

Revision as of 13:44, 20 April 2019

Documentation

Extracts the Title portion from a work title:

{{TitleOnly|Brattle Street (1786) (William Billings)}} returns Brattle Street (1786)

{{TitleOnly|Psalmen Davids, Op. 5 (1661) (Heinrich Schütz)}} returns Psalmen Davids, Op. 5 (1661)

{{TitleOnly|Tenebrae Responsories (Tomás Luis de Victoria)}} returns s


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

{{TitleOnly}}

returns

TitleOnly