Template:FHL: Difference between revisions

(Ooops finish IF)
m (1 revision imported: Puebla, Mexico )
 
(68 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{#if: {{{1|}}} | <!--
<includeonly>{{#if: {{{1|}}} | {{#switch: {{{2}}}  
  -->{{#ifeq: {{{2}}} | book | <!--
| callno | call_number | book =
      -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&amp;columns=*%2C0%2C0&amp;callno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] | <!--
[https://www.familysearch.org/search/catalog/results#count=20&query=%2Bcall_number%3A%22{{#replace:{{{1}}}| |+}}*%22 {{{disp|FHL {{{1}}}}}}]
      -->{{#ifeq: {{{2}}} | film | <!--
| filmno | film_number | film =
        -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=filmhitlist&columns=*,0,0&filmno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] | <!--
[https://www.familysearch.org/search/catalog/results#count=20&query=%2Bfilm_number%3A{{#replace:{{{1}}}| |+}} {{{disp|FHL {{{1}}}}}}]  
        -->{{#ifeq: {{{2}}} | item | <!--
| titleno | item | title-id =
            -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titledetails&titleno={{#replace:{{{1}}}| |+}} FHL Collection] | <!--
[https://www.familysearch.org/search/catalog/{{#replace:{{{1}}}| |}} {{{disp|FHL Collection}}}]
            INVALID or UNSPECIFIED TYPE-->{{#ifeq: {{padleft:|3|Here is my string}} | 9 | <!--
| subject-id | subject-num | subject_id =
              Book starts with a 9-->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&amp;columns=*%2C0%2C0&amp;callno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] | <!--
[https://www.familysearch.org/search/catalog/results#count=20&query=%2Bsubject_id%3A{{#replace:{{{1}}}| |+}} {{{disp|FHL Subject#{{{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}}}] <!--
| place =
              -->}} <!--
[https://www.familysearch.org/search/catalog/results#count=20&query=%2Bplace%3A%22{{#replace:{{{1}}}| |+}}%22 {{{disp|FHL Place ''{{{1|}}}''}}}]
            -->}} <!--
| author-id | authorno | author_id | author-num =
        -->}} <!--
[https://www.familysearch.org/search/catalog/results#count=20&query=%2Bauthor_id%3A{{#replace:{{{1}}}| |+}} {{{disp|FHL Author#{{{1}}}}}}]
      -->}} | <!--
| keyword | keywords =
  --><span style="color:#FF0000;">INVALID/MISSING FHL number</span> }}<noinclude>
[https://www.familysearch.org/search/catalog/results#count=20&query=%2Bkeywords%3A{{#replace:{{{1}}}| |%20%2Bkeywords%3A}} {{{disp|FHL Keyword ''{{{1|}}}''}}}]  
{{documentation}}
| title =
<!--PLEASE ADD CATEGORIES & INTERWIKIS TO /doc PAGE, THANKS-->
[https://www.familysearch.org/search/catalog/results#count=20&query=%2Btitle%3A{{#replace:{{{1}}}| |%20%2Btitle%3A}} {{{disp|FHL Title}}}]
<!--
| subject =
-- -------------------------------------------------
[https://www.familysearch.org/search/catalog/results#count=20&query=%2Bsubject%3A{{#replace:{{{1}}}| |%20%2Bsubject%3A}} {{{disp|FHL Subject}}}]
--NOTES:
| corporate =
--
[https://www.familysearch.org/search/catalog/results#count=20&query=%2Bauthor_surname_text%3A%22{{#replace:{{{1|}}}| |%20}}%22 {{{disp|FHL Corporate Name {{{1|}}}}}}]  
--HISTORY:
| #default = <!--  
-- 09Aug09 Create.
INVALID or UNSPECIFIED TYPE-->{{#if: {{#pos:{{{1}}}| }} | <!--  
--
Book contain a space-->[https://www.familysearch.org/search/catalog/results#count=20&query=%2Bcall_number%3A%22{{#replace:{{{1}}}| |+}}*%22 {{{disp|FHL {{{1}}}}}}] | <!--  
-- [These comment lines are omitted before Internet transfer.]
Otherwise it is a film-->[https://www.familysearch.org/search/catalog/results#count=20&query=%2Bfilm_number%3A{{#replace:{{{1}}}| |+}} {{{disp|FHL {{{1}}}}}}]
--
}}  
--End Template:FHL-->
}}<!--  
--> | <span style="color:#FF0000;">INVALID/MISSING FS Library 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>

Latest revision as of 13:35, 30 December 2022

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