Difference between revisions of "Template:GR Can't find"
(Still trying) |
m (modified to allow for additional links.) |
||
Line 7: | Line 7: | ||
{{GR print link|Search link=[[GuidedResearch:Why Can't I Find the Record - {{{Location|}}} {{{Vital type|}}}s#Improve searching|Improve searching]]|}}<nowiki/> | {{GR print link|Search link=[[GuidedResearch:Why Can't I Find the Record - {{{Location|}}} {{{Vital type|}}}s#Improve searching|Improve searching]]|}}<nowiki/> | ||
{{GR print link|Search link=[[GuidedResearch:Why Can't I Find the Record - {{{Location|}}} {{{Vital type|}}}s#Why the record may not exist|Why the record may not exist]]}} | {{GR print link|Search link=[[GuidedResearch:Why Can't I Find the Record - {{{Location|}}} {{{Vital type|}}}s#Why the record may not exist|Why the record may not exist]]}} | ||
− | |}} <!-- end if Vital type --> | + | |}}<!-- end if Vital type --> |
− | + | }}<!-- end if Location --> | |
− | {{#vardefine: i | 1}}{{#while: | + | {{#vardefine: i | 1}}{{#while:|{{{Search link {{#var: i}} |}}}|<nowiki/> |
− | + | {{GR print link|Search link={{{Search link {{#var:i}}|}}}|}}<nowiki/> | |
− | + | {{#vardefine:i|{{#expr: {{#var: i }} + 1 }}}}<nowiki/> | |
− | + | }}<nowiki/> <!-- end while loop --> | |
− | {{GR print link | ||
− | |Search link={{{Search link {{#var:i}}|}}}|}} | ||
− | {{#vardefine: i | ||
− | |||
− | |||
− | }} <!-- end while loop | ||
− | |||
<noinclude> | <noinclude> | ||
:'''Code example 1''': | :'''Code example 1''': |
Revision as of 15:58, 15 December 2020
What else you can try:[edit source]
- Code example 1:
If you wish to use your own links in this section, use the following: {{GR Can't find| Number of search links=1| Search link 1=| Search link 2=| Search link 3=| <!-- make sure not to include Location and Vital Type when sending separate links. . . . }}
- Code example 2:
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| }}
Template:GR Can't find - creates the section 'What else can you can try' on the GuidedResearch pages. If generic links are to be used for the 4 different links ('Additional Online Resources', 'Substitute records', 'Improve searching', 'Why the record may not exist'), then simply pass in the parameters 'Location' and 'Vital type'. Otherwise, pass in the detailed links to be used in 'Search link #'.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Location | Location | The location of the GuidedResearch page. ONLY send this parameter if you are not sending specific links.
| String | optional |
Vital type | Vital type | The Vital type that these links will exist in (Birth, Marriage or Death)
| String | optional |
Search link 1 | Search link 1 | If not using the generic links for this section, you need to send specific links. It's important NOT to send the Location parameter when sending specific links.
| String | optional |
Search link 2, Search link 3, etc. | Search link 'n' | As many links as needed in the 'What else you can try' section
| String | optional |
[[Category:Guided Research Templates]