Template:PubDatePlace: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
This template is for use on <b>Music publication</b> pages; for <b>Work</b> pages, use the Template "Published".  
This template is for use on <b>Music publication</b> pages; for <b>Work</b> pages, use the Template "Published".  


This template scans the text of the first parameter of '''PubDatePlace''' for any four-digit year, and converts it into a link to  "category:YYYY publication". The page is simultaneously included in that category. Therefore, works that have a publication date are categorized accordingly.
This template scans the text of the first parameter of '''PubDatePlace''' for any four-digit year, and converts it into a link to  "Category:YYYY publications". The page is simultaneously included in that category. Therefore, works that have a publication date are categorized accordingly.


The template accepts three parameters:
The template accepts three parameters:
# A four digit date or substitute, such  as "0850" or "ca. 1550"
# A four digit date or substitute, such  as "0850" or "ca. 1550"
# Details about the publication, such as name of publisher and place of publication
# Details about the publication, such as name of publisher and place of publication
# A substitute for the page name, used when several volumes or editions are shown on the same publication page
# (Not used)


'''Syntax:'''
'''Syntax:'''
:{{tl|PubDatePlace|<text (scanned)>|<text (displayed as-is)>|<substitute for page name>}}
:{{tl|PubDatePlace|<text (scanned)>|<text (displayed as-is)>| }}


}}
}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 21:13, 26 November 2018

Documentation

This template is for use on Music publication pages; for Work pages, use the Template "Published".

This template scans the text of the first parameter of PubDatePlace for any four-digit year, and converts it into a link to "Category:YYYY publications". The page is simultaneously included in that category. Therefore, works that have a publication date are categorized accordingly.

The template accepts three parameters:

  1. A four digit date or substitute, such as "0850" or "ca. 1550"
  2. Details about the publication, such as name of publisher and place of publication
  3. (Not used)

Syntax:

{{PubDatePlace|<text (scanned)>|<text (displayed as-is)>}}