Template:PubDatePlace: Difference between revisions
Jump to navigation
Jump to search
Documentation
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>'''Publication date and place:''' {{#multireplace:  {{{1|}}}  | /(\d\d\d\d)/i={{Cat|$1 publications|$1}} }}{{{2|}}}</includeonly><noinclude><!-- | <includeonly>'''Publication date and place:''' {{#multireplace:  {{{1|}}}  | /(\d\d\d\d)/i={{Cat|$1 publications|$1}} }}{{{2|}}} {{{3|}}}</includeonly><noinclude><!-- | ||
-->{{Doc|1= | -->{{Doc|1= | ||
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". | ||
Line 11: | Line 11: | ||
'''Syntax:''' | '''Syntax:''' | ||
:{{tl|PubDatePlace|<text (scanned)>|<text (displayed as-is)>| }} | :{{tl|PubDatePlace|<text (scanned)>|<text (displayed as-is)>|<text (displayed as-is)>}} | ||
}} | }} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 21:28, 30 December 2018
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
Syntax:
- {{PubDatePlace|<text (scanned)>|<text (displayed as-is)>|<text (displayed as-is)>}}