Difference between revisions of "Template:FHL"

From FamilySearch Wiki
Jump to: navigation, search
(Finish working on new case)
(Start new cases)
Line 1: Line 1:
 
{{#if: {{{1|}}} | <!--
 
{{#if: {{{1|}}} | <!--
 +
-->{{#ifeq: {{{test|}}} | new | <!--
 
   -->{{#ifeq: {{{2}}} | book | <!--
 
   -->{{#ifeq: {{{2}}} | book | <!--
 
       -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&amp;columns=*%2C0%2C0&amp;callno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] | <!--
 
       -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&amp;columns=*%2C0%2C0&amp;callno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] | <!--
Line 12: Line 13:
 
             -->}} <!--
 
             -->}} <!--
 
         -->}} <!--
 
         -->}} <!--
       -->}} | <!--
+
       -->}} <!--
   --><span style="color:#FF0000;">INVALID/MISSING FHL number</span> }}<noinclude>
+
--> | <!--
 +
  -->{{#ifeq: {{{2}}} | book | <!--
 +
      -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titlehitlist&amp;columns=*%2C0%2C0&amp;callno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] | <!--
 +
      -->{{#ifeq: {{{2}}} | film | <!--
 +
        -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=filmhitlist&columns=*,0,0&filmno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] | <!--
 +
        -->{{#ifeq: {{{2}}} | item | <!--
 +
            -->[http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=titledetails&titleno={{#replace:{{{1}}}| |+}} FHL Collection] | <!--
 +
            INVALID or UNSPECIFIED TYPE-->{{#ifeq: {{padleft:|1|{{{1}}}}} | 9 | <!--
 +
              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}}}] | <!--
 +
              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> }}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!--PLEASE ADD CATEGORIES & INTERWIKIS TO /doc PAGE, THANKS-->
 
<!--PLEASE ADD CATEGORIES & INTERWIKIS TO /doc PAGE, THANKS-->

Revision as of 05:50, 3 August 2010

INVALID/MISSING FHL number

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