Template:FSbook/doc: Difference between revisions

(create page)
 
(Undo revision 3730787 by Batsondl (talk))
Tag: Undo
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation subpage}}  
{{Documentation subpage}}  


This is the {{tl|FSbook}} template. This template is used for formatting the text and links for '''FamilySearch Books Online''' generally used in source citations. Only one parameter is used and required, the book's ID number.  
This is the {{tl|FSbook}} template. This template is used for formatting the text and links for '''FamilySearch Books Online''' (aka "Family History Books) generally used in source citations. Only one parameter is required, the book's ID number.  


When you search "Family History Books" at [https://books.familysearch.org/primo_library/libweb/action/search.do?vid=FHD_PUBLIC] for a title, you will find the book's ID number in URL. Enter this number in the template as the first parameter.  
When you search "Family History Books" at [https://books.familysearch.org/primo_library/libweb/action/search.do?vid=FHD_PUBLIC https://books.familysearch.org/primo_library/libweb/action/search.do?vid=FHD_PUBLIC] for a title, you will find the book's ID number in the URL. Enter this number in the template as the first parameter.  


::''For example, the Wikitext: '' <nowiki>{{FSbook|78886}}</nowiki>  
::''For example, the Wikitext: '' '''<nowiki>{{FSbook|78886}}</nowiki>'''


::::will appear as {{FSbook|78886}} on a saved Wiki page.
::::''will appear as'' {{FSbook|78886}} ''on a saved Wiki page, and link to the online edition.''
 
'''Optional display parameter.''' If you care to change what displays to readers, use the '''|disp=''' following the ID number. Whatever you type after the equals mark will be the phrase the reader sees as the link.
 
::''the Wikitext: '' '''<nowiki>{{FSbook|78886|disp=xyz}}</nowiki>'''
::::''will appear as'' {{FSbook|78886|disp=xyz}} ''on a saved Wiki page, and be linked to the online edition by that phrase.''

Latest revision as of 12:43, 16 October 2019

This is the {{FSbook}} template. This template is used for formatting the text and links for FamilySearch Books Online (aka "Family History Books) generally used in source citations. Only one parameter is required, the book's ID number.

When you search "Family History Books" at https://books.familysearch.org/primo_library/libweb/action/search.do?vid=FHD_PUBLIC for a title, you will find the book's ID number in the URL. Enter this number in the template as the first parameter.

For example, the Wikitext: {{FSbook|78886}}
will appear as FamilySearch Digital Library on a saved Wiki page, and link to the online edition.

Optional display parameter. If you care to change what displays to readers, use the |disp= following the ID number. Whatever you type after the equals mark will be the phrase the reader sees as the link.

the Wikitext: {{FSbook|78886|disp=xyz}}
will appear as xyz on a saved Wiki page, and be linked to the online edition by that phrase.