Template:PubDatePlace: Difference between revisions
Jump to navigation
Jump to search
Documentation
m (Text replacement - "Category:Templates]]" to "Category:DPL templates]] Category:Templates") |
No edit summary |
||
Line 18: | Line 18: | ||
*<tt><nowiki>{{PubDatePlace|ca. 1450||Manuscript}}</nowiki></tt> – '''Publication date and place:''' ca. 1450 – Manuscript | *<tt><nowiki>{{PubDatePlace|ca. 1450||Manuscript}}</nowiki></tt> – '''Publication date and place:''' ca. 1450 – Manuscript | ||
This template sets a variable, "mse", to yes or no, depending on whether the third parameter is "Manuscript"; the variable is used by Template:MultiPubList later on the same page. | |||
}} | }} | ||
[[Category:DPL templates]] | [[Category:DPL templates]] | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 03:00, 3 July 2020
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:
- 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
- Manuscript (if appropriate), Edition, Volume, Revision
Please always include all three parameters; if the third parameter is not used, put in its place nonetheless.
Syntax:
- {{PubDatePlace|<text (scanned)>|<text (displayed as-is)>|<text (displayed as-is)>}}
Examples:
- {{PubDatePlace|1564|by Le Roy and Ballard in Paris|Volume 1}} – Publication date and place: 1564 by Le Roy and Ballard in Paris – Volume 1
- {{PubDatePlace|ca. 1450||Manuscript}} – Publication date and place: ca. 1450 – Manuscript
This template sets a variable, "mse", to yes or no, depending on whether the third parameter is "Manuscript"; the variable is used by Template:MultiPubList later on the same page.