Template:GR Can't find: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 4: Line 4:
|<p style="font-size:15px">'''Why Can't I Find the Record?'''</p>
|<p style="font-size:15px">'''Why Can't I Find the Record?'''</p>
|}}<nowiki></nowiki>
|}}<nowiki></nowiki>
{{#if: {{{Location|}}}|  <!-- if you want 4 generic links, send Location and Vital type -->
  {{#if: {{{Vital type|}}}|
{{GR print link|
Number of search links=4| 
Search link 1=[[GuidedResearch:Why Can't I Find the Record - {{{Location|}}} {{{Vital type|}}}s #Additional Records|Additional records]]|
Search link 2=[[GuidedResearch:Why Can't I Find the Record - {{{Location|}}} {{{Vital type|}}}s#Substitute Records|Substitute records]]|
Search link 3=[[GuidedResearch:Why Can't I Find the Record - {{{Location|}}} {{{Vital type|}}}s#Improve searching|Improve searching]]|
Search link 4=[[GuidedResearch:Why Can't I Find the Record - {{{Location|}}} {{{Vital type|}}}s#Why the record may not exist|Why the record may not exist]]|
}}<nowiki></nowiki>
|}} <!-- end if Vital type -->
| <!-- else, location not defined and links are passed to this templates -->
{{GR print link|
{{GR print link|
Number of search links={{{Number of search links|}}}|
Number of search links={{{Number of search links|}}}|
Line 12: Line 23:
Search link 5={{{Search link 5|}}}|
Search link 5={{{Search link 5|}}}|
}}<nowiki></nowiki>
}}<nowiki></nowiki>
|}}<nowiki></nowiki>
<noinclude>
<noinclude>
:'''Code example''':  
:'''Code example 1''':  
 
  <nowiki>
  <nowiki>
If you wish to use your own links in this section, use the following:
{{GR Can't find|
{{GR Can't find|
   Number of search links=1|  
   Number of search links=1|  
Line 20: Line 35:
   Search link 2=|  
   Search link 2=|  
   Search link 3=| <-- Currently handles up to 5 Search links (need extension:variable to change)-->
   Search link 3=| <-- Currently handles up to 5 Search links (need extension:variable to change)-->
  }}</nowiki></noinclude>
  }}</nowiki>
:'''Code example 2''':
<nowiki>
If you wish to use the predefined links in this section, only pass Location and Vital type:
 
{{GR Can't find|
  Location=Ohio|
  Vital type=Birth|
}}</nowiki></noinclude>
2,664

edits