Difference between revisions of "Template:FHL"

From FamilySearch Wiki
Jump to: navigation, search
(Do some serious cleanup)
(Ooops, undo error)
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}} |
+
<includeonly>{{#if: {{{1|}}} | <!--
{{#ifeq: {{{test|}}} | new |
+
-->{{#ifeq: {{{test|}}} | new | <!--
   {{#switch: {{{2}}}
+
   -->{{#ifeq: {{{2}}} | book | <!--
      | book | callno | call_number =
+
      -->[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}}}] | <!--
        [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}}}]
+
       -->{{#ifeq: {{{2}}} | film | <!--
       | film | filmno | film_number =
+
         -->[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}}}] | <!--
         [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}}}]
+
        -->{{#ifeq: {{{2}}} | item | <!--
      | item | titleno | title-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] | <!--
        [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]
+
            -->{{#ifeq: {{{2}}} | title-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] | <!--
        [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}}}]
+
              -->{{#ifeq: {{{2}}} | subject-num | <!--
      | authorno | author-num | author_id =
+
                  -->[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}}}] | <!--
        [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}}}]
+
                  -->{{#ifeq: {{{2}}} | author-num | <!--
      | keyword | keywords =
+
                    -->[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}}}] | <!--
        [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]
+
                    -->{{#ifeq: {{{2}}} | keyword | <!--
      | title =
+
                        -->[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] | <!--
        [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]
+
                        -->{{#ifeq: {{{2}}} | title | <!--
      | subject =
+
                          -->[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] | <!--
        [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]
+
                          -->{{#ifeq: {{{2}}} | subject | <!--
      | #default =
+
                              -->[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] | <!--
        <!- INVALID or UNSPECIFIED TYPE-->{{#if: {{#pos:{{{1}}}| }} | <!--
+
                              INVALID or UNSPECIFIED TYPE-->{{#if: {{#pos:{{{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}}}] | <!--
+
                                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}}}] | <!--
            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}}}]
+
                                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}}}] <!--
         }}
+
                                -->}} <!--
  }}
+
                              -->}} <!--
|
+
                          -->}} <!--
   {{#switch: {{{2}}}
+
                        -->}} <!--
      | book | callno | call_number =
+
                    -->}} <!--
        [http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&columns=*,0,0&callno={{#replace:{{{1}}}| |+}} FHL {{{1}}}]
+
                  -->}} <!--
       | film | filmno | film_number =
+
              -->}} <!--
         [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]
+
      -->}} <!--
      | 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}}}]
+
   -->{{#ifeq: {{{2}}} | book | <!--
      | authorno | author-num | author_id =
+
      -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&columns=*,0,0&callno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] | <!--
        [http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=authordetails&authorno={{#replace:{{{1}}}| |+}}&name=AUTHOR+SEARCH&columns=*,0,0  FHL Author#{{{1}}}]
+
       -->{{#ifeq: {{{2}}} | film | <!--
      | keyword | keywords =
+
         -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=filmhitlist&columns=*,0,0&filmno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] | <!--
        [http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&columns=*,0,0&keyword={{#replace:{{{1}}}| |+}}&prekeyword={{#replace:{{{1}}}| |+}} FHL Keyword]
+
        -->{{#ifeq: {{{2}}} | item | <!--
      | title =
+
            -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titledetails&titleno={{#replace:{{{1}}}| |+}}&disp=TITLE+SEARCH&columns=*,0,0 FHL Collection] | <!--
        [http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&columns=*,0,0&title={{#replace:{{{1}}}| |+}}&pretitle={{#replace:{{{1}}}| |+}} FHL Title]
+
            -->{{#ifeq: {{{2}}} | title-id | <!--
      | subject =
+
              -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titledetails&titleno={{#replace:{{{1}}}| |+}}&disp=TITLE+SEARCH&columns=*,0,0 FHL Collection] | <!--
        [http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=subjecthitlist&columns=*,0,0&subject={{#replace:{{{1}}}| |+}}&presubject={{#replace:{{{1}}}| |+}} FHL Subject]
+
              -->{{#ifeq: {{{2}}} | subject-num | <!--
      | #default =
+
                  -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=topicdetails&subject={{#replace:{{{1}}}| |+}}&subject_disp=SUBJECT+SEARCH&columns=*,0,0 FHL Subject#{{{1}}}] | <!--
        <!- INVALID or UNSPECIFIED TYPE-->{{#if: {{#pos:{{{1}}}| }} | <!--
+
                  -->{{#ifeq: {{{2}}} | author-num | <!--
            Book contain a space-->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&columns=*,0,0&callno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] | <!--
+
                    -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=authordetails&authorno={{#replace:{{{1}}}| |+}}&name=AUTHOR+SEARCH&columns=*,0,0  FHL Author#{{{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}}}] <!--
+
                    -->{{#ifeq: {{{2}}} | keyword | <!--
         }}
+
                        -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&columns=*,0,0&keyword={{#replace:{{{1}}}| |+}}&prekeyword={{#replace:{{{1}}}| |+}} FHL Keyword] | <!--
  }}
+
                        -->{{#ifeq: {{{2}}} | title | <!--
}}
+
                          -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&columns=*,0,0&title={{#replace:{{{1}}}| |+}}&pretitle={{#replace:{{{1}}}| |+}} FHL Title] | <!--
| <span style="color:#FF0000;">INVALID/MISSING FHL number</span> }}</includeonly><noinclude>
+
                          -->{{#ifeq: {{{2}}} | subject | <!--
 +
                              -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=subjecthitlist&columns=*,0,0&subject={{#replace:{{{1}}}| |+}}&presubject={{#replace:{{{1}}}| |+}} FHL Subject] | <!--
 +
                              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}}
 
{{documentation}}
 
<!--PLEASE ADD CATEGORIES & INTERWIKIS TO /doc PAGE, THANKS-->
 
<!--PLEASE ADD CATEGORIES & INTERWIKIS TO /doc PAGE, THANKS-->

Revision as of 04:11, 3 October 2010

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