Template:FHL

From FamilySearch Wiki

(Difference between revisions)
(Do some serious cleanup)
(add new parameter ''corporate'')
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}} |
+
<includeonly>{{#if: {{{1|}}} | {{#switch: {{{2}}}  
{{#ifeq: {{{test|}}} | new |
+
| callno | call_number | book =  
  {{#switch: {{{2}}}
+
[https://www.familysearch.org/s/search/index/library_catalog#searchType=catalog&filtered=true&collectionId=&fed=false&page=1&catSearchType=call_number&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= {{{disp|FHL {{{1}}}}}}]  
      | book | callno | call_number =
+
| filmno | film_number | film =  
        [http://fsbeta.familysearch.org/s/search/index/catalog-search#searchType=catalog&filtered=true&collectionId=&fed=false&page=1&catSearchType=call_number&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= FHL {{{1}}}]
+
[https://www.familysearch.org/s/search/index/library_catalog#searchType=catalog&filtered=true&fed=false&collectionId=&catSearchType=film_number&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= {{{disp|FHL {{{1}}}}}}]  
      | film | filmno | film_number =
+
| titleno | item | title-id =  
        [http://fsbeta.familysearch.org/s/search/index/catalog-search#searchType=catalog&filtered=true&fed=false&collectionId=&catSearchType=film_number&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= FHL {{{1}}}]
+
[https://www.familysearch.org/search/catalog/show?uri=http%3A%2F%2Fcatalog-search-api%3A8080%2Fwww-catalogapi-webservice%2Fitem%2F{{#replace:{{{1}}}| |+}} {{{disp|FHL Collection}}}]  
      | item | titleno | title-id =
+
| subject-id | subject-num | subject_id =  
        [http://fsbeta.familysearch.org/s/catalog/show?uri=http%3A%2F%2Fcatalog-search-api%3A8080%2Fwww-catalogapi-webservice%2Fitem%2F{{#replace:{{{1}}}| |+}}&hash=rh2%252B403z7n4WII67nHOFMh25nvE%253D FHL Collection]
+
[https://www.familysearch.org/s/search/index/catalog-search#searchType=catalog&filtered=true&collectionId=&fed=false&page=1&catSearchType=subject_id&searchCriteria={{#replace:{{{1}}}| |+}}&placeName=&author_givenName=&author_surname= {{{disp|FHL Subject#{{{1}}}}}}]  
      | subject-num | subject_id =
+
| place =  
        [http://beta.familysearch.org/s/search/index/catalog-search#searchType=catalog&filtered=true&collectionId=&fed=false&page=1&catSearchType=subject_id&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= FHL Subject#{{{1}}}]
+
[https://www.familysearch.org/search/search/library_catalog#searchType=place&filtered=true&collectionId=&fed=false&page=1&catSearchType=place&searchCriteria=&placeName={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= {{{disp|FHL Place ''{{{1|}}}''}}}]  
      | authorno | author-num | author_id =
+
| author-id | authorno | author_id | author-num =  
        [http://beta.familysearch.org/s/search/index/catalog-search#searchType=catalog&filtered=true&collectionId=&fed=false&page=1&catSearchType=author_id&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= FHL Author#{{{1}}}]
+
[https://www.familysearch.org/s/search/index/library_catalog#searchType=catalog&filtered=true&collectionId=&fed=false&page=1&catSearchType=author_id&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= {{{disp|FHL Author#{{{1}}}}}}]
      | keyword | keywords =
+
| keyword | keywords =
        [http://beta.familysearch.org/s/search/index/catalog-search#searchType=catalog&filtered=true&fed=false&collectionId=&catSearchType=keywords&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= FHL Keyword]
+
[https://www.familysearch.org/s/search/index/library_catalog#searchType=catalog&filtered=true&fed=false&collectionId=&catSearchType=keywords&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= {{{disp|FHL Keyword}}}]  
      | title =
+
| title =
        [http://beta.familysearch.org/s/search/index/catalog-search#searchType=catalog&filtered=true&fed=false&collectionId=&catSearchType=title&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= FHL Title]
+
[https://www.familysearch.org/s/search/index/library_catalog#searchType=catalog&filtered=true&fed=false&collectionId=&catSearchType=title&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= {{{disp|FHL Title}}}]  
      | subject =
+
| subject =  
        [http://beta.familysearch.org/s/search/index/catalog-search#searchType=catalog&filtered=true&collectionId=&fed=false&page=1&catSearchType=subject&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= FHL Subject]
+
[https://www.familysearch.org/s/search/index/library_catalog#searchType=catalog&filtered=true&collectionId=&fed=false&page=1&catSearchType=subject&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= {{{disp|FHL Subject}}}]  
      | #default =
+
| corporate =  
        <!- INVALID or UNSPECIFIED TYPE-->{{#if: {{#pos:{{{1}}}| }} | <!--
+
[https://www.familysearch.org/search/catalog/results#query=%2Bauthor_surname_text%3A%22{{#replace:{{{1|}}}| |%20}}%22 {{{disp|FHL Corporate Name {{{1|}}}}}}]  
            Book contain a space-->[http://fsbeta.familysearch.org/s/search/index/catalog-search#searchType=catalog&filtered=true&collectionId=&fed=false&page=1&catSearchType=call_number&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= FHL {{{1}}}] | <!--
+
| #default = <!--
            Otherwise it is a film-->[http://fsbeta.familysearch.org/s/search/index/catalog-search#searchType=catalog&filtered=true&fed=false&collectionId=&catSearchType=film_number&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= FHL {{{1}}}]
+
INVALID or UNSPECIFIED TYPE-->{{#if: {{#pos:{{{1}}}| }} | <!--  
        }}
+
Book contain a space-->[https://www.familysearch.org/s/search/index/library_catalog#searchType=catalog&filtered=true&collectionId=&fed=false&page=1&catSearchType=call_number&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= {{{disp|FHL {{{1}}}}}}] | <!--  
  }}
+
Otherwise it is a film-->[https://www.familysearch.org/s/search/index/library_catalog#searchType=catalog&filtered=true&fed=false&collectionId=&catSearchType=film_number&searchCriteria={{#replace:{{{1}}}| |+}}&author_givenName=&author_surname= {{{disp|FHL {{{1}}}}}}]
|
+
}}  
  {{#switch: {{{2}}}
+
}}<!--
      | book | callno | call_number =
+
--> | <span style="color:#FF0000;">INVALID/MISSING FHL number</span> }}</includeonly><noinclude>  
        [http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&columns=*,0,0&callno={{#replace:{{{1}}}| |+}} FHL {{{1}}}]
+
{{documentation}}  
      | film | filmno | film_number =
+
<!--PLEASE ADD CATEGORIES & INTERWIKIS TO /doc PAGE, THANKS-->  
        [http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=filmhitlist&columns=*,0,0&filmno={{#replace:{{{1}}}| |+}} FHL {{{1}}}]
+
<!--  
      | item | titleno | title-id =
+
-- -------------------------------------------------  
        [http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titledetails&titleno={{#replace:{{{1}}}| |+}}&disp=TITLE+SEARCH&columns=*,0,0 FHL Collection]
+
--NOTES:  
      | subject-num | subject_id =
+
--  
        [http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=topicdetails&subject={{#replace:{{{1}}}| |+}}&subject_disp=SUBJECT+SEARCH&columns=*,0,0 FHL Subject#{{{1}}}]
+
--HISTORY:  
      | authorno | author-num | author_id =
+
-- 09Aug09 Create.  
        [http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=authordetails&authorno={{#replace:{{{1}}}| |+}}&name=AUTHOR+SEARCH&columns=*,0,0  FHL Author#{{{1}}}]
+
--  
      | keyword | keywords =
+
-- [These comment lines are omitted before Internet transfer.]  
        [http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&columns=*,0,0&keyword={{#replace:{{{1}}}| |+}}&prekeyword={{#replace:{{{1}}}| |+}} FHL Keyword]
+
--  
      | title =
+
--End Template:FHL-->  
        [http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&columns=*,0,0&title={{#replace:{{{1}}}| |+}}&pretitle={{#replace:{{{1}}}| |+}} FHL Title]
+
      | subject =
+
        [http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=subjecthitlist&columns=*,0,0&subject={{#replace:{{{1}}}| |+}}&presubject={{#replace:{{{1}}}| |+}} FHL Subject]
+
      | #default =
+
        <!- INVALID or UNSPECIFIED TYPE-->{{#if: {{#pos:{{{1}}}| }} | <!--
+
            Book contain a space-->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&columns=*,0,0&callno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] | <!--
+
            Otherwise it is a film-->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=filmhitlist&columns=*,0,0&filmno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] <!--
+
        }}
+
  }}
+
}}
+
| <span style="color:#FF0000;">INVALID/MISSING FHL number</span> }}</includeonly><noinclude>
+
{{documentation}}
+
<!--PLEASE ADD CATEGORIES & INTERWIKIS TO /doc PAGE, THANKS-->
+
<!--
+
-- -------------------------------------------------
+
--NOTES:
+
--
+
--HISTORY:
+
-- 09Aug09 Create.
+
--
+
-- [These comment lines are omitted before Internet transfer.]
+
--
+
--End Template:FHL-->
+
 
</noinclude>
 
</noinclude>

Revision as of 22:50, 13 March 2013

[[{{fullurl:Template:FHL/doc| action=edit&preload=Template:Documentation/preload }} create]] Documentation icon Template documentation