Difference between revisions of "Template:FHL"

From FamilySearch Wiki
Jump to: navigation, search
(Add title parameter (acts just like item))
(amend search string for titleno | item | title-id)
(30 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 =
  -->{{#ifeq: {{{2}}} | book | <!--
+
[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}}}}}}]
      -->[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}}}] | <!--
+
| filmno | film_number | film =
      -->{{#ifeq: {{{2}}} | 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}}}}}}]
        -->[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}}}] | <!--
+
| titleno | item | title-id =
        -->{{#ifeq: {{{2}}} | item | <!--
+
[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}}}]
            -->[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] | <!--
+
| subject-id | subject-num | subject_id =
            -->{{#ifeq: {{{2}}} | item | <!--
+
[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}}}}}}]
              -->[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] | <!--
+
| place =
              INVALID or UNSPECIFIED TYPE-->{{#if: {{#pos:{{{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|}}}''}}}]  
                  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}}}] | <!--
+
| author-id | authorno | author_id | author-num =
                  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}}}] <!--
+
[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 =
              -->}} <!--
+
[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 =
        -->}} <!--
+
[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 =
--> | <!--
+
[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}}}]  
  -->{{#ifeq: {{{2}}} | book | <!--
+
| #default = <!--  
      -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&amp;columns=*%2C0%2C0&amp;callno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] | <!--
+
INVALID or UNSPECIFIED TYPE-->{{#if: {{#pos:{{{1}}}| }} | <!--  
      -->{{#ifeq: {{{2}}} | film | <!--
+
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}}}}}}] | <!--  
        -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=filmhitlist&columns=*,0,0&filmno={{#replace:{{{1}}}| |+}} 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}}}}}}]
        -->{{#ifeq: {{{2}}} | item | <!--
+
}}  
            -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titledetails&titleno={{#replace:{{{1}}}| |+}} FHL Collection] | <!--
+
}}<!--  
            -->{{#ifeq: {{{2}}} | title | <!--
+
--> | <span style="color:#FF0000;">INVALID/MISSING FHL number</span> }}</includeonly><noinclude>  
              -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titledetails&titleno={{#replace:{{{1}}}| |+}} FHL Collection] | <!--
+
{{documentation}}  
              INVALID or UNSPECIFIED TYPE-->{{#if: {{#pos:{{{1}}}| }} | <!--
+
<!--PLEASE ADD CATEGORIES & INTERWIKIS TO /doc PAGE, THANKS-->  
                  Book contain a space-->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&amp;columns=*%2C0%2C0&amp;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}}}] <!--
+
-- -------------------------------------------------  
                  -->}} <!--
+
--NOTES:  
              -->}} <!--
+
--  
            -->}} <!--
+
--HISTORY:  
        -->}} <!--
+
-- 09Aug09 Create.  
      -->}} <!--
+
--  
-->}} <!--
+
-- [These comment lines are omitted before Internet transfer.]  
  --> | <span style="color:#FF0000;">INVALID/MISSING FHL number</span> }}</includeonly><noinclude>
+
--  
{{documentation}}
+
--End Template:FHL-->  
<!--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 19:51, 27 September 2012

[view] [edit] [history] [purge] Documentation icon Template documentation