Difference between revisions of "Template:FHL"

From FamilySearch Wiki
Jump to: navigation, search
(Change color for when error)
(Change color of error, add ID, and change some format)
Line 1: Line 1:
{{#if: {{{1|}}} | {{#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}}}] | [http://www.familysearch.org/eng/library/fhlcatalog/supermainframeset.asp?display=filmhitlist&columns=*,0,0&filmno={{#replace:{{{1}}}| |+}} FHL {{{1}}}] }} }} | <span style="color:#000000; background:#FF0000">INVALID/MISSING FHL number</span> }}<noinclude>
+
{{#if: {{{1|}}} | <!--
 +
  -->{{#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 {{{1}}}] | <!--
 +
            INVALID TYPE HERE-->[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 02:58, 22 July 2010

INVALID/MISSING FHL number

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